Exemplo n.º 1
0
        protected void ToModel(IEntityDataType entityDataType)
        {
            entityDataType = entityDataType ?? throw new ArgumentNullException(nameof(entityDataType));

            entityDataType.IsActive = this.IsActive.HasValue ? this.IsActive.Value : true;
        }
Exemplo n.º 2
0
        protected void ToEntity(IEntityDataType entityDataType)
        {
            entityDataType = entityDataType ?? throw new ArgumentNullException(nameof(entityDataType));

            entityDataType.IsActive = this.IsActive;
        }