public ItemModel() { tagsCollection = new RelatedModelsCollection <TagModel, ItemTagModel, ItemModel, TagModel> (this); }
public TagModel() { itemsCollection = new RelatedModelsCollection <ItemModel, ItemTagModel, ItemModel, TagModel> (this); }
public WorkspaceModel() { usersCollection = new RelatedModelsCollection <UserModel, WorkspaceUserModel, WorkspaceModel, UserModel> (this); }
public TagModel() { workspaceRelationId = ForeignRelation <WorkspaceModel> (PropertyWorkspaceId, PropertyWorkspace); timeEntriesCollection = new RelatedModelsCollection <TimeEntryModel, TimeEntryTagModel, TimeEntryModel, TagModel> (this); }
public ProjectModel() { workspaceRelationId = ForeignRelation <WorkspaceModel> (PropertyWorkspaceId, PropertyWorkspace); clientRelationId = ForeignRelation <ClientModel> (PropertyClientId, PropertyClient); usersCollection = new RelatedModelsCollection <UserModel, ProjectUserModel, ProjectModel, UserModel> (this); }
public UserModel() { defaultWorkspaceRelationId = ForeignRelation <WorkspaceModel> (PropertyDefaultWorkspaceId, PropertyDefaultWorkspace); workspacesCollection = new RelatedModelsCollection <WorkspaceModel, WorkspaceUserModel, WorkspaceModel, UserModel> (this); projectsCollection = new RelatedModelsCollection <ProjectModel, ProjectUserModel, ProjectModel, UserModel> (this); }