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 FeatureExceptionRow DbFeatureExceptionRowCreator(IFieldDataReader r) { return(new FeatureExceptionRow(r.GetInt32(0), r.GetString(1))); }
private static KeyValuePair <long, string> IdNameCreator(IFieldDataReader r) { return(new KeyValuePair <long, string>(r.GetInt64(0), r.GetString(1))); }
private static FeatureEntryRow DbFeatureEntryRowCreator(IFieldDataReader r) { return(new FeatureEntryRow(r.GetInt64(0), r.GetString(1), r.GetDateTime(2))); }
private static FeatureContextRow DbContextCreator(IFieldDataReader r) { return(new FeatureContextRow(r.GetInt64(0), r.GetString(1))); }
public static string GetString(IFieldDataReader r, int index, string defaultValue = "") { return(r.IsDbNull(index) ? defaultValue : r.GetString(index)); }
private static DbFeatureRow DbFeatureRowCreator(IFieldDataReader r) { return new DbFeatureRow(r.GetInt32(0), r.GetString(1), r.GetInt32(2)); }
private static DbFeatureContextRow DbContextCreator(IFieldDataReader r) { return new DbFeatureContextRow(r.GetInt32(0), r.GetString(1)); }