BExIS.Web.Shell.Areas.DCM.Models.MetadataAttributeModel.Kopie C# (CSharp) Method

Kopie() public method

public Kopie ( long number, int numberOfSourceInPackage ) : MetadataAttributeModel
number long
numberOfSourceInPackage int
return MetadataAttributeModel
        public MetadataAttributeModel Kopie(long number, int numberOfSourceInPackage)
        {
            return new MetadataAttributeModel
            {
                    Id = this.Id,
                    Number = number,
                    ParentModelNumber = this.ParentModelNumber,
                    MetadataStructureId = this.MetadataStructureId,
                    Parent = this.Parent,
                    Source = this.Source,
                    DisplayName = this.DisplayName,
                    Discription = this.Discription,
                    ConstraintDescription = this.ConstraintDescription,
                    DataType = this.DataType,
                    SystemType = this.SystemType,
                    MinCardinality = this.MinCardinality,
                    MaxCardinality = this.MaxCardinality,
                    NumberOfSourceInPackage = numberOfSourceInPackage,
                    first = false,
                    DomainList = this.DomainList,
                    last = false,
                    MetadataAttributeId = this.MetadataAttributeId,
                    ParentStepId = this.ParentStepId,
                    Errors = null
            };
        }