C# Класс WebFormsLab.Products

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
Label1 global::System.Web.UI.WebControls.Label
ValidationSummary1 global::System.Web.UI.WebControls.ValidationSummary
categoriesGrid global::System.Web.UI.WebControls.GridView
minProductsCount global::System.Web.UI.WebControls.DropDownList
productsGrid global::System.Web.UI.WebControls.GridView

Открытые методы

Метод Описание
GetCategories ( [ minProductsCount ) : IQueryable
GetProducts ( [ categoryId ) : IEnumerable
UpdateCategory ( int categoryId ) : void

Защищенные методы

Метод Описание
Page_Load ( object sender, EventArgs e ) : void

Описание методов

GetCategories() публичный Метод

public GetCategories ( [ minProductsCount ) : IQueryable
minProductsCount [
Результат IQueryable

GetProducts() публичный Метод

public GetProducts ( [ categoryId ) : IEnumerable
categoryId [
Результат IEnumerable

Page_Load() защищенный Метод

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void

UpdateCategory() публичный Метод

public UpdateCategory ( int categoryId ) : void
categoryId int
Результат void

Описание свойств

Label1 защищенное свойство

Label1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label Label1
Результат global::System.Web.UI.WebControls.Label

ValidationSummary1 защищенное свойство

ValidationSummary1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ValidationSummary ValidationSummary1
Результат global::System.Web.UI.WebControls.ValidationSummary

categoriesGrid защищенное свойство

categoriesGrid control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.GridView categoriesGrid
Результат global::System.Web.UI.WebControls.GridView

minProductsCount защищенное свойство

minProductsCount control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList minProductsCount
Результат global::System.Web.UI.WebControls.DropDownList

productsGrid защищенное свойство

productsGrid control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.GridView productsGrid
Результат global::System.Web.UI.WebControls.GridView