Ejemplo n.º 1
0
        //private OrmProperty<TEntity> SetScale(int? value) { Scale = value; return this; }

        private OrmProperty <TEntity> SetLength(OrmBasicDataType basicDataType, OrmDataLengthType lengthType, int maxLength, bool isNotNull = false) =>
        SetBasicDataType(basicDataType).
        SetCharacterLengthType(lengthType).
        SetMaxLength(maxLength).
        SetIsNotNull(isNotNull);
Ejemplo n.º 2
0
 private OrmProperty <TEntity> SetCharacterLengthType(OrmDataLengthType value)
 {
     CharacterLengthType = value; return(this);
 }