Beispiel #1
0
 public SchemaVirtualTable()
 {
     properties = new SchemaVirtualTableProperties();
 }
Beispiel #2
0
        public static SchemaVirtualTable GetVirtualTable(Guid id, SchemaVirtualTableProperties _properties)
        {
            if (VirtualTables.ContainsKey(id))
            {
                var retTable = (SchemaVirtualTable)Activator.CreateInstance(VirtualTables[id].GetType());

                retTable.properties = _properties;
                if (retTable.properties != null)
                {
                    retTable.properties.Table = retTable;
                    retTable.properties.PropertyChanged += retTable.properties_PropertyChanged;
                    retTable.ResetColumns();
                }

                return retTable;
            }
            else
                return null;
        }