C# Class Shaml.Data.NHibernate.SessionFactoryAttribute

Inheritance: System.Attribute
Mostra file Open project: sztupy/shaml

Public Properties

Property Type Description
FactoryKey string

Public Methods

Method Description
GetKeyFrom ( object anObject ) : string

Global method to retrieve the factory key from an object, as defined in its SessionFactoryAttribute, if available. Defaults to the DefaultFactoryKey if not found.

SessionFactoryAttribute ( string factoryKey ) : System

Method Details

GetKeyFrom() public static method

Global method to retrieve the factory key from an object, as defined in its SessionFactoryAttribute, if available. Defaults to the DefaultFactoryKey if not found.
public static GetKeyFrom ( object anObject ) : string
anObject object
return string

SessionFactoryAttribute() public method

public SessionFactoryAttribute ( string factoryKey ) : System
factoryKey string
return System

Property Details

FactoryKey public_oe property

public string FactoryKey
return string