C# Class AJH.CMS.Core.Data.FeatureManager

显示文件 Open project: ajhCMS/AJH.CMS.WEB.UI

Public Methods

Method Description
Add ( Feature feature ) : int
AddOtherLanguage ( Feature feature ) : void
AddProductFeature ( int featureId, int productId, int productFeatureValue ) : void
Delete ( int id ) : void
DeleteLogical ( int id ) : void
DeleteProductFeature ( int featureId, int productId ) : void
GetFeature ( int id, int languageID ) : Feature
GetFeatures ( int languageID ) : List
GetFeaturesByProductId ( int productID, int languageID ) : List
Update ( Feature feature ) : void

Method Details

Add() public static method

public static Add ( Feature feature ) : int
feature AJH.CMS.Core.Entities.Feature
return int

AddOtherLanguage() public static method

public static AddOtherLanguage ( Feature feature ) : void
feature AJH.CMS.Core.Entities.Feature
return void

AddProductFeature() public static method

public static AddProductFeature ( int featureId, int productId, int productFeatureValue ) : void
featureId int
productId int
productFeatureValue int
return void

Delete() public static method

public static Delete ( int id ) : void
id int
return void

DeleteLogical() public static method

public static DeleteLogical ( int id ) : void
id int
return void

DeleteProductFeature() public static method

public static DeleteProductFeature ( int featureId, int productId ) : void
featureId int
productId int
return void

GetFeature() public static method

public static GetFeature ( int id, int languageID ) : Feature
id int
languageID int
return AJH.CMS.Core.Entities.Feature

GetFeatures() public static method

public static GetFeatures ( int languageID ) : List
languageID int
return List

GetFeaturesByProductId() public static method

public static GetFeaturesByProductId ( int productID, int languageID ) : List
productID int
languageID int
return List

Update() public static method

public static Update ( Feature feature ) : void
feature AJH.CMS.Core.Entities.Feature
return void