Exemplo n.º 1
0
 public FamilyComponent(DataRowView view, SQLiteConnection connection, User user, object application) : base(view, connection, user)
 {
     RefferencePlaneItems = new FamilyComponentReferencePlaneViewModel(view.Row.Table.DataSet, connection, user, application);
     FamilyGeometryItems  = new FamilyComponentGeometryViewModel(view.Row.Table.DataSet, connection, user, application);
     ParameterItems       = new FamilyComponentParameterViewModel(view.Row.Table.DataSet, connection, user, application);
     ComponentTypeItems   = new FamilyComponentTypeViewModel(view.Row.Table.DataSet, connection, user);
 }
Exemplo n.º 2
0
 public FamFactoryComponentViewModel(DataSet dataSet, System.Data.SQLite.SQLiteConnection sQLiteConnection, User user, object application) : base(dataSet, sQLiteConnection, user, application)
 {
     FamilyComponentTypeItems = new FamilyComponentTypeViewModel(dataSet, sQLiteConnection, user, application);
     ComponentDataView        = InternalDataSet.Tables[TableNames.FF_FamilyComponents].DefaultView;
     RefreshCollections();
 }