public override void Initialize(IDecimalMetaField metaField, IMetaEntity metaEntity = null) { var metaDecimalMetaField = EntityService.GetMetaEntity(nameof(IDecimalMetaField)); EntityValidator = EntityService.GetEntityValidator(metaDecimalMetaField); if (metaField == null) { metaField = MetaDataService.InitializeDecimalMetaField(metaDecimalMetaField, metaEntity); } Caption = EntityValidator.MetaEntity.Label; Entity = metaField; InitializeFieldValidators(metaField); }
public void CreateDecimalMetaField() { var metaField = MetaDataService.InitializeDecimalMetaField(MetaDecimalMetaField, MetaEntity); OpenMetaFieldEdition(metaField); }