コード例 #1
0
        public override bool Initialize(object component, TreeGridDesignerColumnDescriptor[] columns)
        {
            if (!base.Initialize(component, columns))
            {
                return false;
            }

            var mappingAssociationSetEnd = component as MappingAssociationSetEnd;
            if (mappingAssociationSetEnd != null)
            {
                _mappingAssociationSetEnd = mappingAssociationSetEnd;
            }

            return true;
        }
コード例 #2
0
 internal EndScalarPropertyBranch(MappingAssociationSetEnd mappingAssociationSetEnd, TreeGridDesignerColumnDescriptor[] columns)
     : base(mappingAssociationSetEnd, columns)
 {
     _mappingAssociationSetEnd = mappingAssociationSetEnd;
 }