// 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: // defaultPerformanceTimeRollupId: primary key of table default_performance_time_rollup public CrudeDefaultPerformanceTimeRollupContract FetchByDefaultPerformanceTimeRollupId(System.Guid defaultPerformanceTimeRollupId) { var dataAccessLayer = new CrudeDefaultPerformanceTimeRollupData(); var contract = new CrudeDefaultPerformanceTimeRollupContract(); dataAccessLayer.FetchByDefaultPerformanceTimeRollupId(defaultPerformanceTimeRollupId); 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: // CrudeDefaultPerformanceTimeRollupData: primary key of table CrudeDefaultPerformanceTimeRollupData public CrudeDefaultPerformanceTimeRollupModel FetchByDefaultPerformanceTimeRollupId(System.Guid defaultPerformanceTimeRollupId) { var dataAccessLayer = new CrudeDefaultPerformanceTimeRollupData(); var model = new CrudeDefaultPerformanceTimeRollupModel(); dataAccessLayer.FetchByDefaultPerformanceTimeRollupId(defaultPerformanceTimeRollupId); DataToModel(dataAccessLayer, model); return(model); }