C# 클래스 AspNet.StarterKits.Classifieds.BusinessLogicLayer.CategoriesDB

상속: IDisposable
파일 보기 프로젝트 열기: mono/gert 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

CategoriesDB() 공개 메소드

public CategoriesDB ( ) : System
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetCategoriesByParentId() 공개 메소드

public GetCategoriesByParentId ( int parentCategroyId ) : CategoriesDataComponent.CategoriesDataTable
parentCategroyId int
리턴 CategoriesDataComponent.CategoriesDataTable

GetCategoryById() 공개 정적인 메소드

public static GetCategoryById ( int id ) : CategoriesDataComponent.CategoriesDataTable
id int
리턴 CategoriesDataComponent.CategoriesDataTable

GetParentCategoriesById() 공개 정적인 메소드

public static GetParentCategoriesById ( int categoryId ) : CategoriesDataComponent.CategoriesDataTable
categoryId int
리턴 CategoriesDataComponent.CategoriesDataTable

InsertCategory() 공개 정적인 메소드

InsertCategory
public static InsertCategory ( int parentCategoryId, string name ) : int
parentCategoryId int
name string
리턴 int

MoveCategory() 공개 정적인 메소드

public static MoveCategory ( int categoryId, int newParentCategoryId ) : bool
categoryId int
newParentCategoryId int
리턴 bool

RemoveCategory() 공개 정적인 메소드

public static RemoveCategory ( int categoryId ) : bool
categoryId int
리턴 bool

UpdateCategoryName() 공개 정적인 메소드

public static UpdateCategoryName ( int categoryId, string newName ) : void
categoryId int
newName string
리턴 void