Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
breeze
MetadataStore
Class MetadataStore
Index
Constructor methods
constructor
Properties
namingConvention
Methods
addDataService
addEntityType
exportMetadata
fetchMetadata
getDataService
getEntityType
getEntityTypeNameForResourceName
getEntityTypes
hasMetadataFor
importMetadata
importMetadata
isEmpty
registerEntityTypeCtor
setEntityTypeForResourceName
trackUnmappedType
Constructor methods
constructor
(
)
:
MetadataStore
Returns
MetadataStore
constructor
(
config
?:
MetadataStoreOptions
)
:
MetadataStore
Parameters
config?:
MetadataStoreOptions
optional
Returns
MetadataStore
Properties
public
namingConvention
:
NamingConvention
Methods
public
addDataService
(
dataService
:
DataService
)
Parameters
dataService:
DataService
public
addEntityType
(
structuralType
:
IStructuralType
)
Parameters
structuralType:
IStructuralType
public
exportMetadata
(
)
:
string
Returns
string
public
fetchMetadata
(
dataService
:
string
, callback
?:
(data: any) => void
, errorCallback
?:
ErrorCallback
)
:
Promise
Parameters
dataService:
string
callback?:
(data: any) => void
optional
errorCallback?:
ErrorCallback
optional
Returns
Promise
public
fetchMetadata
(
dataService
:
DataService
, callback
?:
(data: any) => void
, errorCallback
?:
ErrorCallback
)
:
Promise
Parameters
dataService:
DataService
callback?:
(data: any) => void
optional
errorCallback?:
ErrorCallback
optional
Returns
Promise
public
getDataService
(
serviceName
:
string
)
:
DataService
Parameters
serviceName:
string
Returns
DataService
public
getEntityType
(
entityTypeName
:
string
, okIfNotFound
?:
boolean
)
:
IStructuralType
Parameters
entityTypeName:
string
okIfNotFound?:
boolean
optional
Returns
IStructuralType
public
getEntityTypeNameForResourceName
(
resourceName
:
string
)
:
string
Parameters
resourceName:
string
Returns
string
public
getEntityTypes
(
)
:
IStructuralType
[]
Returns
IStructuralType
[]
public
hasMetadataFor
(
serviceName
:
string
)
:
boolean
Parameters
serviceName:
string
Returns
boolean
public
static
importMetadata
(
exportedString
:
string
)
:
MetadataStore
Parameters
exportedString:
string
Returns
MetadataStore
public
importMetadata
(
exportedString
:
string
)
:
MetadataStore
Parameters
exportedString:
string
Returns
MetadataStore
public
isEmpty
(
)
:
boolean
Returns
boolean
public
registerEntityTypeCtor
(
entityTypeName
:
string
, entityCtor
:
Function
, initializationFn
?:
(entity: breeze.Entity) => void
)
Parameters
entityTypeName:
string
entityCtor:
Function
initializationFn?:
(entity: breeze.Entity) => void
optional
public
setEntityTypeForResourceName
(
resourceName
:
string
, entityType
:
EntityType
)
Parameters
resourceName:
string
entityType:
EntityType
public
setEntityTypeForResourceName
(
resourceName
:
string
, entityTypeName
:
string
)
Parameters
resourceName:
string
entityTypeName:
string
public
trackUnmappedType
(
entityCtor
:
Function
, interceptor
?:
Function
)
Parameters
entityCtor:
Function
interceptor?:
Function
optional
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
EntityChangedEvent
EntityChangedEventArgs
EntityKey
EntityManager
EntityQuery
EntityStateSymbol
EntityType
FilterQueryOpSymbol
HasChangesChangedEvent
HasChangesChangedEventArgs
JsonResultsAdapter
LocalQueryComparisonOptions
MetadataStore
constructor
namingConvention
addDataService
addEntityType
exportMetadata
fetchMetadata
getDataService
getEntityType
getEntityTypeNameForResourceName
getEntityTypes
hasMetadataFor
importMetadata
importMetadata
isEmpty
registerEntityTypeCtor
setEntityTypeForResourceName
trackUnmappedType
NamingConvention
NavigationProperty
Predicate
PropertyChangedEvent
PropertyChangedEventArgs
QueryOptions
SaveOptions
StrategySymbol
ValidationError
ValidationErrorsChangedEvent
ValidationErrorsChangedEventArgs
ValidationOptions
Validator