private static ServerFeatureRow DbFeatureRowCreator(IFieldDataReader r) { StorageFeature.Id = r.GetInt32(0); StorageFeature.Name = r.GetString(1); StorageFeature.ContextId = r.GetInt32(2); return(StorageFeature); }
private static long IdCreator(IFieldDataReader r) { return(r.GetInt64(0)); }
private static KeyValuePair <long, string> IdNameCreator(IFieldDataReader r) { return(new KeyValuePair <long, string>(r.GetInt64(0), r.GetString(1))); }
private static FeatureExceptionEntryRow DbFeatureExceptionEntryRowCreator(IFieldDataReader r) { return(new FeatureExceptionEntryRow(r.GetInt32(0), r.GetDateTime(1), r.GetInt32(2))); }
private static ExceptionEntryRow FeatureExceptionEntryRowCreator(IFieldDataReader r) { return new ExceptionEntryRow(r.GetInt64(0), r.GetInt64(1), r.GetInt64(2), r.GetInt64(3), r.GetInt64(4), r.GetDateTime(5)); }
private static FeatureEntryRow DbFeatureEntryRowCreator(IFieldDataReader r) { return(new FeatureEntryRow(r.GetInt64(0), r.GetString(1), r.GetDateTime(2))); }
private static FeatureExceptionRow DbFeatureExceptionRowCreator(IFieldDataReader r) { return(new FeatureExceptionRow(r.GetInt32(0), r.GetString(1))); }
public static string GetString(IFieldDataReader r, int index, string defaultValue = "") { return(r.IsDbNull(index) ? defaultValue : r.GetString(index)); }
private static FeatureContextRow DbContextCreator(IFieldDataReader r) { return(new FeatureContextRow(r.GetInt64(0), r.GetString(1))); }
public static long GetLong(IFieldDataReader r, int index, long defaultValue = 0) { return(r.IsDbNull(index) ? defaultValue : r.GetInt64(index)); }
public static int GetInt(IFieldDataReader r, int index, int defaultValue = 0) { return(r.IsDbNull(index) ? defaultValue : r.GetInt32(index)); }
private static DbFeatureRow DbFeatureRowCreator(IFieldDataReader r) { return new DbFeatureRow(r.GetInt32(0), r.GetString(1), r.GetInt32(2)); }
private static DbFeatureExceptionEntryRow DbFeatureExceptionEntryRowCreator(IFieldDataReader r) { return new DbFeatureExceptionEntryRow(r.GetInt32(0), r.GetDateTime(1), r.GetInt32(2)); }
private static DbFeatureContextRow DbContextCreator(IFieldDataReader r) { return new DbFeatureContextRow(r.GetInt32(0), r.GetString(1)); }