示例#1
0
        protected override void Setup(ProcedureConfiguration <ResourceSummary> configuration)
        {
            configuration.ProcedureName = "InsertResourceSummaryDetails";
            var SpReturn = configuration.CanReturnCollectionOf <ResourceSummary>();

            SpReturn.Maps(v => v.EmployerDistrict).HasParameterName("EmployerDisctrict");
            SpReturn.Maps(v => v.MobileNo).HasParameterName("ModileNo");
        }
示例#2
0
 protected override void Setup(ProcedureConfiguration <SPSelectAdjustmentsParams> configuration)
 {
     configuration.ConnectionString = "Data Source=.;Initial Catalog=Steven_Singer_db;Integrated Security=True;";
     configuration.ProcedureName    = "SPSelectAdjustments";
     configuration.CanReturnCollectionOf <Steven_Singer_ADJUSTMENTS>().Maps(v => v.SKU_NO).Email();
 }