public static IEnumerable <RowVersionClass> GetNewerThan(PersistenceManager pm, ulong version) { byte[] versionBytes = BitConverter.GetBytes(version).Reverse().ToArray(); return(pm.Objects <RowVersionClass>().Where( u => u.rowVersion.GreaterThan(versionBytes) && u.rowVersion.LowerThan(SqlServerFunctions.MinActiveRowversion()) ).ResultTable); }
public static int LastInsertId(this SqlServerFunctions s) => 0;
public static decimal Max(this SqlServerFunctions s, decimal expr) => 0m;
public static double Max(this SqlServerFunctions s, double expr) => 0d;
public static float Max(this SqlServerFunctions s, float expr) => 0f;
public static long Max(this SqlServerFunctions s, long expr) => 0;
public static int Max(this SqlServerFunctions s, int expr) => 0;
public static int Count(this SqlServerFunctions s) => 0;
public static byte Max(this SqlServerFunctions s, byte expr) => 0;
public static bool HasFlag <TProperty>(this SqlServerFunctions s, TProperty value, TProperty flag) where TProperty : Enum => false;
public static bool IsIn <TProperty>(this SqlServerFunctions s, TProperty value, IProjectionQuery <TProperty> valuesQuery) => false;
public static bool IsIn <TProperty>(this SqlServerFunctions s, TProperty value, IEnumerable <TProperty> collection) => false;
public static bool IsLike(this SqlServerFunctions s, string str, string pattern) => false;
public static int Count(this SqlServerFunctions s, object expression) => 0;
public static bool ValueIsGreaterThanOne(this SqlServerFunctions s, SqlServerFunctionTests.Flat_Entity entity) { // don't implement return(false); }
public static short Max(this SqlServerFunctions s, short expr) => 0;
public static int Random(this SqlServerFunctions s) => 0;