Reference Manual
-
Reference Manual
- Understanding Scopes
- Validators
- Xml Configuration Reference
-
ActiveRecord operations
-
ActiveRecordBase API Document
- Constructors
-
Methods
- Refresh()
- Delete()
- Update()
- Create()
- Save()
- OnLoad(Object id)
- OnDelete()
- OnUpdate()
- OnSave()
- FindDirty(Object id, IDictionary previousState, IDictionary currentState, IType[] types) : Int32[]
- IsUnsaved() : Object
- PostFlush()
- PreFlush()
- BeforeDelete(IDictionary adapter)
- BeforeLoad(IDictionary adapter) : Boolean
- BeforeSave(IDictionary state) : Boolean
- ToString() : String
- Create(Object instance)
- Delete(Object instance)
- Refresh(Object instance)
- DeleteAll(Type type)
- DeleteAll(Type type, String where)
- DeleteAll(Type targetType, IEnumerable pkValues) : Int32
- Update(Object instance)
- Save(Object instance)
- Execute(Type targetType, NHibernateDelegate call, Object instance) : Object
- EnumerateQuery(IActiveRecordQuery query) : IEnumerable
- ExecuteQuery(IActiveRecordQuery query) : Object
-
CountAll(Type targetType)
: Int32
-
CountAll(Type targetType, String filter, Object[] args)
: Int32
- Exists(Type targetType) : Boolean
- Exists(Type targetType, String filter, Object[] args) : Boolean
- Exists(Type targetType, Object id) : Boolean
- FindAll(Type targetType) : Array
- FindAll(Type targetType, Order[] orders, ICriterion[] criterias) : Array
- FindAll(Type targetType, ICriterion[] criterias) : Array
- FindAllByProperty(Type targetType, String property, Object value) : Array
- FindAllByProperty(Type targetType, String orderByColumn, String property, Object value) : Array
- FindByPrimaryKey(Type targetType, Object id) : Object
- FindByPrimaryKey(Type targetType, Object id, Boolean throwOnNotFound) : Object
- FindFirst(Type targetType, Order[] orders, ICriterion[] criterias) : Object
- FindFirst(Type targetType, ICriterion[] criterias) : Object
- FindOne(Type targetType, ICriterion[] criterias) : Object
- SlicedFindAll(Type targetType, Int32 firstResult, Int32 maxResults, Order[] orders, ICriterion[] criterias) : Array
- SlicedFindAll(Type targetType, Int32 firstResult, Int32 maxResults, ICriterion[] criterias) : Array
- Execute(NHibernateDelegate call) : Object
-
ActiveRecordValidationBase API Document
- Constructors
- Properties
-
Methods
- OnNotValid()
- IsValid() : Boolean
- Refresh()
- Delete()
- Update()
- Create()
- Save()
- OnLoad(Object id)
- OnDelete()
- OnUpdate()
- OnSave()
- FindDirty(Object id, IDictionary previousState, IDictionary currentState, IType[] types) : Int32[]
- IsUnsaved() : Object
- PostFlush()
- PreFlush()
- BeforeDelete(IDictionary adapter)
- BeforeLoad(IDictionary adapter) : Boolean
- BeforeSave(IDictionary state) : Boolean
- ToString() : String
- Execute(NHibernateDelegate call) : Object
-
ActiveRecordBase API Document
-
Attributes
- AbstractValidationAttribute API Document
- ValidateConfirmationAttribute API Document
-
ValidateCreditCardAttribute API Document
-
Constructors
- ValidateCreditCardAttribute()
- ValidateCreditCardAttribute(String errorMessage)
- ValidateCreditCardAttribute(CardType allowedTypes)
- ValidateCreditCardAttribute(CardType allowedTypes, String errorMessage)
- ValidateCreditCardAttribute(String[] exceptions)
- ValidateCreditCardAttribute(String[] exceptions, String errorMessage)
- ValidateCreditCardAttribute(CardType allowedTypes, String[] exceptions)
- ValidateCreditCardAttribute(CardType allowedTypes, String[] exceptions, String errorMessage)
- Properties
-
Constructors
- ValidateEmailAttribute API Document
- ValidateIsUniqueAttribute API Document
- ValidateLengthAttribute API Document
- ValidateNotEmptyAttribute API Document
- ValidateRegExpAttribute API Document
- ActiveRecordSkipAttribute API Document
- Any.MetaValueAttribute API Document
- CollectionIDAttribute API Document
- HiloAttribute API Document
- ImportAttribute API Document
- JoinedBaseAttribute API Document
- JoinedKeyAttribute API Document
- NestedAttribute API Document
- WithAccessAttribute API Document
- AnyAttribute API Document
- BaseAttribute API Document
- ActiveRecordAttribute API Document
- RelationAttribute API Document
- HasAndBelongsToManyAttribute API Document
- HasManyAttribute API Document
- HasManyToAnyAttribute API Document
- BelongsToAttribute API Document
- CompositeKeyAttribute API Document
- FieldAttribute API Document
- OneToOneAttribute API Document
- PrimaryKeyAttribute API Document
- PropertyAttribute API Document
- KeyPropertyAttribute API Document
- TimestampAttribute API Document
- VersionAttribute API Document