📄 castle.activerecord.xml
字号:
</member>
<member name="M:Castle.ActiveRecord.ISessionScope.RegisterSession(System.Object,NHibernate.ISession)">
<summary>
This method is invoked when no session was available
at and the <see cref="T:Castle.ActiveRecord.Framework.ISessionFactoryHolder"/>
just created one. So it registers the session created
within this scope using a key. The scope implementation
shouldn't make any assumption on what the key
actually is as we reserve the right to change it
<seealso cref="M:Castle.ActiveRecord.ISessionScope.IsKeyKnown(System.Object)"/>
</summary>
<param name="key">an object instance</param>
<param name="session">An instance of <c>ISession</c></param>
</member>
<member name="M:Castle.ActiveRecord.ISessionScope.IsKeyKnown(System.Object)">
<summary>
This method is invoked when the
<see cref="T:Castle.ActiveRecord.Framework.ISessionFactoryHolder"/>
instance needs a session instance. Instead of creating one it interrogates
the active scope for one. The scope implementation must check if it
has a session registered for the given key.
<seealso cref="M:Castle.ActiveRecord.ISessionScope.RegisterSession(System.Object,NHibernate.ISession)"/>
</summary>
<param name="key">an object instance</param>
<returns><c>true</c> if the key exists within this scope instance</returns>
</member>
<member name="M:Castle.ActiveRecord.ISessionScope.GetSession(System.Object)">
<summary>
This method should return the session instance associated with the key.
</summary>
<param name="key">an object instance</param>
<returns>the session instance or null if none was found</returns>
</member>
<member name="T:Castle.ActiveRecord.Framework.Scopes.AbstractThreadScopeInfo">
<summary>
Base <see cref="T:Castle.ActiveRecord.Framework.IThreadScopeInfo"/> implementation. It's up
to derived classes to provide a correct implementation
of <c>CurrentStack</c> only
</summary>
</member>
<member name="T:Castle.ActiveRecord.Framework.Scopes.DifferentDatabaseScope">
<summary>
Still very experimental and it's not bullet proof
for all situations
</summary>
</member>
<member name="M:Castle.ActiveRecord.Framework.Scopes.DifferentDatabaseScope.PerformDisposal(System.Collections.ICollection)">
<summary>
</summary>
<param name="sessions"></param>
</member>
<member name="T:Castle.ActiveRecord.SessionScope">
<summary>
Implementation of <see cref="T:Castle.ActiveRecord.ISessionScope"/> to
augment performance by caching the session, thus
avoiding too much opens/flushes/closes.
</summary>
</member>
<member name="T:Castle.ActiveRecord.Framework.Scopes.ThreadScopeAccessor">
<summary>
Class to allow scopes to reach the implementation
of <see cref="T:Castle.ActiveRecord.Framework.IThreadScopeInfo"/>. Also implements
the <see cref="T:Castle.ActiveRecord.Framework.IThreadScopeInfo"/> delegating the calls to
the scope set.
</summary>
</member>
<member name="T:Castle.ActiveRecord.TransactionMode">
<summary>
Defines the transaction scope behavior
</summary>
</member>
<member name="F:Castle.ActiveRecord.TransactionMode.Inherits">
<summary>
Inherits a transaction previously create on
the current context.
</summary>
</member>
<member name="F:Castle.ActiveRecord.TransactionMode.New">
<summary>
Always create an isolated transaction context.
</summary>
</member>
<member name="T:Castle.ActiveRecord.TransactionScope">
<summary>
Implementation of <see cref="T:Castle.ActiveRecord.ISessionScope"/> to
provide transaction semantics
</summary>
</member>
<member name="T:Castle.ActiveRecord.Framework.Validators.AbstractValidator">
<summary>
Abstract <see cref="T:Castle.ActiveRecord.Framework.IValidator"/> implementation
</summary>
</member>
<member name="T:Castle.ActiveRecord.Framework.IValidator">
<summary>
Define the basic contract for validators
</summary>
</member>
<member name="M:Castle.ActiveRecord.Framework.IValidator.Initialize(System.Reflection.PropertyInfo)">
<summary>
Implementors should perform any initialization logic
</summary>
<param name="property">The target property</param>
</member>
<member name="M:Castle.ActiveRecord.Framework.IValidator.Perform(System.Object)">
<summary>
Implementors should perform the actual validation upon
the property value
</summary>
<param name="instance"></param>
<returns><c>true</c> if the field is OK</returns>
</member>
<member name="M:Castle.ActiveRecord.Framework.IValidator.Perform(System.Object,System.Object)">
<summary>
Implementors should perform the actual validation upon
the property value
</summary>
<param name="instance"></param>
<param name="fieldValue"></param>
<returns><c>true</c> if the field is OK</returns>
</member>
<member name="P:Castle.ActiveRecord.Framework.IValidator.Property">
<summary>
The target property
</summary>
</member>
<member name="P:Castle.ActiveRecord.Framework.IValidator.ErrorMessage">
<summary>
The error message to be displayed if the validation fails
</summary>
</member>
<member name="M:Castle.ActiveRecord.Framework.Validators.AbstractValidator.Initialize(System.Reflection.PropertyInfo)">
<summary>
Implementors should perform any initialization logic
</summary>
<param name="property">The target property</param>
</member>
<member name="M:Castle.ActiveRecord.Framework.Validators.AbstractValidator.Perform(System.Object)">
<summary>
Implementors should perform the actual validation upon
the property value
</summary>
<param name="instance"></param>
<returns><c>true</c> if the field is OK</returns>
</member>
<member name="M:Castle.ActiveRecord.Framework.Validators.AbstractValidator.Perform(System.Object,System.Object)">
<summary>
Implementors should perform the actual validation upon
the property value
</summary>
<param name="instance"></param>
<param name="fieldValue"></param>
<returns><c>true</c> if the field is OK</returns>
</member>
<member name="P:Castle.ActiveRecord.Framework.Validators.AbstractValidator.Property">
<summary>
The target property
</summary>
</member>
<member name="P:Castle.ActiveRecord.Framework.Validators.AbstractValidator.ErrorMessage">
<summary>
The error message to be displayed if the validation fails
</summary>
</member>
<member name="T:Castle.ActiveRecord.Framework.Validators.EmailValidator">
<summary>
</summary>
</member>
<member name="F:Castle.ActiveRecord.Framework.Validators.EmailValidator.emailRule">
<summary>
From http://www.codeproject.com/aspnet/Valid_Email_Addresses.asp
</summary>
</member>
<member name="T:Castle.ActiveRecord.Framework.Validators.NullCheckValidator">
<summary>
Ensures that a property was
filled with some value
</summary>
</member>
<member name="T:Castle.ActiveRecord.NHibernateDelegate">
<summary>
Allow custom executions using the NHibernate's ISession.
</summary>
</member>
<member name="T:Castle.ActiveRecord.ActiveRecordBase">
<summary>
Base class for all ActiveRecord classes. Implements
all the functionality to simplify the code on the
subclasses.
</summary>
</member>
<member name="M:Castle.ActiveRecord.ActiveRecordHooksBase.BeforeSave(System.Collections.IDictionary)">
<summary>
Hook to change the object state
before saving it.
</summary>
<param name="state"></param>
<returns>Return <c>true</c> if you have changed the state. <c>false</c> otherwise</returns>
</member>
<member name="M:Castle.ActiveRecord.ActiveRecordHooksBase.BeforeLoad(System.Collections.IDictionary)">
<summary>
Hook to transform the read data
from the database before populating
the object instance
</summary>
<param name="adapter"></param>
<returns>Return <c>true</c> if you have changed the state. <c>false</c> otherwise</returns>
</member>
<member name="M:Castle.ActiveRecord.ActiveRecordHooksBase.BeforeDelete(System.Collections.IDictionary)">
<summary>
Hook to perform additional tasks
before removing the object instance representation
from the database.
</summary>
<param name="adapter"></param>
</member>
<member name="M:Castle.ActiveRecord.ActiveRecordBase.#ctor">
<summary>
Constructs an ActiveRecordBase subclass.
</summary>
</member>
<member name="M:Castle.ActiveRecord.ActiveRecordBase.Register(System.Type,Castle.ActiveRecord.Framework.Internal.ActiveRecordModel)">
<summary>
Internally used
</summary>
<param name="arType"></param>
<param name="model"></param>
</member>
<member name="M:Castle.ActiveRecord.ActiveRecordBase.GetModel(System.Type)">
<summary>
Internally used
</summary>
<param name="arType"></param>
<returns></returns>
</member>
<member name="M:Castle.ActiveRecord.ActiveRecordBase.Execute(System.Type,Castle.ActiveRecord.NHibernateDelegate,System.Object)">
<summary>
Invokes the specified delegate passing a valid
NHibernate session. Used for custom NHibernate queries.
</summary>
<param name="targetType">The target ActiveRecordType</param>
<param name="call">The delegate instance</param>
<param name="instance">The ActiveRecord instance</param>
<returns>Whatever is returned by the delegate invocation</returns>
</member>
<member name="M:Castle.ActiveRecord.ActiveRecordBase.FindByPrimaryKey(System.Type,System.Object,System.Boolean)">
<summary>
Finds an object instance by a unique ID
</summary>
<param name="targetType">The AR subclass type</param>
<param name="id">ID value</param>
<param name="throwOnNotFound"><c>true</c> if you want to catch an exception
if the object is not found</param>
<returns></returns>
<exception cref="T:NHibernate.ObjectNotFoundException">if <c>throwOnNotFound</c> is set to
<c>true</c> and the row is not found</exception>
</member>
<member name="M:Castle.ActiveRecord.ActiveRecordBase.FindByPrimaryKey(System.Type,System.Object)">
<summary>
Finds an object instance by a unique ID
</summary>
<param name="targetType">The AR subclass type</param>
<param name="id">ID value</param>
<returns></returns>
</member>
<member name="M:Castle.ActiveRecord.ActiveRecordBase.FindAll(System.Type)">
<summary>
Returns all instances found for the specified type.
</summary>
<param name="targetType"></param>
<returns></returns>
</member>
<member name="M:Castle.ActiveRecord.ActiveRecordBase.SlicedFindAll(System.Type,System.Int32,System.Int32,NHibernate.Expression.Order[],NHibernate.Expression.ICriterion[])">
<summary>
Returns a portion of the query results (sliced)
</summary>
</member>
<member name="M:Castle.ActiveRecord.ActiveRecordBase.SlicedFindAll(System.Type,System.Int32,System.Int32,NHibernate.Expression.ICriterion[])">
<summary>
Returns a portion of the query results (sliced)
</summary>
</member>
<member name="M:Castle.ActiveRecord.ActiveRecordBase.FindAll(System.Type,NHibernate.Expression.Order[],NHibernate.Expression.ICriterion[])">
<summary>
Returns all instances found for the specified type
using sort orders and criterias.
</summary>
<param name="targetType"></param>
<param name="orders"></param>
<param name="criterias"></param>
<returns></returns>
</member>
<member name="M:Castle.ActiveRecord.ActiveRecordBase.FindAll(System.Type,NHibernate.Expression.ICriterion[])">
<summary>
Returns all instances found for the specified type
using criterias.
</summary>
<param name="targetType"></param>
<param name="criterias"></param>
<returns></returns>
</member>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -