// fetch by Primary key into current object // links: // crud definition: https://en.wikipedia.org/wiki/Create,_read,_update_and_delete // docLink: http://sql2x.org/documentationLink/bbab4791-c9e7-49bf-90d5-fca19b1fedaa // parameters: // defaultSystemReferenceTableId: primary key of table default_system_reference_table public CrudeDefaultSystemReferenceTableContract FetchByDefaultSystemReferenceTableId(System.Guid defaultSystemReferenceTableId) { var dataAccessLayer = new CrudeDefaultSystemReferenceTableData(); var contract = new CrudeDefaultSystemReferenceTableContract(); dataAccessLayer.FetchByDefaultSystemReferenceTableId(defaultSystemReferenceTableId); DataToContract(dataAccessLayer, contract); return(contract); }
// fetch by Primary key into current object // links: // crud definition: https://en.wikipedia.org/wiki/Create,_read,_update_and_delete // docLink: http://sql2x.org/documentationLink/fdcc33b4-08f1-43c3-ae28-95fbf029c3bd // parameters: // CrudeDefaultSystemReferenceTableData: primary key of table CrudeDefaultSystemReferenceTableData public CrudeDefaultSystemReferenceTableModel FetchByDefaultSystemReferenceTableId(System.Guid defaultSystemReferenceTableId) { var dataAccessLayer = new CrudeDefaultSystemReferenceTableData(); var model = new CrudeDefaultSystemReferenceTableModel(); dataAccessLayer.FetchByDefaultSystemReferenceTableId(defaultSystemReferenceTableId); DataToModel(dataAccessLayer, model); return(model); }