From: <mar...@us...> - 2010-02-19 14:45:57
|
Revision: 32 http://cronoscontrol.svn.sourceforge.net/cronoscontrol/?rev=32&view=rev Author: marioarce Date: 2010-02-19 14:45:32 +0000 (Fri, 19 Feb 2010) Log Message: ----------- Ticket #1 recreated the ADO.NET Entity Data Model due to inconsistencies between the model and the database Modified Paths: -------------- source/trunk/CronosControl/CronosControlBusinessClassLibrary/CronosControlBusinessClassLibrary.csproj source/trunk/CronosControl/CronosControlClassLibrary/CronosControlModel.Designer.cs source/trunk/CronosControl/CronosControlClassLibrary/CronosControlModel.edmx source/trunk/CronosControl/CronosControlClassLibrary/app.config Modified: source/trunk/CronosControl/CronosControlBusinessClassLibrary/CronosControlBusinessClassLibrary.csproj =================================================================== --- source/trunk/CronosControl/CronosControlBusinessClassLibrary/CronosControlBusinessClassLibrary.csproj 2010-02-13 21:26:47 UTC (rev 31) +++ source/trunk/CronosControl/CronosControlBusinessClassLibrary/CronosControlBusinessClassLibrary.csproj 2010-02-19 14:45:32 UTC (rev 32) @@ -79,14 +79,14 @@ <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> + <None Include="App.config" /> + </ItemGroup> + <ItemGroup> <ProjectReference Include="..\CronosControlClassLibrary\CronosControlDataAccessClassLibrary.csproj"> <Project>{7191E8B4-4497-40E8-BD9A-04CD4EF802FC}</Project> <Name>CronosControlDataAccessClassLibrary</Name> </ProjectReference> </ItemGroup> - <ItemGroup> - <None Include="App.config" /> - </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. Modified: source/trunk/CronosControl/CronosControlClassLibrary/CronosControlModel.Designer.cs =================================================================== --- source/trunk/CronosControl/CronosControlClassLibrary/CronosControlModel.Designer.cs 2010-02-13 21:26:47 UTC (rev 31) +++ source/trunk/CronosControl/CronosControlClassLibrary/CronosControlModel.Designer.cs 2010-02-19 14:45:32 UTC (rev 32) @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. -// Runtime Version:2.0.50727.3603 +// Runtime Version:2.0.50727.3053 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -9,34 +9,37 @@ //------------------------------------------------------------------------------ [assembly: global::System.Data.Objects.DataClasses.EdmSchemaAttribute()] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_Calendar_Company", "Company", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Company), "Calendar", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.Calendar))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_Holiday_Calendar", "Calendar", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Calendar), "Holiday", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.Holiday))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_Client_Company", "Company", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Company), "Client", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.Client))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_Project_Client", "Client", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Client), "Project", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.Project))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_Role_Company", "Company", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Company), "Role", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.Role))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_TimeCategory_Company", "Company", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Company), "TimeCategory", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.TimeCategory))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_ProjectCostCenter_CostCenter", "CostCenter", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.CostCenter), "ProjectCostCenter", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.ProjectCostCenter))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_TimeSheetCostCenter_CostCenter", "CostCenter", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.CostCenter), "TimeSheetCostCenter", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.TimeSheetCostCenter))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_IdUserProjectRoleDocument_Document", "Document", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Document), "UserProjectRoleDocument", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.UserProjectRoleDocument))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_ProjectDocument_Document", "Document", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Document), "ProjectDocument", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.ProjectDocument))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_Project_User", "User", global::System.Data.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(CronosControl.Model.User), "Project", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.Project))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_ProjectCostCenter_Project", "Project", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Project), "ProjectCostCenter", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.ProjectCostCenter))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_ProjectDocument_Project", "Project", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Project), "ProjectDocument", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.ProjectDocument))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_Tasks_Project", "Project", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Project), "Task", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.Task))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_TimeSheet_Project", "Project", global::System.Data.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(CronosControl.Model.Project), "TimeSheet", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.TimeSheet))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_UserProjectRole_Project", "Project", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Project), "UserProjectRole", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.UserProjectRole))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_UserProjectRole_Role", "Role", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Role), "UserProjectRole", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.UserProjectRole))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_TimeSheetHour_Tasks", "Task", global::System.Data.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(CronosControl.Model.Task), "TimeSheetHour", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.TimeSheetHour))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_TimeSheetHourTimeCategory_TimeCategory", "TimeCategory", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.TimeCategory), "TimeSheetHourTimeCategory", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.TimeSheetHourTimeCategory))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_TimeSheet_User", "User", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.User), "TimeSheet", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.TimeSheet))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_TimeSheetCostCenter_TimeSheet", "TimeSheet", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.TimeSheet), "TimeSheetCostCenter", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.TimeSheetCostCenter))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_TimeSheetHour_TimeSheet", "TimeSheet", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.TimeSheet), "TimeSheetHour", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.TimeSheetHour))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_TimeSheetHour_User", "User", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.User), "TimeSheetHour", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.TimeSheetHour))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_TimeSheetHourTimeCategory_TimeSheetHour", "TimeSheetHour", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.TimeSheetHour), "TimeSheetHourTimeCategory", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.TimeSheetHourTimeCategory))] -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControlModel", "FK_IdUserProjectRoleDocument_UserProjectRole", "UserProjectRole", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.UserProjectRole), "UserProjectRoleDocument", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.UserProjectRoleDocument))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_Calendar_Company", "Company", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Company), "Calendar", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.Calendar))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_Holiday_Calendar", "Calendar", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Calendar), "Holiday", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.Holiday))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_Client_Company", "Company", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Company), "Client", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.Client))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_Project_Client", "Client", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Client), "Project", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.Project))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_Role_Company", "Company", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Company), "Role", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.Role))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_TimeCategory_Company", "Company", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Company), "TimeCategory", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.TimeCategory))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_ProjectCostCenter_CostCenter", "CostCenter", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.CostCenter), "ProjectCostCenter", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.ProjectCostCenter))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_TimeSheetCostCenter_CostCenter", "CostCenter", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.CostCenter), "TimeSheetCostCenter", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.TimeSheetCostCenter))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_IdUserProjectRoleDocument_Document", "Document", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Document), "UserProjectRoleDocument", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.UserProjectRoleDocument))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_ProjectDocument_Document", "Document", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Document), "ProjectDocument", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.ProjectDocument))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_Project_User", "User", global::System.Data.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(CronosControl.Model.User), "Project", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.Project))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_ProjectCostCenter_Project", "Project", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Project), "ProjectCostCenter", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.ProjectCostCenter))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_ProjectDocument_Project", "Project", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Project), "ProjectDocument", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.ProjectDocument))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_Tasks_Project", "Project", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Project), "Task", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.Task))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_TimeSheet_Project", "Project", global::System.Data.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(CronosControl.Model.Project), "TimeSheet", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.TimeSheet))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_UserProjectRole_Project", "Project", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Project), "UserProjectRole", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.UserProjectRole))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_UserProjectRole_Role", "Role", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.Role), "UserProjectRole", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.UserProjectRole))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_TimeSheetHour_Tasks", "Task", global::System.Data.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(CronosControl.Model.Task), "TimeSheetHour", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.TimeSheetHour))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_TimeSheetHour_TimeCategory", "TimeCategory", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.TimeCategory), "TimeSheetHour", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.TimeSheetHour))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_TimeSheetHourTimeCategory_TimeCategory", "TimeCategory", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.TimeCategory), "TimeSheetHourTimeCategory", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.TimeSheetHourTimeCategory))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_TimeSheet_User", "User", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.User), "TimeSheet", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.TimeSheet))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_TimeSheetCostCenter_TimeSheet", "TimeSheet", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.TimeSheet), "TimeSheetCostCenter", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.TimeSheetCostCenter))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_TimeSheetHour_TimeSheet", "TimeSheet", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.TimeSheet), "TimeSheetHour", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.TimeSheetHour))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_TimeSheetHour_User", "User", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.User), "TimeSheetHour", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.TimeSheetHour))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_TimeSheetHourTimeCategory_TimeSheetHour", "TimeSheetHour", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.TimeSheetHour), "TimeSheetHourTimeCategory", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.TimeSheetHourTimeCategory))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_UserProjectRole_User", "User", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.User), "UserProjectRole", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.UserProjectRole))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_UserSession_User", "User", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.User), "UserSession", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.UserSession))] +[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("CronosControl.Model", "FK_IdUserProjectRoleDocument_UserProjectRole", "UserProjectRole", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(CronosControl.Model.UserProjectRole), "UserProjectRoleDocument", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(CronosControl.Model.UserProjectRoleDocument))] // Original file name: -// Generation date: 11/20/2009 4:28:23 PM +// Generation date: 2/15/2010 5:38:48 PM namespace CronosControl.Model { @@ -356,6 +359,21 @@ } private global::System.Data.Objects.ObjectQuery<UserProjectRoleDocument> _UserProjectRoleDocument; /// <summary> + /// There are no comments for UserSession in the schema. + /// </summary> + public global::System.Data.Objects.ObjectQuery<UserSession> UserSession + { + get + { + if ((this._UserSession == null)) + { + this._UserSession = base.CreateQuery<UserSession>("[UserSession]"); + } + return this._UserSession; + } + } + private global::System.Data.Objects.ObjectQuery<UserSession> _UserSession; + /// <summary> /// There are no comments for Calendar in the schema. /// </summary> public void AddToCalendar(Calendar calendar) @@ -488,14 +506,21 @@ { base.AddObject("UserProjectRoleDocument", userProjectRoleDocument); } + /// <summary> + /// There are no comments for UserSession in the schema. + /// </summary> + public void AddToUserSession(UserSession userSession) + { + base.AddObject("UserSession", userSession); + } } /// <summary> - /// There are no comments for CronosControlModel.Calendar in the schema. + /// There are no comments for CronosControl.Model.Calendar in the schema. /// </summary> /// <KeyProperties> /// IdCalendar /// </KeyProperties> - [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="CronosControlModel", Name="Calendar")] + [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="CronosControl.Model", Name="Calendar")] [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)] [global::System.Serializable()] public partial class Calendar : global::System.Data.Objects.DataClasses.EntityObject @@ -619,7 +644,7 @@ { return this._CreatedAt; } - private set + set { this.OnCreatedAtChanging(value); this.ReportPropertyChanging("CreatedAt"); @@ -680,7 +705,7 @@ /// <summary> /// There are no comments for Company in the schema. /// </summary> - [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControlModel", "FK_Calendar_Company", "Company")] + [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControl.Model", "FK_Calendar_Company", "Company")] [global::System.Xml.Serialization.XmlIgnoreAttribute()] [global::System.Xml.Serialization.SoapIgnoreAttribute()] [global::System.Runtime.Serialization.DataMemberAttribute()] @@ -688,11 +713,11 @@ { get { - return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Company>("CronosControlModel.FK_Calendar_Company", "Company").Value; + return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Company>("CronosControl.Model.FK_Calendar_Company", "Company").Value; } set { - ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Company>("CronosControlModel.FK_Calendar_Company", "Company").Value = value; + ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Company>("CronosControl.Model.FK_Calendar_Company", "Company").Value = value; } } /// <summary> @@ -704,20 +729,20 @@ { get { - return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Company>("CronosControlModel.FK_Calendar_Company", "Company"); + return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Company>("CronosControl.Model.FK_Calendar_Company", "Company"); } set { if ((value != null)) { - ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Company>("CronosControlModel.FK_Calendar_Company", "Company", value); + ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Company>("CronosControl.Model.FK_Calendar_Company", "Company", value); } } } /// <summary> /// There are no comments for Holiday in the schema. /// </summary> - [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControlModel", "FK_Holiday_Calendar", "Holiday")] + [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControl.Model", "FK_Holiday_Calendar", "Holiday")] [global::System.Xml.Serialization.XmlIgnoreAttribute()] [global::System.Xml.Serialization.SoapIgnoreAttribute()] [global::System.Runtime.Serialization.DataMemberAttribute()] @@ -725,24 +750,24 @@ { get { - return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Holiday>("CronosControlModel.FK_Holiday_Calendar", "Holiday"); + return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Holiday>("CronosControl.Model.FK_Holiday_Calendar", "Holiday"); } set { if ((value != null)) { - ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Holiday>("CronosControlModel.FK_Holiday_Calendar", "Holiday", value); + ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Holiday>("CronosControl.Model.FK_Holiday_Calendar", "Holiday", value); } } } } /// <summary> - /// There are no comments for CronosControlModel.Client in the schema. + /// There are no comments for CronosControl.Model.Client in the schema. /// </summary> /// <KeyProperties> /// IdClient /// </KeyProperties> - [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="CronosControlModel", Name="Client")] + [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="CronosControl.Model", Name="Client")] [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)] [global::System.Serializable()] public partial class Client : global::System.Data.Objects.DataClasses.EntityObject @@ -843,7 +868,7 @@ { return this._CreatedAt; } - private set + set { this.OnCreatedAtChanging(value); this.ReportPropertyChanging("CreatedAt"); @@ -904,7 +929,7 @@ /// <summary> /// There are no comments for Company in the schema. /// </summary> - [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControlModel", "FK_Client_Company", "Company")] + [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControl.Model", "FK_Client_Company", "Company")] [global::System.Xml.Serialization.XmlIgnoreAttribute()] [global::System.Xml.Serialization.SoapIgnoreAttribute()] [global::System.Runtime.Serialization.DataMemberAttribute()] @@ -912,11 +937,11 @@ { get { - return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Company>("CronosControlModel.FK_Client_Company", "Company").Value; + return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Company>("CronosControl.Model.FK_Client_Company", "Company").Value; } set { - ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Company>("CronosControlModel.FK_Client_Company", "Company").Value = value; + ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Company>("CronosControl.Model.FK_Client_Company", "Company").Value = value; } } /// <summary> @@ -928,20 +953,20 @@ { get { - return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Company>("CronosControlModel.FK_Client_Company", "Company"); + return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Company>("CronosControl.Model.FK_Client_Company", "Company"); } set { if ((value != null)) { - ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Company>("CronosControlModel.FK_Client_Company", "Company", value); + ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Company>("CronosControl.Model.FK_Client_Company", "Company", value); } } } /// <summary> /// There are no comments for Project in the schema. /// </summary> - [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControlModel", "FK_Project_Client", "Project")] + [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControl.Model", "FK_Project_Client", "Project")] [global::System.Xml.Serialization.XmlIgnoreAttribute()] [global::System.Xml.Serialization.SoapIgnoreAttribute()] [global::System.Runtime.Serialization.DataMemberAttribute()] @@ -949,24 +974,24 @@ { get { - return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Project>("CronosControlModel.FK_Project_Client", "Project"); + return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Project>("CronosControl.Model.FK_Project_Client", "Project"); } set { if ((value != null)) { - ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Project>("CronosControlModel.FK_Project_Client", "Project", value); + ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Project>("CronosControl.Model.FK_Project_Client", "Project", value); } } } } /// <summary> - /// There are no comments for CronosControlModel.Company in the schema. + /// There are no comments for CronosControl.Model.Company in the schema. /// </summary> /// <KeyProperties> /// IdCompany /// </KeyProperties> - [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="CronosControlModel", Name="Company")] + [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="CronosControl.Model", Name="Company")] [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)] [global::System.Serializable()] public partial class Company : global::System.Data.Objects.DataClasses.EntityObject @@ -1067,7 +1092,7 @@ { return this._CreatedAt; } - private set + set { this.OnCreatedAtChanging(value); this.ReportPropertyChanging("CreatedAt"); @@ -1128,7 +1153,7 @@ /// <summary> /// There are no comments for Calendar in the schema. /// </summary> - [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControlModel", "FK_Calendar_Company", "Calendar")] + [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControl.Model", "FK_Calendar_Company", "Calendar")] [global::System.Xml.Serialization.XmlIgnoreAttribute()] [global::System.Xml.Serialization.SoapIgnoreAttribute()] [global::System.Runtime.Serialization.DataMemberAttribute()] @@ -1136,20 +1161,20 @@ { get { - return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Calendar>("CronosControlModel.FK_Calendar_Company", "Calendar"); + return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Calendar>("CronosControl.Model.FK_Calendar_Company", "Calendar"); } set { if ((value != null)) { - ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Calendar>("CronosControlModel.FK_Calendar_Company", "Calendar", value); + ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Calendar>("CronosControl.Model.FK_Calendar_Company", "Calendar", value); } } } /// <summary> /// There are no comments for Client in the schema. /// </summary> - [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControlModel", "FK_Client_Company", "Client")] + [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControl.Model", "FK_Client_Company", "Client")] [global::System.Xml.Serialization.XmlIgnoreAttribute()] [global::System.Xml.Serialization.SoapIgnoreAttribute()] [global::System.Runtime.Serialization.DataMemberAttribute()] @@ -1157,20 +1182,20 @@ { get { - return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Client>("CronosControlModel.FK_Client_Company", "Client"); + return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Client>("CronosControl.Model.FK_Client_Company", "Client"); } set { if ((value != null)) { - ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Client>("CronosControlModel.FK_Client_Company", "Client", value); + ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Client>("CronosControl.Model.FK_Client_Company", "Client", value); } } } /// <summary> /// There are no comments for Role in the schema. /// </summary> - [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControlModel", "FK_Role_Company", "Role")] + [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControl.Model", "FK_Role_Company", "Role")] [global::System.Xml.Serialization.XmlIgnoreAttribute()] [global::System.Xml.Serialization.SoapIgnoreAttribute()] [global::System.Runtime.Serialization.DataMemberAttribute()] @@ -1178,20 +1203,20 @@ { get { - return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Role>("CronosControlModel.FK_Role_Company", "Role"); + return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Role>("CronosControl.Model.FK_Role_Company", "Role"); } set { if ((value != null)) { - ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Role>("CronosControlModel.FK_Role_Company", "Role", value); + ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Role>("CronosControl.Model.FK_Role_Company", "Role", value); } } } /// <summary> /// There are no comments for TimeCategory in the schema. /// </summary> - [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControlModel", "FK_TimeCategory_Company", "TimeCategory")] + [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControl.Model", "FK_TimeCategory_Company", "TimeCategory")] [global::System.Xml.Serialization.XmlIgnoreAttribute()] [global::System.Xml.Serialization.SoapIgnoreAttribute()] [global::System.Runtime.Serialization.DataMemberAttribute()] @@ -1199,24 +1224,24 @@ { get { - return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<TimeCategory>("CronosControlModel.FK_TimeCategory_Company", "TimeCategory"); + return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<TimeCategory>("CronosControl.Model.FK_TimeCategory_Company", "TimeCategory"); } set { if ((value != null)) { - ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<TimeCategory>("CronosControlModel.FK_TimeCategory_Company", "TimeCategory", value); + ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<TimeCategory>("CronosControl.Model.FK_TimeCategory_Company", "TimeCategory", value); } } } } /// <summary> - /// There are no comments for CronosControlModel.CostCenter in the schema. + /// There are no comments for CronosControl.Model.CostCenter in the schema. /// </summary> /// <KeyProperties> /// IdCostCenter /// </KeyProperties> - [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="CronosControlModel", Name="CostCenter")] + [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="CronosControl.Model", Name="CostCenter")] [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)] [global::System.Serializable()] public partial class CostCenter : global::System.Data.Objects.DataClasses.EntityObject @@ -1317,7 +1342,7 @@ { return this._CreatedAt; } - private set + set { this.OnCreatedAtChanging(value); this.ReportPropertyChanging("CreatedAt"); @@ -1378,7 +1403,7 @@ /// <summary> /// There are no comments for ProjectCostCenter in the schema. /// </summary> - [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControlModel", "FK_ProjectCostCenter_CostCenter", "ProjectCostCenter")] + [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControl.Model", "FK_ProjectCostCenter_CostCenter", "ProjectCostCenter")] [global::System.Xml.Serialization.XmlIgnoreAttribute()] [global::System.Xml.Serialization.SoapIgnoreAttribute()] [global::System.Runtime.Serialization.DataMemberAttribute()] @@ -1386,20 +1411,20 @@ { get { - return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<ProjectCostCenter>("CronosControlModel.FK_ProjectCostCenter_CostCenter", "ProjectCostCenter"); + return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<ProjectCostCenter>("CronosControl.Model.FK_ProjectCostCenter_CostCenter", "ProjectCostCenter"); } set { if ((value != null)) { - ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<ProjectCostCenter>("CronosControlModel.FK_ProjectCostCenter_CostCenter", "ProjectCostCenter", value); + ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<ProjectCostCenter>("CronosControl.Model.FK_ProjectCostCenter_CostCenter", "ProjectCostCenter", value); } } } /// <summary> /// There are no comments for TimeSheetCostCenter in the schema. /// </summary> - [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControlModel", "FK_TimeSheetCostCenter_CostCenter", "TimeSheetCostCenter")] + [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControl.Model", "FK_TimeSheetCostCenter_CostCenter", "TimeSheetCostCenter")] [global::System.Xml.Serialization.XmlIgnoreAttribute()] [global::System.Xml.Serialization.SoapIgnoreAttribute()] [global::System.Runtime.Serialization.DataMemberAttribute()] @@ -1407,24 +1432,24 @@ { get { - return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<TimeSheetCostCenter>("CronosControlModel.FK_TimeSheetCostCenter_CostCenter", "TimeSheetCostCenter"); + return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<TimeSheetCostCenter>("CronosControl.Model.FK_TimeSheetCostCenter_CostCenter", "TimeSheetCostCenter"); } set { if ((value != null)) { - ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<TimeSheetCostCenter>("CronosControlModel.FK_TimeSheetCostCenter_CostCenter", "TimeSheetCostCenter", value); + ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<TimeSheetCostCenter>("CronosControl.Model.FK_TimeSheetCostCenter_CostCenter", "TimeSheetCostCenter", value); } } } } /// <summary> - /// There are no comments for CronosControlModel.Document in the schema. + /// There are no comments for CronosControl.Model.Document in the schema. /// </summary> /// <KeyProperties> /// IdDocument /// </KeyProperties> - [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="CronosControlModel", Name="Document")] + [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="CronosControl.Model", Name="Document")] [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)] [global::System.Serializable()] public partial class Document : global::System.Data.Objects.DataClasses.EntityObject @@ -1594,7 +1619,7 @@ { return this._CreatedAt; } - private set + set { this.OnCreatedAtChanging(value); this.ReportPropertyChanging("CreatedAt"); @@ -1655,7 +1680,7 @@ /// <summary> /// There are no comments for UserProjectRoleDocument in the schema. /// </summary> - [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControlModel", "FK_IdUserProjectRoleDocument_Document", "UserProjectRoleDocument")] + [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControl.Model", "FK_IdUserProjectRoleDocument_Document", "UserProjectRoleDocument")] [global::System.Xml.Serialization.XmlIgnoreAttribute()] [global::System.Xml.Serialization.SoapIgnoreAttribute()] [global::System.Runtime.Serialization.DataMemberAttribute()] @@ -1663,20 +1688,20 @@ { get { - return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<UserProjectRoleDocument>("CronosControlModel.FK_IdUserProjectRoleDocument_Document", "UserProjectRoleDocument"); + return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<UserProjectRoleDocument>("CronosControl.Model.FK_IdUserProjectRoleDocument_Document", "UserProjectRoleDocument"); } set { if ((value != null)) { - ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<UserProjectRoleDocument>("CronosControlModel.FK_IdUserProjectRoleDocument_Document", "UserProjectRoleDocument", value); + ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<UserProjectRoleDocument>("CronosControl.Model.FK_IdUserProjectRoleDocument_Document", "UserProjectRoleDocument", value); } } } /// <summary> /// There are no comments for ProjectDocument in the schema. /// </summary> - [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControlModel", "FK_ProjectDocument_Document", "ProjectDocument")] + [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControl.Model", "FK_ProjectDocument_Document", "ProjectDocument")] [global::System.Xml.Serialization.XmlIgnoreAttribute()] [global::System.Xml.Serialization.SoapIgnoreAttribute()] [global::System.Runtime.Serialization.DataMemberAttribute()] @@ -1684,24 +1709,24 @@ { get { - return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<ProjectDocument>("CronosControlModel.FK_ProjectDocument_Document", "ProjectDocument"); + return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<ProjectDocument>("CronosControl.Model.FK_ProjectDocument_Document", "ProjectDocument"); } set { if ((value != null)) { - ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<ProjectDocument>("CronosControlModel.FK_ProjectDocument_Document", "ProjectDocument", value); + ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<ProjectDocument>("CronosControl.Model.FK_ProjectDocument_Document", "ProjectDocument", value); } } } } /// <summary> - /// There are no comments for CronosControlModel.Holiday in the schema. + /// There are no comments for CronosControl.Model.Holiday in the schema. /// </summary> /// <KeyProperties> /// IdHoliday /// </KeyProperties> - [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="CronosControlModel", Name="Holiday")] + [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="CronosControl.Model", Name="Holiday")] [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)] [global::System.Serializable()] public partial class Holiday : global::System.Data.Objects.DataClasses.EntityObject @@ -1829,7 +1854,7 @@ { return this._CreatedAt; } - private set + set { this.OnCreatedAtChanging(value); this.ReportPropertyChanging("CreatedAt"); @@ -1890,7 +1915,7 @@ /// <summary> /// There are no comments for Calendar in the schema. /// </summary> - [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControlModel", "FK_Holiday_Calendar", "Calendar")] + [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControl.Model", "FK_Holiday_Calendar", "Calendar")] [global::System.Xml.Serialization.XmlIgnoreAttribute()] [global::System.Xml.Serialization.SoapIgnoreAttribute()] [global::System.Runtime.Serialization.DataMemberAttribute()] @@ -1898,11 +1923,11 @@ { get { - return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Calendar>("CronosControlModel.FK_Holiday_Calendar", "Calendar").Value; + return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Calendar>("CronosControl.Model.FK_Holiday_Calendar", "Calendar").Value; } set { - ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Calendar>("CronosControlModel.FK_Holiday_Calendar", "Calendar").Value = value; + ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Calendar>("CronosControl.Model.FK_Holiday_Calendar", "Calendar").Value = value; } } /// <summary> @@ -1914,24 +1939,24 @@ { get { - return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Calendar>("CronosControlModel.FK_Holiday_Calendar", "Calendar"); + return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Calendar>("CronosControl.Model.FK_Holiday_Calendar", "Calendar"); } set { if ((value != null)) { - ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Calendar>("CronosControlModel.FK_Holiday_Calendar", "Calendar", value); + ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Calendar>("CronosControl.Model.FK_Holiday_Calendar", "Calendar", value); } } } } /// <summary> - /// There are no comments for CronosControlModel.Project in the schema. + /// There are no comments for CronosControl.Model.Project in the schema. /// </summary> /// <KeyProperties> /// IdProject /// </KeyProperties> - [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="CronosControlModel", Name="Project")] + [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="CronosControl.Model", Name="Project")] [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)] [global::System.Serializable()] public partial class Project : global::System.Data.Objects.DataClasses.EntityObject @@ -2078,7 +2103,7 @@ { return this._CreatedAt; } - private set + set { this.OnCreatedAtChanging(value); this.ReportPropertyChanging("CreatedAt"); @@ -2139,7 +2164,7 @@ /// <summary> /// There are no comments for Client in the schema. /// </summary> - [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControlModel", "FK_Project_Client", "Client")] + [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControl.Model", "FK_Project_Client", "Client")] [global::System.Xml.Serialization.XmlIgnoreAttribute()] [global::System.Xml.Serialization.SoapIgnoreAttribute()] [global::System.Runtime.Serialization.DataMemberAttribute()] @@ -2147,11 +2172,11 @@ { get { - return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Client>("CronosControlModel.FK_Project_Client", "Client").Value; + return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Client>("CronosControl.Model.FK_Project_Client", "Client").Value; } set { - ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Client>("CronosControlModel.FK_Project_Client", "Client").Value = value; + ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Client>("CronosControl.Model.FK_Project_Client", "Client").Value = value; } } /// <summary> @@ -2163,20 +2188,20 @@ { get { - return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Client>("CronosControlModel.FK_Project_Client", "Client"); + return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Client>("CronosControl.Model.FK_Project_Client", "Client"); } set { if ((value != null)) { - ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Client>("CronosControlModel.FK_Project_Client", "Client", value); + ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Client>("CronosControl.Model.FK_Project_Client", "Client", value); } } } /// <summary> /// There are no comments for User in the schema. /// </summary> - [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControlModel", "FK_Project_User", "User")] + [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("CronosControl.Model", "FK_Project_User", "User")] [global::System.Xml.Serialization.XmlIgnoreAttribute()] [global::System.Xml.Serialization.SoapIgnoreAttribute()] [global::System.Runtime.Serialization.DataMemberAttribute()] @@ -2184,11 +2209,11 @@ { get { - return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<User>("CronosControlModel.FK_Project_User", "User").Value; + return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<User>("CronosControl.Model.FK_Project_User", "User").Value; } set { - ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<User>("CronosControlModel.FK_Project_User", "User").Value = value; + ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<User>("CronosControl.Model.FK_Project_User", "User").Value = value; } } /// <summary> @@ -2200,20 +2225,20 @@ { get { - return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<User>("CronosControlModel.FK_Project_User", "User"); + return ((global::System.Data.Objects.DataClasses.IEntityWithRelationship... [truncated message content] |