예제 #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);
 }
예제 #2
0
 private static FeatureExceptionEntryRow DbFeatureExceptionEntryRowCreator(IFieldDataReader r)
 {
     return(new FeatureExceptionEntryRow(r.GetInt32(0), r.GetDateTime(1), r.GetInt32(2)));
 }
예제 #3
0
 private static FeatureExceptionRow DbFeatureExceptionRowCreator(IFieldDataReader r)
 {
     return(new FeatureExceptionRow(r.GetInt32(0), r.GetString(1)));
 }
예제 #4
0
파일: Query.cs 프로젝트: ppetrov/Cchbc
 public static int GetInt(IFieldDataReader r, int index, int defaultValue = 0)
 {
     return(r.IsDbNull(index) ? defaultValue : r.GetInt32(index));
 }
예제 #5
0
 private static DbFeatureRow DbFeatureRowCreator(IFieldDataReader r)
 {
     return new DbFeatureRow(r.GetInt32(0), r.GetString(1), r.GetInt32(2));
 }
예제 #6
0
 private static DbFeatureExceptionEntryRow DbFeatureExceptionEntryRowCreator(IFieldDataReader r)
 {
     return new DbFeatureExceptionEntryRow(r.GetInt32(0), r.GetDateTime(1), r.GetInt32(2));
 }
예제 #7
0
 private static DbFeatureContextRow DbContextCreator(IFieldDataReader r)
 {
     return new DbFeatureContextRow(r.GetInt32(0), r.GetString(1));
 }