コード例 #1
0
        //public new InheritedAttributeGroup AttributeGroup { get; set; }

        public InheritedAttributeDefinition(AttributeDefinition attributeDefinition, EntitySchema schema)
            : base(attributeDefinition.Alias, attributeDefinition.Name)
        {
            Id = attributeDefinition.Id;
            Description = attributeDefinition.Description;
            AttributeType = attributeDefinition.AttributeType;
            Ordinal = attributeDefinition.Ordinal;
            RenderTypeProviderConfigOverride = attributeDefinition.RenderTypeProviderConfigOverride;
            AttributeGroup = new InheritedAttributeGroup(attributeDefinition.AttributeGroup, schema);
            UtcCreated = attributeDefinition.UtcCreated;
            UtcModified = attributeDefinition.UtcModified;
            UtcStatusChanged = attributeDefinition.UtcStatusChanged;

            Schema = schema;
        }
コード例 #2
0
        //public new InheritedAttributeGroup AttributeGroup { get; set; }

        public InheritedAttributeDefinition(AttributeDefinition attributeDefinition, EntitySchema schema)
            : base(attributeDefinition.Alias, attributeDefinition.Name)
        {
            Id            = attributeDefinition.Id;
            Description   = attributeDefinition.Description;
            AttributeType = attributeDefinition.AttributeType;
            Ordinal       = attributeDefinition.Ordinal;
            RenderTypeProviderConfigOverride = attributeDefinition.RenderTypeProviderConfigOverride;
            AttributeGroup   = new InheritedAttributeGroup(attributeDefinition.AttributeGroup, schema);
            UtcCreated       = attributeDefinition.UtcCreated;
            UtcModified      = attributeDefinition.UtcModified;
            UtcStatusChanged = attributeDefinition.UtcStatusChanged;

            Schema = schema;
        }