a7DocumentDbStudio.ViewModel.CollectionVM.CollectionVM C# (CSharp) 메소드

CollectionVM() 공개 메소드

public CollectionVM ( CollectionModel model, CollectionWrkspcVM wrkspc ) : a7DocumentDbStudio.Filter
model CollectionModel
wrkspc a7DocumentDbStudio.ViewModel.Workspace.CollectionWrkspcVM
리턴 a7DocumentDbStudio.Filter
        public CollectionVM(CollectionModel model, CollectionWrkspcVM wrkspc)
        {
            _model = model;
            Workspace = wrkspc;
            Filter = new CollectionFilterData();
            Columns = new ObservableCollection<PropertyDefinitionModel> { new PropertyDefinitionModel { Name = "id", Path="id", Type = Enums.PropertyType.String } };
            this.AvailableProperties = new ObservableCollection<PropertyDefinitionModel>();
            this.MaxItems = 20;
        }