public void AddMember <T>(string name, PostgresQueryCommand <T> query) { Check.IsNotNullOrWhiteSpace(name, nameof(name)); Check.IsNotNull(query, nameof(query)); members.Add(name, query); }
public static DbBool DbValue(this PostgresQueryCommand <bool?> value) { return(new DbBoolWrapper(value)); }
public static DbGuid DbValue(this PostgresQueryCommand <Guid?> value) { return(new DbGuidWrapper(value)); }
public static DbDecimal DbValue(this PostgresQueryCommand <decimal?> value) { return(new DbDecimalWrapper(value)); }
public static DbInt DbValue(this PostgresQueryCommand <int?> value) { return(new DbIntWrapper(value)); }
public static DbString DbValue(this PostgresQueryCommand <string> value) { return(new DbStringWrapper(value)); }
public static DbDateTime DbValue(this PostgresQueryCommand <DateTime?> value) { return(new DbDateTimeWrapper(value)); }
public static DbByteArray DbValue(this PostgresQueryCommand <byte[]> value) { return(new DbByteArrayWrapper(value)); }
public static DbEnum <T> DbValue <T>(this PostgresQueryCommand <T> value) where T : struct, Enum { return(new DbEnumWrapper <T>(value)); }