C# 클래스 Castle.ActiveRecord.Config.XmlActiveRecordConfiguration

Source of configuration based on Xml source like files, streams or readers.
상속: DefaultActiveRecordConfiguration
파일 보기 프로젝트 열기: shosca/ActiveRecord 1 사용 예제들

공개 메소드들

메소드 설명
XmlActiveRecordConfiguration ( Stream stream ) : System

Initializes a new instance of the XmlActiveRecordConfiguration class.

XmlActiveRecordConfiguration ( String xmlFileName ) : System

Initializes a new instance of the XmlActiveRecordConfiguration class.

XmlActiveRecordConfiguration ( TextReader reader ) : System

Initializes a new instance of the XmlActiveRecordConfiguration class.

보호된 메소드들

메소드 설명
BuildProperties ( SessionFactoryConfig config, XmlNode node ) : void

Builds the configuration properties.

GetFlushType ( string configurationValue ) : DefaultFlushType
PopulateSource ( XmlNode section ) : void

Populate this instance with values from the given XML node

SetDefaults ( SessionFactoryConfig config, string name, string connectionStringName ) : void

Sets the default configuration for database specifiend by name.

SetUpNamingStrategyType ( String customType ) : void

Sets the type of the naming strategy.

SetUpSessionFactoryHolderType ( String customType ) : void

Sets the type of the session factory holder.

SetUpThreadInfoType ( string customType ) : void

Sets the type of the thread info.

XmlActiveRecordConfiguration ( ) : System

Initializes a new instance of the XmlActiveRecordConfiguration class.

비공개 메소드들

메소드 설명
ConvertBool ( XmlNode boolAttrib ) : bool
PopulateConfigNodes ( XmlNode section ) : void

메소드 상세

BuildProperties() 보호된 메소드

Builds the configuration properties.
protected BuildProperties ( SessionFactoryConfig config, XmlNode node ) : void
config SessionFactoryConfig
node System.Xml.XmlNode
리턴 void

GetFlushType() 보호된 메소드

protected GetFlushType ( string configurationValue ) : DefaultFlushType
configurationValue string
리턴 DefaultFlushType

PopulateSource() 보호된 메소드

Populate this instance with values from the given XML node
protected PopulateSource ( XmlNode section ) : void
section System.Xml.XmlNode
리턴 void

SetDefaults() 보호된 메소드

Sets the default configuration for database specifiend by name.
protected SetDefaults ( SessionFactoryConfig config, string name, string connectionStringName ) : void
config SessionFactoryConfig
name string Name of the database type.
connectionStringName string name of the connection string specified in connectionStrings configuration section
리턴 void

SetUpNamingStrategyType() 보호된 메소드

Sets the type of the naming strategy.
protected SetUpNamingStrategyType ( String customType ) : void
customType String Custom implementation type name.
리턴 void

SetUpSessionFactoryHolderType() 보호된 메소드

Sets the type of the session factory holder.
protected SetUpSessionFactoryHolderType ( String customType ) : void
customType String Custom implementation
리턴 void

SetUpThreadInfoType() 보호된 메소드

Sets the type of the thread info.
protected SetUpThreadInfoType ( string customType ) : void
customType string The type of the custom implementation.
리턴 void

XmlActiveRecordConfiguration() 보호된 메소드

Initializes a new instance of the XmlActiveRecordConfiguration class.
protected XmlActiveRecordConfiguration ( ) : System
리턴 System

XmlActiveRecordConfiguration() 공개 메소드

Initializes a new instance of the XmlActiveRecordConfiguration class.
public XmlActiveRecordConfiguration ( Stream stream ) : System
stream Stream The stream.
리턴 System

XmlActiveRecordConfiguration() 공개 메소드

Initializes a new instance of the XmlActiveRecordConfiguration class.
public XmlActiveRecordConfiguration ( String xmlFileName ) : System
xmlFileName String Name of the XML file.
리턴 System

XmlActiveRecordConfiguration() 공개 메소드

Initializes a new instance of the XmlActiveRecordConfiguration class.
public XmlActiveRecordConfiguration ( TextReader reader ) : System
reader TextReader The reader.
리턴 System