public void Insert(Guid Guid, Guid ServerPartitionGUID, Guid ServerTransferSyntaxGUID, bool Enabled) { var item = new PartitionTransferSyntax(); item.Guid = Guid; item.ServerPartitionGUID = ServerPartitionGUID; item.ServerTransferSyntaxGUID = ServerTransferSyntaxGUID; item.Enabled = Enabled; item.Save(UserName); }
public void Update(Guid Guid, Guid ServerPartitionGUID, Guid ServerTransferSyntaxGUID, bool Enabled) { var item = new PartitionTransferSyntax(); item.MarkOld(); item.IsLoaded = true; item.Guid = Guid; item.ServerPartitionGUID = ServerPartitionGUID; item.ServerTransferSyntaxGUID = ServerTransferSyntaxGUID; item.Enabled = Enabled; item.Save(UserName); }