public void AddNewValueListGroup(ValueListGroup record) { using (AdoDataConnection connection = new AdoDataConnection("systemSettings")) { new TableOperations <ValueListGroup>(connection).AddNewRecord(record); } }
public void UpdateValueListGroup(ValueListGroup record) { m_dataContext.Table <ValueListGroup>().UpdateRecord(record); }
public void AddNewValueListGroup(ValueListGroup record) { record.CreatedOn = DateTime.UtcNow; m_dataContext.Table <ValueListGroup>().AddNewRecord(record); }
public void AddNewValueListGroup(ValueListGroup record) { DataContext.Table <ValueListGroup>().AddNewRecord(record); }