Welcome to the Breeze.Sharp API documentation. If this is your first time browsing the API,
you might want to start with the EntityManager as this is the core class in Breeze.
Sample applications, videos, and additional documentation are also available.
Ask questions in our community forum and get answers from support engineers, MVPs, and developers just like you.
If you prefer to use email, please contact us at breeze@ideablade.com.
Classes
Class | Description | |
---|---|---|
BackupValuesMap |
Class that is used to track property changes on an Entity or ComplexObject. Instances of this type are used
for both the EntityAspect.OriginalValuesMap as well as to track IEditableObject changes on an entity.
|
|
BaseComplexObject |
Default base class implementation of IComplexObject.
All complex objects should inherit from this class either directly or indirectly.
|
|
BaseEntity |
Default base class implementation of IEntity.
All entities should inherit from this class either directly or indirectly.
|
|
CacheQueryOptions |
Options that allow queries that will be run against cache to share the same semantics as the corresponding
query against the Entity Framework and the backend database. Linq To Objects (CLR) and remote service queries do
not automatically share the same semantics. This class allows Breeze queries against the EntityManager's cache (Linq to Objects queries)
to be interpreted like they will be against the remote service.
|
|
CamelCasePropertiesNamingConvention |
The "camelCase" naming convention - This implementation only lowercases the first character
of the server property name but leaves the rest of the property name intact.
If a more complicated version is needed then another type should be created that
inherits from NamingConvention.
|
|
ComplexAspect |
Provides entity services to a ComplexObject.
|
|
ComplexType |
Metadata information about a complex type.
|
|
Configuration |
A singleton class that provides basic registration mechanisms for a Breeze application.
|
|
DataProperty |
A DataProperty describes the metadata for a single property of an EntityType that contains simple data.
Instances of the DataProperty class are constructed automatically during assembly probing and
and then updated via Metadata retrieval from an entity server. Itt is also possible to
update/extend them directly on the client.
|
|
DataPropertyBuilder |
Provides a fluent interface for configuring an DataProperty within the MetadataStore.
|
|
DataService |
A DataService instance is used to encapsulate the details of a single 'service';
this includes a serviceName, a dataService adapterInstance, and whether the service has server side metadata.
|
|
DataServiceRequestException |
Exception thrown when a DataService request fails.
See the HttpResponse property for detailed information on the failed request.
|
|
DataType |
Metadata about any primitive data type. Each Breeze DataProperty for a primitive type (i.e. does not
describe a ComplexObject) will have a DataType property.
|
|
DefaultKeyGenerator |
Default implementation of IKeyGenerator that automatically generates temporary ids for most common datatypes.
|
|
DictionaryKeysAreNotPropertyNamesJsonConverter | ||
EmailValidator | ||
EntityAspect |
Provides entity services to a IEntity.
|
|
EntityChangedEventArgs |
Provides information to the EntityChanged event.
|
|
EntityChangeEventArgs |
Base class for all Entity Changing/Changed event args.
|
|
EntityChangingEventArgs |
Provides information to the EntityChanging event.
|
|
EntityError |
Information about any errors encountered on a specific entity during the course of a
EntityManager.SaveChanges operation. A collection of EntityError instances is part
of every SaveException
|
|
EntityKey |
Represents the primary key for an IEntity.
|
|
EntityManager |
Instances of the EntityManager contain and manage collections of entities,
either retrieved from a backend datastore or created on the client.
|
|
EntityManagerEntityKeyFetchResult |
The async result of a FetchEntityByKey call.
|
|
EntityManagerCreatedEventArgs |
Arguments to the EntityManagerCreated event.
|
|
EntityManagerHasChangesChangedEventArgs |
Arguments to the EntityManager's HasChangesChanged event.
|
|
EntityQuery |
Base class for all EntityQueries. This class is untyped and may be used
when you need to create entity queries dynamically.
|
|
EntityQueryT |
An EntityQuery instance is used to query entities either from a remote datasource or from a local EntityManager.
EntityQueries are immutable - this means that all EntityQuery methods that return an EntityQuery actually create a new EntityQuery.
Therefore EntityQueries can be 'modified' without affecting any current instances.
|
|
EntityQueryExtensions |
Extension methods for any EntityQuery.
|
|
EntityStateFns |
Provides a set of static methods extending an IEntity to provide
information about the EntityState.
|
|
EntityType |
Container for all of the metadata about a specific type of Entity.
|
|
EntityTypeBuilderTEntity |
Provides a fluent interface for configuring an EntityType within the MetadataStore.
|
|
ImportOptions |
Options that mediate how imported entities should be merged into an EntityManager.
|
|
ImportResult |
Information about the result of an EntityManager.ImportEntities operation.
|
|
Int32RangeValidator |
Specialization of the RangeValidatorT for Int32's.
|
|
Internable | ||
JNode |
For internal use only. Wrapper over simple json object to provide serialization/deserialization services.
|
|
JsonEntityConverter |
For internal use only.
|
|
JsonNodeInfo |
This types describes the result of each VisitNode(JObject, MappingContext, NodeContext) operation.
|
|
LocalizedMessage |
Describes a localized message. Each localized message instance is immutable.
|
|
MappingContext |
Used by the JsonResultsAdapter to provide information regarding the overall context
of the currently executing operation.
|
|
MaxLengthValidator |
Validator implementation that checks that a string does not exceed a maximum length.
|
|
MetadataMismatchEventArgs | ||
MetadataStore |
An instance of the MetadataStore contains all of the metadata about a collection of EntityTypes
and ComplexTypes.
|
|
NamingConvention |
A NamingConvention instance is used to specify the naming conventions under
which the MetadataStore will translate type and property names between the server and the .NET client.
The default NamingConvention does not perform any translation, it simply passes property names thru unchanged.
|
|
NavigationProperty |
A NavigationProperty describes the metadata for a single property of an
EntityType that return instances of other EntityTypes.
Instances of the NavigationProperty class are constructed automatically during Metadata retrieval.
However it is also possible to construct them directly via the constructor.
|
|
NavigationPropertyBuilderTEntity, TTarget |
Provides a fluent interface for configuring an NavigatiomProperty within the MetadataStore.
|
|
NavigationSetT |
Concrete strongly typed implementation of the INavigationSet interface. Used, by default, for
as the return type for all nonscalar navigation properties.
|
|
NodeContext |
Used by the IJsonResultsAdapter to provide information about the current node being processed.
|
|
NumericDataType |
Subtype of DataType for all numeric datatypes.
|
|
PhoneNumberValidator | ||
QueryOptions |
A QueryOptions instance is used to specify the 'options' under which a query will occur.
|
|
QueryResultT |
The actual result of any query that has an InlineCount specified.
This class also implement IEnumerable{T} for the actual returned entities.
If you want the InlineCount for any query you will need to cast the return type
from the query into a QueryResult{T}).
|
|
RangeValidatorT |
Validator implementation that checks that a number falls within a specified range..
|
|
RegexValidator |
Validator implementation that determines if a given property matches a
predefined regular expression pattern.
|
|
RequiredValidator |
Validator implementation to check that a property is not set to null.
Special handling for empty strings is supported.
|
|
SaveException |
SaveExceptions are thrown whenever an SaveChanges(SaveOptions) call fails for any reason.
|
|
SaveOptions |
A SaveOptions instance is used to specify the 'options' under which a save will occur.
|
|
SaveResult |
The result of an SaveChanges(SaveOptions) call
|
|
SqlServerGuidComparer |
A comparer that emulates SQL Server's comparison semantics for Guids.
|
|
StringLengthValidator |
Validator implementation that checks that a string's length is within a specified range.
|
|
StructuralAspect |
Base class for both EntityAspect and ComplexAspect.
|
|
StructuralObjectExtensions |
Extension methods for any IStructuralObject.
|
|
StructuralProperty |
Base class for both the DataProperty and the NavigationProperty classes.
|
|
StructuralType |
Base class for both EntityType and ComplexType classes.
|
|
StructuralTypeBuilder |
Base class that provides a fluent interface for configuring the MetadataStore.
|
|
TimeSpanConverter | ||
TypeNameInfo |
Class used to describe, parse and convert between EntityType/ComplexType names and CLR type names.
|
|
UniqueId |
Represents the combination of a specific StructuralProperty and value.
|
|
UniqueIdCollection |
Represents a collection of UniqueId objects.
|
|
UniqueIdMap |
A strongly typed dictionary mapping UniqueId keys containing temporary identifiers
to values for the permanent identifiers.
|
|
UrlValidator | ||
ValidationContext |
The context under which a validation operation will occur.
This includes the Entity or ComplexObject being validated, as well as the
specific property, if this is a property validation.
|
|
ValidationError |
The result of a failed validation operation
|
|
ValidationErrorCollection |
A collection of ValidationErrors.
|
|
ValidationOptions |
A ValidationOptions instance is used to specify the conditions under which validation will be executed.
This may be set via the ValidationOptions property.
|
|
Validator |
Subclassed instances of the Validator class provide the logic to validate another object
and provide a description of any errors encountered during the validation process.
They are typically associated with a 'validators' property on the following types:
EntityType, DataProperty or NavigationProperty.
A number of property level validators are registered automatically, i.e added to each DataProperty.Validators
property based on DataProperty metadata. For example,
DataProperty.MaxLength -> MaxLengthValidator
DataProperty.IsNullable -> RequiredValidator (if not nullable)
|
|
ValidatorExtensions |
Collection of extension methods for use with any .
|
|
WebApiDataServiceAdapter |
IDataServiceAdapter implementation that supports Microsoft's WebApi.
|
|
WebApiJsonResultsAdapter |
Interfaces
Interface | Description | |
---|---|---|
IComplexObject |
Interface that describes a ComplexObject
|
|
IDataServiceAdapter |
Client side interface that describes the interaction between a DataService and a remote data service.
|
|
IEntity |
Interface that describes an Entity.
|
|
IEntityQuery |
Interface for all Entity queries.
|
|
IHasBackingStore |
Interface for the backing information for any IEntity or IComplexObject.
Implemented via an explicit interface.
|
|
IHasInlineCount |
Interface that indicates whether an object returned by a EntityQueryT has an InlineCount property.
|
|
IJsonResultsAdapter |
Instances of this interface are used to provide custom extraction and parsing logic
on the json results returned by any web service. This facility makes it possible for breeze
to talk to virtually any web service and return objects that will be first class 'breeze' citizens.
|
|
IJsonSerializable |
For internal use only.
|
|
IKeyGenerator |
Interface that generates, describes and keeps track of all of the temporary keys associated
with a single EntityManager.
|
|
INavigationSet |
The interface that describes the type for any nonscalar navigation property on an Entity.
|
|
IStructuralObject |
Interface implemented by by IEntity and IComplexObject.
|
Enumerations
Enumeration | Description | |
---|---|---|
AutoGeneratedKeyType |
AutoGeneratedKeyType is an enum containing all of the valid states for an automatically generated key.
|
|
ConcurrencyMode | ||
DataTypeInfo |
Used to classify whether a data type is a number, an integer or a date.
|
|
EntityAction |
Describes an action performed on an Entity.
|
|
EntityState |
The state of an IEntity.
|
|
EntityVersion |
Describes the version of an Entity.
|
|
FetchStrategy |
An enum used when retrieving entities to determine where to look
|
|
GuidOrdering |
Different semantics for ordering Guids.
|
|
LoadingOperation |
Enum that is used to describe the current operation being performed while
a JsonResultsAdapter is executing. Referenced by MappingContext
|
|
MergeStrategy |
Strategy to control how Entities are merged into an EntityManager's cache.
|
|
MessageType | ||
MetadataMismatchType | ||
UrlOptions | ||
ValidationApplicability |
An enum used to describe the conditions under which validation should occur.
This value is set via the ValidationApplicability.
|