Пример #1
0
 protected ToDtoPersistentObjectMapper(
     [NotNull] IRequestContext requestContext,
     [NotNull] ISessionProviderAsync sessionProvider,
     [NotNull] IRepositoryAsync <TModel, TIdentity> repository)
     : base(requestContext, sessionProvider, repository)
 {
 }
Пример #2
0
 protected PersistentMapper(
     [NotNull] IRequestContext requestContext,
     [NotNull] ISessionProviderAsync sessionProvider,
     [NotNull] IRepositoryAsync <TModel, TIdentity> repository)
 {
     RequestContext  = requestContext;
     SessionProvider = sessionProvider;
     Repository      = repository;
 }
 public RelationEntityRepository(
     [NotNull] ISessionProviderAsync sessionProvider)
 {
     SessionProvider = sessionProvider;
 }