markrendle/Simple.Data — Issue #110: Simple.Data.Pad 0.7.2
Author: zhanghuansss
Created: 2011-11-01 10:23:59+00:00
State: open

dbo.Users.Find(dbo.Users.ID % 2 == 0 || (dbo.Users.Name == '2' && dbo.Users.ID == 1))

Simple.Data.Ado:
Text
select [dbo].[Users].* from [dbo].[Users] where ([dbo].[Users].[ID] * 20 = @p1 OR ([dbo].[Users].[Name] = @p2 AND [dbo].[Users].[ID] = @p3))
@p1 (AnsiString) = 0
@p2 (String) = 2
@p3 (Int32) = 1