private static void ReadConstraintProperties(Constraint constraint, IDataRecord row, int isDeferrableIndex, int isInitiallyDeferredIndex) { constraint.IsDeferrable = ReadStringOrNull(row, isDeferrableIndex) == "YES"; constraint.IsInitiallyDeferred = ReadStringOrNull(row, isInitiallyDeferredIndex) == "YES"; }
private static void ReadConstraintProperties(Constraint constraint, IDataRecord row, int isDeferrableIndex, int isInitiallyDeferredIndex) { constraint.IsDeferrable = row.GetString(isDeferrableIndex) == "DEFERRABLE"; constraint.IsInitiallyDeferred = row.GetString(isInitiallyDeferredIndex) == "DEFERRED"; }