public void SubmitChanges(Collection <YellowstonePathology.YpiConnect.Contract.Flow.FlowLeukemia> collection, YellowstonePathology.Business.Domain.Persistence.PropertyReaderFilterEnum propertyReaderFilterEnum) { YellowstonePathology.Business.Domain.Persistence.SqlXmlPropertyReader xmlPropertyReader = new Business.Domain.Persistence.SqlXmlPropertyReader(); if (propertyReaderFilterEnum == Business.Domain.Persistence.PropertyReaderFilterEnum.External) { YellowstonePathology.YpiConnect.Service.FlowLeukemiaExternalPropertyReaderFilter filter = new FlowLeukemiaExternalPropertyReaderFilter(); xmlPropertyReader.SetFilter(filter); } YellowstonePathology.Business.Domain.Persistence.SqlXmlPersistence.CrudOperations.SubmitChanges(collection, Business.Domain.Persistence.DataLocationEnum.ProductionData, xmlPropertyReader); }
public void SubmitChanges(Collection<YellowstonePathology.YpiConnect.Contract.Flow.FlowLeukemia> collection, YellowstonePathology.Business.Domain.Persistence.PropertyReaderFilterEnum propertyReaderFilterEnum) { YellowstonePathology.Business.Domain.Persistence.SqlXmlPropertyReader xmlPropertyReader = new Business.Domain.Persistence.SqlXmlPropertyReader(); if (propertyReaderFilterEnum == Business.Domain.Persistence.PropertyReaderFilterEnum.External) { YellowstonePathology.YpiConnect.Service.FlowLeukemiaExternalPropertyReaderFilter filter = new FlowLeukemiaExternalPropertyReaderFilter(); xmlPropertyReader.SetFilter(filter); } YellowstonePathology.Business.Domain.Persistence.SqlXmlPersistence.CrudOperations.SubmitChanges(collection, Business.Domain.Persistence.DataLocationEnum.ProductionData, xmlPropertyReader); }