示例#1
0
 public void addView(ViewSchema viw)
 {
     if (V.ContainsKey(viw.ViewName))
     {
         if (viw.Columns != null)
         {
             if (viw.Columns.Count() > 0)
             {
                 Views           = Views.Update(viw);
                 V[viw.ViewName] = viw;
             }
         }
     }
     else
     {
         Views = Views.AddItemToArray(viw);
         V.Add(viw.ViewName, viw);
     }
 }
 public bool Equals(ViewSchema obj)
 {
     return(obj != null && obj.GetHashCode() == this.GetHashCode());
 }