// fetch by Search key into current object
        // links:
        //  crud definition: https://en.wikipedia.org/wiki/Create,_read,_update_and_delete
        //  docLink: http://sql2x.org/documentationLink/ad2dd952-e3ec-471a-9e34-f5fc965b8b37
        // parameters:
        //  DefaultIssueStatusName: key of table CrudeDefaultIssueStatusRefData
        public CrudeDefaultIssueStatusRefModel FetchByDefaultIssueStatusName(string defaultIssueStatusName)
        {
            var dataAccessLayer = new CrudeDefaultIssueStatusRefData();
            var model           = new CrudeDefaultIssueStatusRefModel();

            dataAccessLayer.FetchByDefaultIssueStatusName(defaultIssueStatusName);
            DataToModel(dataAccessLayer, model);

            return(model);
        }
Ejemplo n.º 2
0
        public CrudeDefaultIssueStatusRefContract FetchByDefaultIssueStatusName(string defaultIssueStatusName)
        {
            var dataAccessLayer = new CrudeDefaultIssueStatusRefData();
            var contract        = new CrudeDefaultIssueStatusRefContract();

            dataAccessLayer.FetchByDefaultIssueStatusName(defaultIssueStatusName);
            DataToContract(dataAccessLayer, contract);

            return(contract);
        }