Exemplo n.º 1
0
        protected TPrimaryKey GetProxyPrimaryKey(object threadSafeProxy)
        {
            var expression = RepositoryExtensions.GetProjectionPrimaryKeyExpression <TEntity, TProjection, TPrimaryKey>(helperRepository);

            return(GetProxyPropertyValue(threadSafeProxy, expression));
        }