public bool Validate(Entity entity, out string errorText) { EntityTypeProperty property = entity.Type.Properties.Find(_propertyGuid); if (property != null && property.Format.IsEmpty(entity[property.Property])) { errorText = "Не заполнено свойство " + property.Property.Name; return(false); } errorText = null; return(true); }
set => SetValue(EntityTypeProperty, value);