Beispiel #1
0
 internal View(Domino.NotesView view, IDatabase parentDb)
 {
     this._parentDb = parentDb;
     this._view     = view;
     if (this._view.IsCalendar)
     {
         this._sourceType = NotesViewType.Calendar;
     }
     else
     {
         this._sourceType = NotesViewType.Standard;
     }
     this._targetType       = Enums.MappingInfo.GetTargetViewType(this.SourceType);
     this._name             = this._view.Name;
     this.DisplayName       = this._view.Name;
     this._isDefualt        = view.IsDefaultView;
     this.IsDefaultView     = view.IsDefaultView;
     this._selectionFormula = view.SelectionFormula;
     this._notesUrl         = view.NotesURL;
     this._viewCondition    = new LogicItem(LogicType.And);
     this._taskId           = string.Empty;
     this.IsTarget          = false;
     this.RowLimit          = 30;
     this.ShowChecked       = false;
     this.IsPaged           = false;
 }
Beispiel #2
0
        private List <string> GetAliases(Domino.NotesView view)
        {
            List <string> aliases = new List <string>();

            string[] names = ((object[])view.Aliases).Cast <string>().ToArray();
            aliases.AddRange(names);
            return(aliases);
        }