C# 클래스 Engage.Dnn.Locator.LocationType

파일 보기 프로젝트 열기: EngageSoftware/Engage-Locator

공개 메소드들

메소드 설명
AddAttributeDefinition ( AttributeDefinition definition ) : int

Adds a Property Defintion to the Data Store

ClearCache ( int locationTypeId ) : void

Clears the LocationType Definitions Cache

DeleteAttributeDefinition ( AttributeDefinition definition ) : void

Deletes a Property Defintion from the Data Store

GetAttributeDefinition ( int definitionId, int locationTypeId ) : AttributeDefinition

Gets a Property Defintion from the Data Store by id

GetAttributeDefinitionByName ( int locationTypeId, string name ) : AttributeDefinition

Gets a Property Defintion from the Data Store by name

GetAttributeDefinitions ( int locationTypeId ) : List
GetAttributeDefinitionsById ( int portalId ) : AttributeDefinitionCollection
GetAttributeDefinitionsById ( int locationTypeId, bool clone ) : AttributeDefinitionCollection

Gets a collection of Property Defintions from the Data Store by portal

GetLocationTypeInUse ( string location ) : bool
GetLocationTypeName ( int id ) : string
GetLocationTypes ( ) : DataTable
UpdateAttributeDefinition ( AttributeDefinition definition ) : void

비공개 메소드들

메소드 설명
FillAttributeDefinitionInfo ( IDataReader dr ) : AttributeDefinition
FillAttributeDefinitionInfo ( IDataReader dr, bool checkForOpenDataReader ) : AttributeDefinition
FillAttributeDefinitionInfoCollection ( IDataReader dr ) : List
FillCollection ( IDataReader dr ) : AttributeDefinitionCollection

메소드 상세

AddAttributeDefinition() 공개 정적인 메소드

Adds a Property Defintion to the Data Store
public static AddAttributeDefinition ( AttributeDefinition definition ) : int
definition AttributeDefinition An LocationTypeAttributeDefinition object
리턴 int

ClearCache() 공개 정적인 메소드

Clears the LocationType Definitions Cache
public static ClearCache ( int locationTypeId ) : void
locationTypeId int
리턴 void

DeleteAttributeDefinition() 공개 정적인 메소드

Deletes a Property Defintion from the Data Store
public static DeleteAttributeDefinition ( AttributeDefinition definition ) : void
definition AttributeDefinition The LocationTypeAttributeDefinition object to delete
리턴 void

GetAttributeDefinition() 공개 정적인 메소드

Gets a Property Defintion from the Data Store by id
public static GetAttributeDefinition ( int definitionId, int locationTypeId ) : AttributeDefinition
definitionId int The id of the LocationTypeAttributeDefinition object to retrieve
locationTypeId int
리턴 AttributeDefinition

GetAttributeDefinitionByName() 공개 정적인 메소드

Gets a Property Defintion from the Data Store by name
public static GetAttributeDefinitionByName ( int locationTypeId, string name ) : AttributeDefinition
locationTypeId int
name string The name of the LocationTypeAttributeDefinition object to retrieve
리턴 AttributeDefinition

GetAttributeDefinitions() 공개 정적인 메소드

public static GetAttributeDefinitions ( int locationTypeId ) : List
locationTypeId int
리턴 List

GetAttributeDefinitionsById() 공개 정적인 메소드

public static GetAttributeDefinitionsById ( int portalId ) : AttributeDefinitionCollection
portalId int
리턴 AttributeDefinitionCollection

GetAttributeDefinitionsById() 공개 정적인 메소드

Gets a collection of Property Defintions from the Data Store by portal
public static GetAttributeDefinitionsById ( int locationTypeId, bool clone ) : AttributeDefinitionCollection
locationTypeId int
clone bool
리턴 AttributeDefinitionCollection

GetLocationTypeInUse() 공개 정적인 메소드

public static GetLocationTypeInUse ( string location ) : bool
location string
리턴 bool

GetLocationTypeName() 공개 정적인 메소드

public static GetLocationTypeName ( int id ) : string
id int
리턴 string

GetLocationTypes() 공개 정적인 메소드

public static GetLocationTypes ( ) : DataTable
리턴 System.Data.DataTable

UpdateAttributeDefinition() 공개 정적인 메소드

public static UpdateAttributeDefinition ( AttributeDefinition definition ) : void
definition AttributeDefinition
리턴 void