// update all object members on a row in table based on primary key, on a transaction // the transaction and or connection state is not changed in any way other than what SqlClient does to it. // it is the callers responsibility to commit or rollback the transaction // links: // docLink: http://sql2x.org/documentationLink/b798ad6b-f4b8-466a-9086-6588a814fcf3 public void Update(CrudeClientLinkContract contract, SqlConnection connection, SqlTransaction transaction) { var data = new CrudeClientLinkData(); ContractToData(contract, data); data.Update(connection, transaction); }
// update all object members on a row in table based on primary key // links: // docLink: http://sql2x.org/documentationLink/ce75e72e-fb16-4f4e-a2e6-dbd079dfa206 public void Update(CrudeClientLinkContract contract) { var data = new CrudeClientLinkData(); ContractToData(contract, data); data.Update(); }