Beispiel #1
0
        public IDbRuleBuilder <T> NotNullFromEntity()
        {
            var isRequired = _dbContextPropertyDescriptor.IsRequired();

            if (isRequired)
            {
                _ruleBuilder.NotNull();
            }

            return(this);
        }