Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.DomainModel Namespace / RepositoryWithTypedId<TEntity,TId> Class
The type of entity that the repository operates on. Must be of type IEntity.
The type of Id associated with TEntity type.
Members
In This Topic
    RepositoryWithTypedId<TEntity,TId> Class
    In This Topic
    This class provides generic repository functionality
    Syntax
    [RegisterFor(CommerceBuilder.DomainModel.IRepositoryWithTypedId`2)]
    public class RepositoryWithTypedId<TEntity,TId> : IPersistenceBehaviors, IRepositoryWithTypedId<TEntity,TId>  
    where TEntity: class, IEntityWithTypedId<TId>
    Type Parameters
    TEntity
    The type of entity that the repository operates on. Must be of type IEntity.
    TId
    The type of Id associated with TEntity type.
    Inheritance Hierarchy

    System.Object
       CommerceBuilder.DomainModel.RepositoryWithTypedId<TEntity,TId>
          CommerceBuilder.DomainModel.Repository<TEntity>
          CommerceBuilder.Shipping.CountryRepository

    See Also