Ejemplo n.º 1
0
		public void EditNiceNames(Views coll)
		{
			DataTable dt = ProLogForNiceNames(coll);
			DataRowCollection rows = dt.Rows;

			foreach(MyMeta.View o in coll)
			{
				rows.Add(new object[] { o.Name, o.Alias, o } );
			}

			EpilogForNiceNames(dt);
		}
Ejemplo n.º 2
0
		public void EditNiceNames(Views coll)
        {
            if (this._currentHashCode == coll.GetHashCode()) return;

			DataTable dt = ProLogForNiceNames(coll);
			DataRowCollection rows = dt.Rows;

			foreach(MyMeta.View o in coll)
			{
				rows.Add(new object[] { o.Name, o.Alias, o } );
			}

            EpilogForNiceNames(dt);

            this._currentHashCode = coll.GetHashCode();
		}