Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
breeze
EntityAspect
Class EntityAspect
Index
Properties
entity
entityManager
entityState
hasValidationErrors
isBeingSaved
originalValues
propertyChanged
validationErrorsChanged
Methods
acceptChanges
addValidationError
clearValidationErrors
getKey
getValidationErrors
loadNavigationProperty
rejectChanges
removeValidationError
setDeleted
setDetached
setModified
setUnchanged
validateEntity
validateProperty
Properties
public
entity
:
Entity
public
entityManager
:
EntityManager
public
entityState
:
EntityStateSymbol
public
hasValidationErrors
:
boolean
public
isBeingSaved
:
boolean
public
originalValues
:
Object
public
propertyChanged
:
PropertyChangedEvent
public
validationErrorsChanged
:
ValidationErrorsChangedEvent
Methods
public
acceptChanges
(
)
public
addValidationError
(
validationError
:
ValidationError
)
Parameters
validationError:
ValidationError
public
clearValidationErrors
(
)
public
getKey
(
forceRefresh
?:
boolean
)
:
EntityKey
Parameters
forceRefresh?:
boolean
optional
Returns
EntityKey
public
getValidationErrors
(
)
:
ValidationError
[]
Returns
ValidationError
[]
public
getValidationErrors
(
property
:
string
)
:
ValidationError
[]
Parameters
property:
string
Returns
ValidationError
[]
public
getValidationErrors
(
property
:
IProperty
)
:
ValidationError
[]
Parameters
property:
IProperty
Returns
ValidationError
[]
public
loadNavigationProperty
(
navigationProperty
:
string
, callback
?:
Function
, errorCallback
?:
Function
)
:
Promise
Parameters
navigationProperty:
string
callback?:
Function
optional
errorCallback?:
Function
optional
Returns
Promise
public
loadNavigationProperty
(
navigationProperty
:
NavigationProperty
, callback
?:
Function
, errorCallback
?:
Function
)
:
Promise
Parameters
navigationProperty:
NavigationProperty
callback?:
Function
optional
errorCallback?:
Function
optional
Returns
Promise
public
rejectChanges
(
)
public
removeValidationError
(
validator
:
Validator
)
Parameters
validator:
Validator
public
removeValidationError
(
validator
:
Validator
, property
:
DataProperty
)
Parameters
validator:
Validator
property:
DataProperty
public
removeValidationError
(
validator
:
Validator
, property
:
NavigationProperty
)
Parameters
validator:
Validator
property:
NavigationProperty
public
removeValidationError
(
validationError
:
ValidationError
)
Parameters
validationError:
ValidationError
public
setDeleted
(
)
public
setDetached
(
)
public
setModified
(
)
public
setUnchanged
(
)
public
validateEntity
(
)
:
boolean
Returns
boolean
public
validateProperty
(
property
:
string
, context
?:
any
)
:
boolean
Parameters
property:
string
context?:
any
optional
Returns
boolean
public
validateProperty
(
property
:
DataProperty
, context
?:
any
)
:
boolean
Parameters
property:
DataProperty
context?:
any
optional
Returns
boolean
public
validateProperty
(
property
:
NavigationProperty
, context
?:
any
)
:
boolean
Parameters
property:
NavigationProperty
context?:
any
optional
Returns
boolean
Globals
breeze
breeze.config
breeze.core
jquery
q
DataType
EntityAction
EntityState
FetchStrategy
FilterQueryOp
MergeStrategy
metadataVersion
remoteAccess_odata
remoteAccess_webApi
version
ComplexObject
DataPropertyOptions
DataServiceOptions
Entity
EntityByKeyResult
EntityManagerOptions
EntityManagerProperties
EntityTypeOptions
EntityTypeProperties
ExecuteQueryErrorCallback
ExecuteQuerySuccessCallback
IProperty
IStructuralType
MetadataStoreOptions
NamingConventionOptions
NavigationPropertyOptions
NodeContext
OrderByClause
PredicateMethod
QueryContext
QueryOptionsConfiguration
QueryResult
SaveChangesErrorCallback
SaveChangesSuccessCallback
SaveOptionsConfiguration
SaveResult
ValidationOptionsConfiguration
ValidatorFunction
ValidatorFunctionContext
AutoGeneratedKeyType
ComplexAspect
ComplexType
DataProperty
DataService
DataServiceAdapter
DataTypeSymbol
EntityActionSymbol
EntityAspect
entity
entityManager
entityState
hasValidationErrors
isBeingSaved
originalValues
propertyChanged
validationErrorsChanged
acceptChanges
addValidationError
clearValidationErrors
getKey
getValidationErrors
loadNavigationProperty
rejectChanges
removeValidationError
setDeleted
setDetached
setModified
setUnchanged
validateEntity
validateProperty
EntityChangedEvent
EntityChangedEventArgs
EntityKey
EntityManager
EntityQuery
EntityStateSymbol
EntityType
FilterQueryOpSymbol
HasChangesChangedEvent
HasChangesChangedEventArgs
JsonResultsAdapter
LocalQueryComparisonOptions
MetadataStore
NamingConvention
NavigationProperty
Predicate
PropertyChangedEvent
PropertyChangedEventArgs
QueryOptions
SaveOptions
StrategySymbol
ValidationError
ValidationErrorsChangedEvent
ValidationErrorsChangedEventArgs
ValidationOptions
Validator