public DefaultBLInterface(CoreInterface coreInterface, BLModel model)
        {
            this.coreInterface = coreInterface;
            this.ParentModel   = model;
            this.ShortName     = coreInterface.Name;
            this.Name          = ConvertName(coreInterface, model?.Config);

            if (string.IsNullOrEmpty(coreInterface.FormerName))
            {
                this.FormerName = null;
            }
            else
            {
                this.FormerName = ConvertName(coreInterface.FormerName, coreInterface, model?.Config);
            }

            this.Attributes = new List <IBLAttribute>();

            // ID-Attribut hinzufügen
            this.Attributes.Add(CustomBLAttribute.GetNewIDAttribute(this));

            foreach (var attr in coreInterface.Attributes)
            {
                if (attr is CoreRefAttribute)
                {
                    this.Attributes.Add(new RefBLAttribute((CoreRefAttribute)attr, this));
                }
                else
                {
                    this.Attributes.Add(new BaseBLAttribute((CoreBaseAttribute)attr, this));
                }
            }

            // Ggf. Mandant-Attribut hinzufügen
            if (coreInterface.IsMandant)
            {
                this.Attributes.Add(CustomBLAttribute.GetNewMandantAttribute(this));
            }

            // Technische Hilfsattribute hinzufügen
            AddTechnicalAttributes();
        }