C# Class AspNet.StarterKits.Classifieds.BusinessLogicLayer.CategoriesDB

Inheritance: IDisposable
Afficher le fichier Open project: mono/gert Class Usage Examples

Méthodes publiques

Méthode Description
CategoriesDB ( ) : System
Dispose ( ) : void
GetCategoriesByParentId ( int parentCategroyId ) : CategoriesDataComponent.CategoriesDataTable
GetCategoryById ( int id ) : CategoriesDataComponent.CategoriesDataTable
GetParentCategoriesById ( int categoryId ) : CategoriesDataComponent.CategoriesDataTable
InsertCategory ( int parentCategoryId, string name ) : int

InsertCategory

MoveCategory ( int categoryId, int newParentCategoryId ) : bool
RemoveCategory ( int categoryId ) : bool
UpdateCategoryName ( int categoryId, string newName ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Method Details

CategoriesDB() public méthode

public CategoriesDB ( ) : System
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetCategoriesByParentId() public méthode

public GetCategoriesByParentId ( int parentCategroyId ) : CategoriesDataComponent.CategoriesDataTable
parentCategroyId int
Résultat CategoriesDataComponent.CategoriesDataTable

GetCategoryById() public static méthode

public static GetCategoryById ( int id ) : CategoriesDataComponent.CategoriesDataTable
id int
Résultat CategoriesDataComponent.CategoriesDataTable

GetParentCategoriesById() public static méthode

public static GetParentCategoriesById ( int categoryId ) : CategoriesDataComponent.CategoriesDataTable
categoryId int
Résultat CategoriesDataComponent.CategoriesDataTable

InsertCategory() public static méthode

InsertCategory
public static InsertCategory ( int parentCategoryId, string name ) : int
parentCategoryId int
name string
Résultat int

MoveCategory() public static méthode

public static MoveCategory ( int categoryId, int newParentCategoryId ) : bool
categoryId int
newParentCategoryId int
Résultat bool

RemoveCategory() public static méthode

public static RemoveCategory ( int categoryId ) : bool
categoryId int
Résultat bool

UpdateCategoryName() public static méthode

public static UpdateCategoryName ( int categoryId, string newName ) : void
categoryId int
newName string
Résultat void