コード例 #1
0
        private void BuildPickerDataSource()
        {
            var refEntity = this.Entity.GetEntity(this.RefObject);

            ControlInfo.FieldAttribute.TextField = refEntity.TextField;

            var filterDomain = this._TempSchemaData.Get("linkentity_domain", "");

            this.ControlInfo.DataSource = new FieldDataSource
            {
                Type   = DataSourceType.Entity,
                Entity = this.RefObject,
                Domain = FilterExpression.BuildFromJson(this.RefObject, filterDomain)
            };
        }