Пример #1
0
        public FtsRegistrationBuilder <TEntity> Register <TEntity>(Expression <Func <TEntity, string> > propertyReference)
            where TEntity : class
        {
            var builder = new FtsRegistrationBuilder <TEntity>(propertyReference);

            _descriptors.Add(builder.Descriptor);
            return(builder);
        }
Пример #2
0
        public FtsRegistrationBuilder <TEntity> Register <TEntity>(string propertyName)
            where TEntity : class
        {
            var builder = new FtsRegistrationBuilder <TEntity>(propertyName);

            _descriptors.Add(builder.Descriptor);
            return(builder);
        }