Example #1
0
 private static ServerFeatureRow DbFeatureRowCreator(IFieldDataReader r)
 {
     StorageFeature.Id        = r.GetInt32(0);
     StorageFeature.Name      = r.GetString(1);
     StorageFeature.ContextId = r.GetInt32(2);
     return(StorageFeature);
 }
Example #2
0
 private static long IdCreator(IFieldDataReader r)
 {
     return(r.GetInt64(0));
 }
Example #3
0
 private static KeyValuePair <long, string> IdNameCreator(IFieldDataReader r)
 {
     return(new KeyValuePair <long, string>(r.GetInt64(0), r.GetString(1)));
 }
Example #4
0
 private static FeatureExceptionEntryRow DbFeatureExceptionEntryRowCreator(IFieldDataReader r)
 {
     return(new FeatureExceptionEntryRow(r.GetInt32(0), r.GetDateTime(1), r.GetInt32(2)));
 }
Example #5
0
 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));
 }
Example #6
0
 private static FeatureEntryRow DbFeatureEntryRowCreator(IFieldDataReader r)
 {
     return(new FeatureEntryRow(r.GetInt64(0), r.GetString(1), r.GetDateTime(2)));
 }
Example #7
0
 private static FeatureExceptionRow DbFeatureExceptionRowCreator(IFieldDataReader r)
 {
     return(new FeatureExceptionRow(r.GetInt32(0), r.GetString(1)));
 }
Example #8
0
 public static string GetString(IFieldDataReader r, int index, string defaultValue = "")
 {
     return(r.IsDbNull(index) ? defaultValue : r.GetString(index));
 }
Example #9
0
 private static FeatureContextRow DbContextCreator(IFieldDataReader r)
 {
     return(new FeatureContextRow(r.GetInt64(0), r.GetString(1)));
 }
Example #10
0
 public static long GetLong(IFieldDataReader r, int index, long defaultValue = 0)
 {
     return(r.IsDbNull(index) ? defaultValue : r.GetInt64(index));
 }
Example #11
0
 public static int GetInt(IFieldDataReader r, int index, int defaultValue = 0)
 {
     return(r.IsDbNull(index) ? defaultValue : r.GetInt32(index));
 }
Example #12
0
 private static DbFeatureRow DbFeatureRowCreator(IFieldDataReader r)
 {
     return new DbFeatureRow(r.GetInt32(0), r.GetString(1), r.GetInt32(2));
 }
Example #13
0
 private static DbFeatureExceptionEntryRow DbFeatureExceptionEntryRowCreator(IFieldDataReader r)
 {
     return new DbFeatureExceptionEntryRow(r.GetInt32(0), r.GetDateTime(1), r.GetInt32(2));
 }
Example #14
0
 private static DbFeatureContextRow DbContextCreator(IFieldDataReader r)
 {
     return new DbFeatureContextRow(r.GetInt32(0), r.GetString(1));
 }