public EntityRecordWithoutChange(EntityBatch associatedEntityBatch, List <string> primaryKeyValues) : base(associatedEntityBatch) { if (primaryKeyValues == null || primaryKeyValues.Count == 0) { throw new Exception("One or more primary key values are required."); } foreach (var primaryKeyValue in primaryKeyValues) { PrimaryKeyValues.Add(primaryKeyValue); } }
public EntityRecord(EntityBatch associatedEntityBatch, List <string> primaryKeyValues, List <string> secondaryKeyValues) { if (associatedEntityBatch == null) { throw new Exception("Associated entity batch can not be null."); } AssociatedEntityBatch = associatedEntityBatch; if (primaryKeyValues != null) { foreach (var primaryKeyValue in primaryKeyValues) { PrimaryKeyValues.Add(primaryKeyValue); } } if (secondaryKeyValues != null) { SecondaryKeyValues = secondaryKeyValues; } }
public RecordToUpdate(EntityBatch associatedEntityBatch, List <string> primaryKeyValues, List <string> secondaryKeyValues) : base(associatedEntityBatch, primaryKeyValues, secondaryKeyValues) { }
public RecordToUpdate(EntityBatch associatedEntityBatch, string primaryKeyValue) : base(associatedEntityBatch, new List <string>() { primaryKeyValue }, null) { }
public RecordToUpdate(EntityBatch associatedEntityBatch) : base(associatedEntityBatch, null, null) { }
public EntityRecord(EntityBatch associatedEntityBatch, List <string> primaryKeyValues) : this(associatedEntityBatch, primaryKeyValues, null) { }
public EntityRecord(EntityBatch associatedEntityBatch, string primaryKeyValue) : this(associatedEntityBatch, new List <string>() { primaryKeyValue }, null) { }
public EntityRecord(EntityBatch associatedEntityBatch) : this(associatedEntityBatch, null, null) { }
public EntityRecordWithDataChange(EntityBatch associatedEntityBatch, List <string> primaryKeyValues, List <string> secondaryKeyValues) : base(associatedEntityBatch, primaryKeyValues, secondaryKeyValues) { }
public EntityRecordWithDataChange(EntityBatch associatedEntityBatch, string primaryKeyValue) : base(associatedEntityBatch, new List <string>() { primaryKeyValue }, null) { }
public EntityRecordWithDataChange(EntityBatch associatedEntityBatch) : base(associatedEntityBatch, null, null) { }
public RecordToDelete(EntityBatch associatedEntityBatch, List <string> primaryKeyValues) : base(associatedEntityBatch, primaryKeyValues, null) { }