Example #1
0
        public NumberMappingDescriptor <T> Type(NumberType type)
        {
            var stringType = type.GetStringValue();

            this._Mapping.Type = stringType;
            return(this);
        }
Example #2
0
 public TDescriptor Type(NumberType?type) => Assign(type?.GetStringValue(), (a, v) => a.Type = v);
 public NumberAttribute(NumberType type) : base(type.GetStringValue())
 {
 }
Example #4
0
 public NumberProperty(NumberType type) : base(type.GetStringValue())
 {
 }
Example #5
0
 public TDescriptor Type(NumberType type) => Assign(a => a.Type = type.GetStringValue());
		public NumberAttribute(NumberType type) : base(type.GetStringValue()) { }