public Spartane.Core.Classes.Spartan_Traduction_Object.Spartan_Traduction_ObjectPagingModel ListaSelAll(int startRowIndex, int maximumRows, string Where, string Order) { var padstartRowIndex = _dataProvider.GetParameter(); padstartRowIndex.ParameterName = "startRowIndex"; padstartRowIndex.DbType = DbType.Int32; padstartRowIndex.Value = startRowIndex; var padmaximumRows = _dataProvider.GetParameter(); padmaximumRows.ParameterName = "maximumRows"; padmaximumRows.DbType = DbType.Int32; padmaximumRows.Value = maximumRows; var padWhere = _dataProvider.GetParameter(); padWhere.ParameterName = "Where"; padWhere.DbType = DbType.String; padWhere.Value = Where; var padOrder = _dataProvider.GetParameter(); padOrder.ParameterName = "Order"; padOrder.DbType = DbType.String; padOrder.Value = Order; var data = _dbContext.ExecuteStoredProcedureList <Spartane.Core.Classes.StoredProcedure.SpListSelAllSpartan_Traduction_Object>("sp_ListSelAll_Spartan_Traduction_Object", padWhere, padOrder, padstartRowIndex, padmaximumRows); Spartan_Traduction_ObjectPagingModel result = null; if (data != null) { result = new Spartan_Traduction_ObjectPagingModel { Spartan_Traduction_Objects = data.Select(m => new Spartane.Core.Classes.Spartan_Traduction_Object.Spartan_Traduction_Object { IdObject = m.Spartan_Traduction_Object_IdObject , Object_Description = m.Spartan_Traduction_Object_Object_Description , Object_Type = m.Spartan_Traduction_Object_Object_Type , Object_Type_Spartan_Traduction_Object_Type = new Core.Classes.Spartan_Traduction_Object_Type.Spartan_Traduction_Object_Type() { IdType = m.Spartan_Traduction_Object_Object_Type.GetValueOrDefault(), Object_Type_Description = m.Spartan_Traduction_Object_Object_Type_Object_Type_Description } //,Id = m.Id }).ToList() }; } return(result); }
public Spartane.Core.Domain.Spartan_Traduction_Object.Spartan_Traduction_ObjectPagingModel ListaSelAll(int startRowIndex, int maximumRows, string Where, string Order) { Spartan_Traduction_ObjectPagingModel result = null; return(result); }