Exemplo n.º 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);
 }
Exemplo n.º 2
0
 private static FeatureExceptionEntryRow DbFeatureExceptionEntryRowCreator(IFieldDataReader r)
 {
     return(new FeatureExceptionEntryRow(r.GetInt32(0), r.GetDateTime(1), r.GetInt32(2)));
 }
Exemplo n.º 3
0
 private static FeatureExceptionRow DbFeatureExceptionRowCreator(IFieldDataReader r)
 {
     return(new FeatureExceptionRow(r.GetInt32(0), r.GetString(1)));
 }
Exemplo n.º 4
0
 public static int GetInt(IFieldDataReader r, int index, int defaultValue = 0)
 {
     return(r.IsDbNull(index) ? defaultValue : r.GetInt32(index));
 }
Exemplo n.º 5
0
 private static DbFeatureRow DbFeatureRowCreator(IFieldDataReader r)
 {
     return new DbFeatureRow(r.GetInt32(0), r.GetString(1), r.GetInt32(2));
 }
Exemplo n.º 6
0
 private static DbFeatureExceptionEntryRow DbFeatureExceptionEntryRowCreator(IFieldDataReader r)
 {
     return new DbFeatureExceptionEntryRow(r.GetInt32(0), r.GetDateTime(1), r.GetInt32(2));
 }
Exemplo n.º 7
0
 private static DbFeatureContextRow DbContextCreator(IFieldDataReader r)
 {
     return new DbFeatureContextRow(r.GetInt32(0), r.GetString(1));
 }