public override bool Initialize(object component, TreeGridDesignerColumnDescriptor[] columns)
        {
            if (!base.Initialize(component, columns))
            {
                return false;
            }

            var mappingFunctionTypeMapping = component as MappingFunctionEntityType;
            if (mappingFunctionTypeMapping != null)
            {
                _mappingFunctionTypeMapping = mappingFunctionTypeMapping;
            }

            return true;
        }
Ejemplo n.º 2
0
        // <summary>
        //     ITreeGridDesignerInitializeBranch
        // </summary>
        public override bool Initialize(object component, TreeGridDesignerColumnDescriptor[] columns)
        {
            if (!base.Initialize(component, columns))
            {
                return false;
            }

            _mappingFunctionTypeMapping = component as MappingFunctionEntityType;
            if (_mappingFunctionTypeMapping != null)
            {
                _columns = columns;
                PopulateHeaders(true);
                return true;
            }

            return false;
        }
 internal ModificationFunctionBranch(
     MappingFunctionEntityType mappingFunctionTypeMapping, TreeGridDesignerColumnDescriptor[] columns)
     : base(mappingFunctionTypeMapping, columns)
 {
     _mappingFunctionTypeMapping = mappingFunctionTypeMapping;
 }