public Query UpdateQuery(IRepositoryLocator locator, Query updatedQuery) { var parameters = ExtractParameters(updatedQuery); updatedQuery.AssociateParameters(parameters); return locator.Update(updatedQuery); }
public void Update(IRepositoryLocator locator, CustomerDto operation) { UpdateValidate(locator, operation); FirstName = operation.FirstName; LastName = operation.LastName; Telephone = operation.Telephone; locator.Update(this); }
public virtual void Update(IRepositoryLocator locator, CustomerDto operation) { ValidateOperation(locator, operation); CheckForDuplicates(locator, operation); FirstName = operation.FirstName; LastName = operation.LastName; Telephone = operation.Telephone; locator.Update(this); }
public virtual void Update(IRepositoryLocator locator, AddressDto operation) { UpdateValidate(locator, operation); Street = operation.Street; City = operation.City; PostCode = operation.PostCode; Country = operation.Country; locator.Update(this); }