a7DocumentDbStudio.ViewModel.CollectionVM.CollectionVM C# (CSharp) Method

CollectionVM() public method

public CollectionVM ( CollectionModel model, CollectionWrkspcVM wrkspc ) : a7DocumentDbStudio.Filter
model CollectionModel
wrkspc a7DocumentDbStudio.ViewModel.Workspace.CollectionWrkspcVM
return 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;
        }