Пример #1
0
 private static void ReadConstraintProperties(Constraint constraint,
                                              IDataRecord row, int isDeferrableIndex, int isInitiallyDeferredIndex)
 {
     constraint.IsDeferrable        = ReadStringOrNull(row, isDeferrableIndex) == "YES";
     constraint.IsInitiallyDeferred = ReadStringOrNull(row, isInitiallyDeferredIndex) == "YES";
 }
Пример #2
0
 private static void ReadConstraintProperties(Constraint constraint,
                                              IDataRecord row, int isDeferrableIndex, int isInitiallyDeferredIndex)
 {
     constraint.IsDeferrable        = row.GetString(isDeferrableIndex) == "DEFERRABLE";
     constraint.IsInitiallyDeferred = row.GetString(isInitiallyDeferredIndex) == "DEFERRED";
 }