示例#1
0
        /// <inheritdoc />
        public IEntityRepository <T> Create <T>() where T : class
        {
            var type = typeof(T);
            var nick = _applicationContextProvider.GetNick(type);

            return(new EntityRepository <T>(GetSession(nick)));
        }