CommonEntityInterfacesIEntityPositionAddToSchemaTEntity Method |
Adds the properties defined by this interface to the specified schema.
Namespace:
AGI.Foundation.Tracking
Assembly:
AGI.Foundation.Tracking (in AGI.Foundation.Tracking.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic static void AddToSchema<TEntity>(
EntitySchema<TEntity> schema
)
where TEntity : class, IEntityPosition
Public Shared Sub AddToSchema(Of TEntity As {Class, IEntityPosition}) (
schema As EntitySchema(Of TEntity)
)public:
generic<typename TEntity>
where TEntity : ref class, IEntityPosition
static void AddToSchema(
EntitySchema<TEntity>^ schema
)
static member AddToSchema :
schema : EntitySchema<'TEntity> -> unit when 'TEntity : not struct and IEntityPosition
Parameters
- schema
- Type: AGI.Foundation.TrackingEntitySchemaTEntity
The schema to which to add the properties defined by this interface.
Type Parameters
- TEntity
- The type of entity.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException |
Thrown when schema is .
|
See Also