EnVisageOnline/Main-RMO/Source/EnVisage/DataModel.edmx

5997 lines
350 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
<!-- EF Runtime content -->
<edmx:Runtime>
<!-- SSDL content -->
<edmx:StorageModels>
<Schema Namespace="EnVisageModel.Store" Provider="System.Data.SqlClient" ProviderManifestToken="2008" Alias="Self" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
<EntityType Name="AspNetRoles">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="nvarchar" MaxLength="128" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="4000" />
</EntityType>
<EntityType Name="AspNetUserRoles">
<Key>
<PropertyRef Name="UserId" />
<PropertyRef Name="RoleId" />
</Key>
<Property Name="UserId" Type="nvarchar" MaxLength="128" Nullable="false" />
<Property Name="RoleId" Type="nvarchar" MaxLength="128" Nullable="false" />
</EntityType>
<EntityType Name="AspNetUsers">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="nvarchar" MaxLength="128" Nullable="false" />
<Property Name="UserName" Type="nvarchar" MaxLength="4000" />
<Property Name="PasswordHash" Type="nvarchar" MaxLength="4000" />
<Property Name="SecurityStamp" Type="nvarchar" MaxLength="4000" />
<Property Name="Discriminator" Type="nvarchar" MaxLength="2048" />
<Property Name="Email" Type="nvarchar" MaxLength="2048" />
<Property Name="Phone" Type="nvarchar" MaxLength="80" />
<Property Name="Type" Type="smallint" Nullable="false" />
<Property Name="PreferredResourceAllocation" Type="bit" Nullable="false" />
<Property Name="PreferredTotalsDisplaying" Type="bit" Nullable="false" />
<Property Name="FirstName" Type="nvarchar" MaxLength="40" />
<Property Name="LastName" Type="nvarchar" MaxLength="40" />
</EntityType>
<EntityType Name="Attachments">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ParentId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ParentType" Type="nvarchar" MaxLength="500" Nullable="false" />
<Property Name="SourceFileName" Type="nvarchar" MaxLength="500" Nullable="false" />
<Property Name="FileName" Type="nvarchar" MaxLength="1000" Nullable="false" />
<Property Name="ContentType" Type="nvarchar" MaxLength="100" />
<Property Name="FileSize" Type="int" />
<Property Name="Created" Type="datetime" />
</EntityType>
<EntityType Name="Client">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="800" />
<Property Name="GLAccountId" Type="uniqueidentifier" />
<Property Name="ClientNumber" Type="nvarchar" MaxLength="100" />
</EntityType>
<EntityType Name="Company">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="800" />
<Property Name="ParentCompanyId" Type="uniqueidentifier" />
</EntityType>
<EntityType Name="Company2Client">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="CompanyId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ClientId" Type="uniqueidentifier" Nullable="false" />
</EntityType>
<EntityType Name="Company2View">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="CompanyId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ViewId" Type="uniqueidentifier" />
</EntityType>
<EntityType Name="Contact">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="Type" Type="int" Nullable="false" />
<Property Name="LastName" Type="nvarchar" MaxLength="400" />
<Property Name="FirstName" Type="nvarchar" MaxLength="400" />
<Property Name="MiddleInt" Type="char" MaxLength="1" />
<Property Name="Email" Type="nvarchar" MaxLength="400" />
<Property Name="Phone" Type="nvarchar" MaxLength="400" />
<Property Name="ParentId" Type="uniqueidentifier" />
<Property Name="ContactClassification" Type="int" Nullable="false" />
</EntityType>
<EntityType Name="Contact2Project">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ContactId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ShowId" Type="uniqueidentifier" Nullable="false" />
</EntityType>
<EntityType Name="CostSaving">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ScenarioId" Type="uniqueidentifier" Nullable="false" />
<Property Name="Year" Type="int" Nullable="false" />
<Property Name="Month" Type="smallint" Nullable="false" />
<Property Name="Cost" Type="decimal" Precision="15" Scale="4" />
</EntityType>
<EntityType Name="CreditDepartment">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="800" />
<Property Name="CreditNumber" Type="nvarchar" MaxLength="400" />
</EntityType>
<EntityType Name="Expenditure">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="800" />
</EntityType>
<EntityType Name="Expenditure2Expenditure">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ParentId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ChildId" Type="uniqueidentifier" Nullable="false" />
<Property Name="FactorType" Type="int" />
<Property Name="ProcessOrder" Type="int" />
<Property Name="FactorInt" Type="decimal" Precision="6" Scale="3" />
</EntityType>
<EntityType Name="ExpenditureCategory">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ExpenditureId" Type="uniqueidentifier" Nullable="false" />
<Property Name="GLId" Type="uniqueidentifier" Nullable="false" />
<Property Name="UOMId" Type="uniqueidentifier" Nullable="false" />
<Property Name="CreditId" Type="uniqueidentifier" Nullable="false" />
<Property Name="Type" Type="int" />
<Property Name="UseType" Type="int" />
<Property Name="CGEFX" Type="char" MaxLength="10" />
<Property Name="SortOrder" Type="int" />
<Property Name="WksSubjectToFee" Type="int" />
<Property Name="SystemAttributeOne" Type="uniqueidentifier" />
<Property Name="SystemAttributeTwo" Type="uniqueidentifier" />
<Property Name="Name" Type="nvarchar" MaxLength="800" Nullable="false" />
</EntityType>
<EntityType Name="FeeCalculation">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ExpenditureCategoryId" Type="uniqueidentifier" Nullable="false" />
<Property Name="MinShot" Type="int" Nullable="false" />
<Property Name="MaxShot" Type="int" Nullable="false" />
<Property Name="Quantity" Type="int" Nullable="false" />
</EntityType>
<EntityType Name="FiscalCalendar">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="400" />
<Property Name="Type" Type="int" Nullable="false" />
<Property Name="YearInt" Type="int" Nullable="false" />
<Property Name="QuarterInt" Type="int" Nullable="false" />
<Property Name="PeriodInt" Type="int" Nullable="false" />
<Property Name="StartDate" Type="datetime" Nullable="false" />
<Property Name="EndDate" Type="datetime" Nullable="false" />
<Property Name="SystemName" Type="nvarchar" MaxLength="800" />
<Property Name="NonWorking" Type="tinyint" Nullable="false" />
<Property Name="AdjustingPeriod" Type="bit" />
</EntityType>
<EntityType Name="FiscalCalendarSettings">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="CalendarType" Type="smallint" Nullable="false" />
<Property Name="StartingPoint" Type="datetime" Nullable="false" />
<Property Name="WeekendingDay" Type="smallint" Nullable="false" />
<Property Name="YearType" Type="smallint" Nullable="false" />
<Property Name="UseAdjustingPeriod" Type="bit" Nullable="false" />
<Property Name="EffectiveChangeDate" Type="datetime" Nullable="false" />
<Property Name="CreatedAt" Type="datetime" Nullable="false" />
</EntityType>
<EntityType Name="GLAccount">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="GLNumber" Type="nvarchar" MaxLength="160" />
<Property Name="Name" Type="nvarchar" MaxLength="800" />
</EntityType>
<EntityType Name="History">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="EntityId" Type="uniqueidentifier" />
<Property Name="XML" Type="xml" Nullable="false" />
<Property Name="TimeStamp" Type="date" Nullable="false" />
<Property Name="ModifiedBy" Type="uniqueidentifier" Nullable="false" />
<Property Name="EntityType" Type="nvarchar" MaxLength="200" />
<Property Name="ModificationType" Type="nvarchar" MaxLength="40" />
</EntityType>
<EntityType Name="Holiday">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="HolidayId" Type="uniqueidentifier" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="2040" Nullable="false" />
<Property Name="OccurrenceType" Type="smallint" Nullable="false" />
<Property Name="OccurrenceWeekDay" Type="smallint" Nullable="false" />
<Property Name="OccurrenceMonthDay" Type="smallint" Nullable="false" />
<Property Name="OccurrenceMonth" Type="smallint" Nullable="false" />
<Property Name="WorkingDay" Type="bit" Nullable="false" />
<Property Name="NonWorkingWeek" Type="bit" Nullable="false" />
<Property Name="EffectiveChangeDate" Type="datetime" Nullable="false" />
<Property Name="CreatedAt" Type="datetime" Nullable="false" />
</EntityType>
<EntityType Name="Note">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ParentId" Type="uniqueidentifier" />
<Property Name="UserId" Type="uniqueidentifier" />
<Property Name="DateAdded" Type="datetime" />
<Property Name="NoteDetail" Type="nvarchar" MaxLength="4000" />
<Property Name="DomainId" Type="uniqueidentifier" />
<Property Name="SystemAttributeId" Type="uniqueidentifier" />
<Property Name="Title" Type="nvarchar" MaxLength="400" />
</EntityType>
<EntityType Name="PasswordResetRequest">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="UserId" Type="nvarchar" MaxLength="128" Nullable="false" />
<Property Name="Token" Type="uniqueidentifier" Nullable="false" />
<Property Name="ValidUntil" Type="datetime" Nullable="false" />
</EntityType>
<EntityType Name="PeopleResource">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="FirstName" Type="nvarchar" MaxLength="1000" />
<Property Name="LastName" Type="nvarchar" MaxLength="1000" />
<Property Name="IsActiveEmployee" Type="bit" Nullable="false" />
<Property Name="TeamId" Type="uniqueidentifier" />
<Property Name="ExpenditureCategoryId" Type="uniqueidentifier" Nullable="false" />
<Property Name="StartDate" Type="datetime" Nullable="false" />
<Property Name="EndDate" Type="datetime" Nullable="false" />
<Property Name="EmployeeID" Type="nvarchar" MaxLength="100" />
</EntityType>
<EntityType Name="PeopleResourceAllocation">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ScenarioId" Type="uniqueidentifier" Nullable="false" />
<Property Name="PeopleResourceId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ExpenditureCategoryId" Type="uniqueidentifier" Nullable="false" />
<Property Name="WeekEndingDate" Type="datetime" />
<Property Name="Quantity" Type="decimal" Precision="18" Scale="6" />
<Property Name="LastUpdate" Type="datetime" />
</EntityType>
<EntityType Name="PeopleResourceTraining">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="TrainingId" Type="uniqueidentifier" Nullable="false" />
<Property Name="PeopleResourceId" Type="uniqueidentifier" Nullable="false" />
<Property Name="WeekEndingDate" Type="datetime" Nullable="false" />
<Property Name="HoursOff" Type="int" Nullable="false" />
</EntityType>
<EntityType Name="PeopleResourceVacation">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="PeopleResourceId" Type="uniqueidentifier" Nullable="false" />
<Property Name="VacationId" Type="uniqueidentifier" Nullable="false" />
<Property Name="WeekEndingDate" Type="datetime" Nullable="false" />
<Property Name="HoursOff" Type="int" Nullable="false" />
<Property Name="LastUpdate" Type="datetime" Nullable="false" />
</EntityType>
<EntityType Name="Project">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="CompanyId" Type="uniqueidentifier" />
<Property Name="ClientId" Type="uniqueidentifier" />
<Property Name="TypeId" Type="uniqueidentifier" Nullable="false" />
<Property Name="StatusId" Type="uniqueidentifier" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="800" />
<Property Name="ProjectNumber" Type="nvarchar" MaxLength="400" />
<Property Name="Color" Type="nvarchar" MaxLength="128" />
<Property Name="Details" Type="nvarchar" MaxLength="4000" />
<Property Name="Priority" Type="int" Nullable="false" />
<Property Name="Probability" Type="decimal" Precision="5" Scale="4" Nullable="false" />
<Property Name="IsRevenueGenerating" Type="bit" Nullable="false" />
<Property Name="Deadline" Type="datetime" />
<Property Name="ParentProjectId" Type="uniqueidentifier" />
<Property Name="HasChildren" Type="bit" Nullable="false" />
<Property Name="PerformanceRedThreshold" Type="decimal" Precision="3" Scale="2" />
<Property Name="PerformanceYellowThreshold" Type="decimal" Precision="3" Scale="2" />
<Property Name="PartNum" Type="int" />
<Property Name="DateEdited" Type="timestamp" StoreGeneratedPattern="Computed" Nullable="false" />
</EntityType>
<EntityType Name="ProjectAccess">
<Key>
<PropertyRef Name="PrincipalId" />
<PropertyRef Name="ProjectId" />
</Key>
<Property Name="PrincipalId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ProjectId" Type="uniqueidentifier" Nullable="false" />
<Property Name="Read" Type="int" Nullable="false" />
<Property Name="Write" Type="int" Nullable="false" />
</EntityType>
<EntityType Name="Rate">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ParentId" Type="uniqueidentifier" />
<Property Name="ExpenditureCategoryId" Type="uniqueidentifier" Nullable="false" />
<Property Name="Rate" Type="decimal" Precision="15" Scale="4" Nullable="false" />
<Property Name="StartDate" Type="datetime" Nullable="false" />
<Property Name="EndDate" Type="datetime" Nullable="false" />
<Property Name="FreezeRate" Type="int" Nullable="false" />
<Property Name="Type" Type="smallint" Nullable="false" />
<Property Name="DerivedId" Type="uniqueidentifier" />
</EntityType>
<EntityType Name="Scenario">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ParentId" Type="uniqueidentifier" />
<Property Name="TemplateId" Type="uniqueidentifier" />
<Property Name="Type" Type="int" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="800" />
<Property Name="ProjectedRevenue" Type="decimal" Precision="15" Scale="4" />
<Property Name="ExpectedGrossMargin" Type="decimal" Precision="15" Scale="4" />
<Property Name="CalculatedGrossMargin" Type="decimal" Precision="15" Scale="4" />
<Property Name="CGSplit" Type="decimal" Precision="5" Scale="4" />
<Property Name="EFXSplit" Type="decimal" Precision="5" Scale="4" />
<Property Name="StartDate" Type="datetime" />
<Property Name="EndDate" Type="datetime" />
<Property Name="Duration" Type="int" />
<Property Name="TDDirectCosts" Type="decimal" Precision="15" Scale="4" />
<Property Name="BUDirectCosts" Type="decimal" Precision="15" Scale="4" />
<Property Name="Shots" Type="int" />
<Property Name="TDRevenueShot" Type="decimal" Precision="15" Scale="4" />
<Property Name="BURevenueShot" Type="decimal" Precision="15" Scale="4" />
<Property Name="LastUpdate" Type="datetime" />
<Property Name="Color" Type="nvarchar" MaxLength="128" />
<Property Name="Status" Type="int" />
<Property Name="UseLMMargin" Type="int" />
<Property Name="ExpectedGrossMargin_LM" Type="decimal" Precision="15" Scale="4" />
<Property Name="CalculatedGrossMargin_LM" Type="decimal" Precision="15" Scale="4" />
<Property Name="TDDirectCosts_LM" Type="decimal" Precision="15" Scale="4" />
<Property Name="BUDirectCosts_LM" Type="decimal" Precision="15" Scale="4" />
<Property Name="BURevenueShot_LM" Type="decimal" Precision="15" Scale="4" />
<Property Name="ShotStartDate" Type="datetime" />
<Property Name="EntryTimeStamp" Type="datetime" />
<Property Name="Actuals_BUDirectCosts" Type="decimal" Precision="15" Scale="4" />
<Property Name="Actuals_BUDirectCosts_LM" Type="decimal" Precision="15" Scale="4" />
<Property Name="SystemAttributeObjectID" Type="uniqueidentifier" />
<Property Name="ProjectedExpense" Type="decimal" Precision="15" Scale="4" />
<Property Name="FreezeRevenue" Type="bit" Nullable="false" />
<Property Name="GrowthScenario" Type="bit" Nullable="false" />
<Property Name="CostSavings" Type="decimal" Precision="15" Scale="4" />
<Property Name="CostSavingsStartDate" Type="datetime" />
<Property Name="CostSavingsEndDate" Type="datetime" />
<Property Name="CostSavingsType" Type="smallint" />
<Property Name="CostSavingsDescription" Type="nvarchar" MaxLength="500" />
<Property Name="ROIDate" Type="datetime" />
</EntityType>
<EntityType Name="Scenario2Group">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ScenarioId" Type="uniqueidentifier" Nullable="false" />
<Property Name="GroupId" Type="uniqueidentifier" Nullable="false" />
</EntityType>
<EntityType Name="ScenarioDetail">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ParentID" Type="uniqueidentifier" />
<Property Name="ExpenditureCategoryId" Type="uniqueidentifier" />
<Property Name="WeekEndingDate" Type="datetime" />
<Property Name="Quantity" Type="decimal" Precision="18" Scale="6" />
<Property Name="LastUpdate" Type="datetime" />
<Property Name="WeekOrdinal" Type="int" />
<Property Name="Cost" Type="decimal" Precision="15" Scale="4" />
</EntityType>
<EntityType Name="Security">
<Key>
<PropertyRef Name="PrincipalId" />
<PropertyRef Name="SecurityObject" />
</Key>
<Property Name="PrincipalId" Type="uniqueidentifier" Nullable="false" />
<Property Name="Read" Type="int" Nullable="false" />
<Property Name="Write" Type="int" Nullable="false" />
<Property Name="SecurityObject" Type="nvarchar" MaxLength="50" Nullable="false" />
</EntityType>
<EntityType Name="Status">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="1600" />
<Property Name="Color" Type="nvarchar" MaxLength="128" />
<Property Name="IsSystem" Type="bit" Nullable="false" />
<Property Name="Probability100" Type="bit" Nullable="false" />
</EntityType>
<EntityType Name="StrategicGoal">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="100" Nullable="false" />
<Property Name="Description" Type="nvarchar" MaxLength="1000" />
<Property Name="StartDate" Type="datetime" />
<Property Name="EndDate" Type="datetime" />
<Property Name="Color" Type="nvarchar" MaxLength="128" />
</EntityType>
<EntityType Name="StrategicGoal2Company">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="StrategicGoalId" Type="uniqueidentifier" Nullable="false" />
<Property Name="CompanyId" Type="uniqueidentifier" Nullable="false" />
</EntityType>
<EntityType Name="StrategicGoal2Project">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ProjectId" Type="uniqueidentifier" Nullable="false" />
<Property Name="StrategicGoalId" Type="uniqueidentifier" Nullable="false" />
</EntityType>
<EntityType Name="supt_tbl_MongoDBBackup">
<Key>
<PropertyRef Name="id" />
</Key>
<Property Name="id" Type="uniqueidentifier" Nullable="false" />
<Property Name="BackupDate" Type="datetime" Nullable="false" />
<Property Name="BackupedBy" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="BackupData" Type="nvarchar(max)" Nullable="false" />
<Property Name="CollectionName" Type="nvarchar" MaxLength="50" Nullable="false" />
</EntityType>
<EntityType Name="supt_tbl_ProjectIds">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ProjectID" Type="nvarchar(max)" Nullable="false" />
<Property Name="ParentId" Type="nvarchar(max)" />
<Property Name="ProjectValue" Type="nvarchar(max)" />
<Property Name="isTask" Type="char" MaxLength="1" />
</EntityType>
<EntityType Name="supt_tbl_RecParser">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ProcessID" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ToType" Type="varchar" MaxLength="50" />
<Property Name="ToName" Type="varchar" MaxLength="50" />
<Property Name="ToField" Type="varchar" MaxLength="50" />
<Property Name="StartPos" Type="int" />
<Property Name="Length" Type="int" />
<Property Name="index" Type="int" />
<Property Name="isDelimited" Type="char" MaxLength="1" />
<Property Name="Delimitor" Type="nvarchar" MaxLength="5" />
<Property Name="AdditionalFormat" Type="varchar" MaxLength="50" />
<Property Name="Overlay" Type="bit" />
<Property Name="DBFieldFormat" Type="int" />
<Property Name="TableOrder" Type="int" />
<Property Name="ForeignKey" Type="bit" />
</EntityType>
<EntityType Name="SystemAttributes">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="800" />
<Property Name="Type" Type="int" Nullable="false" />
</EntityType>
<EntityType Name="SystemSettings">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="Type" Type="int" Nullable="false" />
<Property Name="Value" Type="nvarchar" MaxLength="4000" />
</EntityType>
<EntityType Name="Team">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="400" />
<Property Name="CompanyId" Type="uniqueidentifier" />
<Property Name="CostCenterId" Type="uniqueidentifier" />
<Property Name="ReportsTo" Type="uniqueidentifier" />
<Property Name="PlannedCapacityScenarioId" Type="uniqueidentifier" />
<Property Name="ActualCapacityScenarioId" Type="uniqueidentifier" />
</EntityType>
<EntityType Name="Team2Project">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="TeamId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ProjectId" Type="uniqueidentifier" Nullable="false" />
</EntityType>
<EntityType Name="Team2Scenario">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ScenarioId" Type="uniqueidentifier" Nullable="false" />
<Property Name="TeamId" Type="uniqueidentifier" Nullable="false" />
<Property Name="Allocation" Type="int" Nullable="false" />
</EntityType>
<EntityType Name="Team2View">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="TeamId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ViewId" Type="uniqueidentifier" Nullable="false" />
</EntityType>
<EntityType Name="TeamAllocation">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ScenarioId" Type="uniqueidentifier" Nullable="false" />
<Property Name="TeamId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ExpenditureCategoryId" Type="uniqueidentifier" Nullable="false" />
<Property Name="WeekEndingDate" Type="datetime" Nullable="false" />
<Property Name="Quantity" Type="decimal" Precision="18" Scale="6" Nullable="false" />
<Property Name="LastUpdate" Type="datetime" Nullable="false" />
</EntityType>
<EntityType Name="Template2TemplateGroup">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="TemplateId" Type="uniqueidentifier" Nullable="false" />
<Property Name="TemplateGroupId" Type="uniqueidentifier" Nullable="false" />
</EntityType>
<EntityType Name="TemplateGroup">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="256" Nullable="false" />
</EntityType>
<EntityType Name="Training">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="255" Nullable="false" />
<Property Name="StartDate" Type="datetime" Nullable="false" />
<Property Name="EndDate" Type="datetime" Nullable="false" />
<Property Name="TrainingTypeId" Type="uniqueidentifier" Nullable="false" />
<Property Name="Cost" Type="decimal" Precision="15" Scale="4" Nullable="false" />
<Property Name="PercentAllocated" Type="smallint" Nullable="false" />
<Property Name="Weekends" Type="nvarchar" MaxLength="256" Nullable="false" />
</EntityType>
<EntityType Name="TrainingType">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="255" Nullable="false" />
</EntityType>
<EntityType Name="Type">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="200" />
<Property Name="IsSystem" Type="bit" Nullable="false" />
<Property Name="PerformanceRedThreshold" Type="decimal" Precision="3" Scale="2" />
<Property Name="PerformanceYellowThreshold" Type="decimal" Precision="3" Scale="2" />
</EntityType>
<EntityType Name="Type2TypeGroup">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="TypeId" Type="uniqueidentifier" Nullable="false" />
<Property Name="TypeGroupId" Type="uniqueidentifier" Nullable="false" />
</EntityType>
<EntityType Name="TypeGroup">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="256" Nullable="false" />
</EntityType>
<EntityType Name="UOM">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="400" />
<Property Name="UOMValue" Type="decimal" Precision="15" Scale="4" Nullable="false" />
</EntityType>
<EntityType Name="User2Team">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="UserId" Type="nvarchar" MaxLength="128" Nullable="false" />
<Property Name="TeamId" Type="uniqueidentifier" Nullable="false" />
</EntityType>
<EntityType Name="User2View">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="UserId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ViewId" Type="uniqueidentifier" />
</EntityType>
<EntityType Name="UserPreferences">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="UserId" Type="uniqueidentifier" Nullable="false" />
<Property Name="Url" Type="nvarchar" MaxLength="450" Nullable="false" />
<Property Name="Section" Type="nvarchar" MaxLength="100" Nullable="false" />
<Property Name="Data" Type="nvarchar(max)" />
</EntityType>
<EntityType Name="UserQuickLink">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="250" Nullable="false" />
<Property Name="UserId" Type="uniqueidentifier" Nullable="false" />
<Property Name="Url" Type="nvarchar" MaxLength="250" Nullable="false" />
<Property Name="PageState" Type="nvarchar(max)" />
</EntityType>
<EntityType Name="Vacation">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="StartDate" Type="datetime" Nullable="false" />
<Property Name="EndDate" Type="datetime" Nullable="false" />
<Property Name="PeopleResourceId" Type="uniqueidentifier" Nullable="false" />
<Property Name="HoursOff" Type="decimal" Precision="5" Scale="4" Nullable="false" />
<Property Name="Weekends" Type="nvarchar" MaxLength="256" Nullable="false" />
</EntityType>
<EntityType Name="View">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="200" Nullable="false" />
</EntityType>
<!--Errors Found During Generation:
warning 6002: The table/view 'EnVisage.dbo.BLL_Objects' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.-->
<EntityType Name="BLL_Objects">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="EntityName" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="EntityName" Type="varchar" MaxLength="8" Nullable="false" />
</EntityType>
<!--Errors Found During Generation:
warning 6002: The table/view 'EnVisage.dbo.GLAccountClientsCount' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.-->
<EntityType Name="GLAccountClientsCount">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ClientCount" Type="int" />
</EntityType>
<!--Errors Found During Generation:
warning 6002: The table/view 'EnVisage.dbo.GLAccountExpCatsCount' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.-->
<EntityType Name="GLAccountExpCatsCount">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ExpCatCount" Type="int" />
</EntityType>
<!--Errors Found During Generation:
warning 6002: The table/view 'EnVisage.dbo.SC_TotalCGSeatsAcrossProject' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.-->
<EntityType Name="SC_TotalCGSeatsAcrossProject">
<Key>
<PropertyRef Name="ProjectObjectId" />
<PropertyRef Name="ShowStatusId" />
<PropertyRef Name="Probability" />
</Key>
<Property Name="ScenarioId" Type="uniqueidentifier" />
<Property Name="WeekEndingDate" Type="datetime" />
<Property Name="Quantity" Type="decimal" Precision="38" Scale="6" />
<Property Name="Cost" Type="decimal" Precision="38" Scale="4" />
<Property Name="CGEFX" Type="char" MaxLength="10" />
<Property Name="ScenarioType" Type="int" Nullable="false" />
<Property Name="ScenarioName" Type="nvarchar" MaxLength="200" Nullable="false" />
<Property Name="ProjectObjectId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ProjectName" Type="nvarchar" MaxLength="200" Nullable="false" />
<Property Name="ProjectTypeId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ShowStatusId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ProjectStatusName" Type="nvarchar" MaxLength="400" />
<Property Name="Probability" Type="decimal" Precision="5" Scale="4" Nullable="false" />
<Property Name="ProjectColor" Type="nvarchar" MaxLength="32" />
<Property Name="ScenarioColor" Type="nvarchar" MaxLength="32" />
<Property Name="Status" Type="int" />
<Property Name="SystemAttributeObjectID" Type="uniqueidentifier" />
</EntityType>
<!--Errors Found During Generation:
warning 6002: The table/view 'EnVisage.dbo.SC_TotalSeatsAcrossExpCats' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.-->
<EntityType Name="SC_TotalSeatsAcrossExpCats">
<Key>
<PropertyRef Name="ShowObjectID" />
<PropertyRef Name="ShowStatusObjectID" />
<PropertyRef Name="Probability" />
<PropertyRef Name="ExpenditureCatObjectID" />
</Key>
<Property Name="ScenarioObjectID" Type="uniqueidentifier" />
<Property Name="WeekEndingDate" Type="datetime" />
<Property Name="Quantity" Type="decimal" Precision="38" Scale="6" />
<Property Name="Cost" Type="decimal" Precision="38" Scale="4" />
<Property Name="CGEFX" Type="char" MaxLength="10" />
<Property Name="ScenarioType" Type="int" Nullable="false" />
<Property Name="ScenarioName" Type="nvarchar" MaxLength="200" Nullable="false" />
<Property Name="ShowObjectID" Type="uniqueidentifier" Nullable="false" />
<Property Name="ShowName" Type="nvarchar" MaxLength="200" Nullable="false" />
<Property Name="ShowTypeObjectID" Type="uniqueidentifier" Nullable="false" />
<Property Name="ShowStatusObjectID" Type="uniqueidentifier" Nullable="false" />
<Property Name="ShowStatusName" Type="nvarchar" MaxLength="400" />
<Property Name="Probability" Type="decimal" Precision="5" Scale="4" Nullable="false" />
<Property Name="ShowColor" Type="nvarchar" MaxLength="32" />
<Property Name="ScenarioColor" Type="nvarchar" MaxLength="32" />
<Property Name="ExpenditureCatObjectID" Type="uniqueidentifier" Nullable="false" />
<Property Name="Status" Type="int" />
<Property Name="SystemAttributeObjectID" Type="uniqueidentifier" />
<Property Name="GroupId" Type="uniqueidentifier" />
<Property Name="SystemAttributeOne" Type="uniqueidentifier" />
<Property Name="SystemAttributeTwo" Type="uniqueidentifier" />
</EntityType>
<!--Errors Found During Generation:
warning 6002: The table/view 'EnVisage.dbo.VW_ExpCategoriesInScenario' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.-->
<EntityType Name="VW_ExpCategoriesInScenario">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="ExpenditureCategoryName" />
<PropertyRef Name="ScenarioID" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ExpenditureCategoryName" Type="nvarchar" MaxLength="800" Nullable="false" />
<Property Name="ExpenditureName" Type="nvarchar" MaxLength="800" />
<Property Name="ECType" Type="int" />
<Property Name="ScenarioType" Type="int" Nullable="false" />
<Property Name="ScenarioID" Type="uniqueidentifier" Nullable="false" />
<Property Name="ScenarioName" Type="nvarchar" MaxLength="800" />
<Property Name="SortOrder" Type="int" />
<Property Name="UseType" Type="int" />
<Property Name="GLId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ExpCategoryWithCcName" Type="nvarchar" MaxLength="1603" />
</EntityType>
<!--Errors Found During Generation:
warning 6002: The table/view 'EnVisage.dbo.VW_Expenditure2Calculation' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.-->
<EntityType Name="VW_Expenditure2Calculation">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="ParentId" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ExpenditureCategoryID" Type="uniqueidentifier" />
<Property Name="ExpenditureCategoryName" Type="nvarchar" MaxLength="800" />
<Property Name="GLId" Type="uniqueidentifier" />
<Property Name="UOMId" Type="uniqueidentifier" />
<Property Name="Type" Type="int" />
<Property Name="UseType" Type="int" />
<Property Name="CGEFX" Type="char" MaxLength="10" />
<Property Name="SortOrder" Type="int" />
<Property Name="SystemAttributeOne" Type="uniqueidentifier" />
<Property Name="SystemAttributeTwo" Type="uniqueidentifier" />
<Property Name="ExpenditureName" Type="nvarchar" MaxLength="800" />
<Property Name="FactorType" Type="int" />
<Property Name="FactorInt" Type="decimal" Precision="6" Scale="3" />
<Property Name="ProcessOrder" Type="int" />
<Property Name="ParentId" Type="uniqueidentifier" Nullable="false" />
<Property Name="CreditId" Type="uniqueidentifier" />
<Property Name="WksSubjectToFee" Type="int" />
<Property Name="ExpCategoryWithCcName" Type="nvarchar" MaxLength="1603" />
</EntityType>
<!--Errors Found During Generation:
warning 6002: The table/view 'EnVisage.dbo.VW_Expenditure2Category' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.-->
<EntityType Name="VW_Expenditure2Category">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="ExpenditureCategoryName" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ExpenditureId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ExpenditureCategoryName" Type="nvarchar" MaxLength="800" Nullable="false" />
<Property Name="GLId" Type="uniqueidentifier" Nullable="false" />
<Property Name="UOMId" Type="uniqueidentifier" Nullable="false" />
<Property Name="Type" Type="int" />
<Property Name="UseType" Type="int" />
<Property Name="CGEFX" Type="char" MaxLength="10" />
<Property Name="SortOrder" Type="int" />
<Property Name="ExpenditureName" Type="nvarchar" MaxLength="800" />
<Property Name="GLNumber" Type="nvarchar" MaxLength="160" />
<Property Name="GLName" Type="nvarchar" MaxLength="800" />
<Property Name="UOMName" Type="nvarchar" MaxLength="400" />
<Property Name="CreditId" Type="uniqueidentifier" Nullable="false" />
<Property Name="SystemAttributeOne" Type="uniqueidentifier" />
<Property Name="SystemAttributeTwo" Type="uniqueidentifier" />
<Property Name="CreditName" Type="nvarchar" MaxLength="800" />
<Property Name="WksSubjectToFee" Type="int" />
<Property Name="SystemAttributeNameOne" Type="nvarchar" MaxLength="800" />
<Property Name="SystemAttributeTypeOne" Type="int" />
<Property Name="SystemAttributeNameTwo" Type="nvarchar" MaxLength="800" />
<Property Name="SystemAttributeTypeTwo" Type="int" />
<Property Name="ExpCategoryWithCcName" Type="nvarchar" MaxLength="1603" />
</EntityType>
<!--Errors Found During Generation:
warning 6002: The table/view 'EnVisage.dbo.VW_Expenditure2FeeCalculation' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.-->
<EntityType Name="VW_Expenditure2FeeCalculation">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="MinShot" />
<PropertyRef Name="MaxShot" />
<PropertyRef Name="Quantity" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ExpenditureCategoryId" Type="uniqueidentifier" Nullable="false" />
<Property Name="MinShot" Type="int" Nullable="false" />
<Property Name="MaxShot" Type="int" Nullable="false" />
<Property Name="Quantity" Type="int" Nullable="false" />
<Property Name="WksSubjectToFee" Type="int" />
</EntityType>
<!--Errors Found During Generation:
warning 6002: The table/view 'EnVisage.dbo.VW_ExpenditureCategory' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.-->
<EntityType Name="VW_ExpenditureCategory">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="ExpenditureId" />
<PropertyRef Name="GLId" />
<PropertyRef Name="UOMId" />
<PropertyRef Name="CreditId" />
<PropertyRef Name="Name" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ExpenditureId" Type="uniqueidentifier" Nullable="false" />
<Property Name="GLId" Type="uniqueidentifier" Nullable="false" />
<Property Name="UOMId" Type="uniqueidentifier" Nullable="false" />
<Property Name="CreditId" Type="uniqueidentifier" Nullable="false" />
<Property Name="Type" Type="int" />
<Property Name="UseType" Type="int" />
<Property Name="CGEFX" Type="char" MaxLength="10" />
<Property Name="SortOrder" Type="int" />
<Property Name="WksSubjectToFee" Type="int" />
<Property Name="SystemAttributeOne" Type="uniqueidentifier" />
<Property Name="SystemAttributeTwo" Type="uniqueidentifier" />
<Property Name="Name" Type="nvarchar" MaxLength="800" Nullable="false" />
<Property Name="ExpCategoryWithCcName" Type="nvarchar" MaxLength="1603" />
</EntityType>
<!--Errors Found During Generation:
warning 6002: The table/view 'EnVisage.dbo.VW_ProjectAccess' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.-->
<EntityType Name="VW_ProjectAccess">
<Key>
<PropertyRef Name="UserId" />
<PropertyRef Name="ProjectId" />
<PropertyRef Name="Read" />
<PropertyRef Name="Write" />
</Key>
<Property Name="UserId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ProjectId" Type="uniqueidentifier" Nullable="false" />
<Property Name="Read" Type="int" Nullable="false" />
<Property Name="Write" Type="int" Nullable="false" />
</EntityType>
<!--Errors Found During Generation:
warning 6002: The table/view 'EnVisage.dbo.VW_ProjectAccessByUser' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.-->
<EntityType Name="VW_ProjectAccessByUser">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="TypeId" />
<PropertyRef Name="StatusId" />
<PropertyRef Name="Priority" />
<PropertyRef Name="Probability" />
<PropertyRef Name="IsRevenueGenerating" />
<PropertyRef Name="HasChildren" />
<PropertyRef Name="DateEdited" />
<PropertyRef Name="UserId" />
<PropertyRef Name="StatusName" />
<PropertyRef Name="CompanyName" />
<PropertyRef Name="ClientName" />
<PropertyRef Name="TypeName" />
<PropertyRef Name="ActiveScenarioName" />
<PropertyRef Name="Teams" />
<PropertyRef Name="Read" />
<PropertyRef Name="Write" />
<PropertyRef Name="Name" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="CompanyId" Type="uniqueidentifier" />
<Property Name="ClientId" Type="uniqueidentifier" />
<Property Name="TypeId" Type="uniqueidentifier" Nullable="false" />
<Property Name="StatusId" Type="uniqueidentifier" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="800" Nullable="false" />
<Property Name="ProjectNumber" Type="nvarchar" MaxLength="400" />
<Property Name="Color" Type="nvarchar" MaxLength="128" />
<Property Name="Details" Type="nvarchar" MaxLength="4000" />
<Property Name="Priority" Type="int" Nullable="false" />
<Property Name="Probability" Type="decimal" Precision="5" Scale="4" Nullable="false" />
<Property Name="IsRevenueGenerating" Type="bit" Nullable="false" />
<Property Name="Deadline" Type="datetime" />
<Property Name="ParentProjectId" Type="uniqueidentifier" />
<Property Name="HasChildren" Type="bit" Nullable="false" />
<Property Name="PerformanceRedThreshold" Type="decimal" Precision="3" Scale="2" />
<Property Name="PerformanceYellowThreshold" Type="decimal" Precision="3" Scale="2" />
<Property Name="PartNum" Type="int" />
<Property Name="DateEdited" Type="timestamp" StoreGeneratedPattern="Computed" Nullable="false" />
<Property Name="UserId" Type="uniqueidentifier" Nullable="false" />
<Property Name="StatusName" Type="nvarchar" MaxLength="1600" Nullable="false" />
<Property Name="CompanyName" Type="nvarchar" MaxLength="800" Nullable="false" />
<Property Name="ClientName" Type="nvarchar" MaxLength="800" Nullable="false" />
<Property Name="TypeName" Type="nvarchar" MaxLength="200" Nullable="false" />
<Property Name="ActiveScenarioId" Type="uniqueidentifier" />
<Property Name="ActiveScenarioName" Type="nvarchar" MaxLength="800" Nullable="false" />
<Property Name="Teams" Type="nvarchar(max)" Nullable="false" />
<Property Name="Read" Type="int" Nullable="false" />
<Property Name="Write" Type="int" Nullable="false" />
</EntityType>
<!--Errors Found During Generation:
warning 6002: The table/view 'EnVisage.dbo.VW_ProjectPerformance' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.-->
<EntityType Name="VW_ProjectPerformance">
<Key>
<PropertyRef Name="ForecastScenarioId" />
<PropertyRef Name="ActualsScenarioId" />
<PropertyRef Name="ForecastScenarioType" />
<PropertyRef Name="ProjectId" />
<PropertyRef Name="ProjectTypeId" />
<PropertyRef Name="ProjectPriority" />
<PropertyRef Name="FiscalPeriodId" />
</Key>
<Property Name="ForecastScenarioId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ActualsScenarioId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ForecastScenarioType" Type="int" Nullable="false" />
<Property Name="ForecastTotalCost" Type="decimal" Precision="38" Scale="4" />
<Property Name="ActualsTotalCost" Type="decimal" Precision="38" Scale="4" />
<Property Name="VariationPercent" Type="decimal" Precision="38" Scale="6" />
<Property Name="ProjectId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ProjectName" Type="nvarchar" MaxLength="800" />
<Property Name="Status" Type="int" />
<Property Name="BUDirectCosts" Type="decimal" Precision="15" Scale="4" />
<Property Name="ScenarioEndDate" Type="datetime" />
<Property Name="ProjectTypeId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ProjectTypeName" Type="nvarchar" MaxLength="200" />
<Property Name="ProjectPriority" Type="int" Nullable="false" />
<Property Name="ActualsCostForecasted" Type="decimal" Precision="38" Scale="4" />
<Property Name="ActualsCostVariation" Type="decimal" Precision="38" Scale="4" />
<Property Name="ProjectWeight" Type="decimal" Precision="26" Scale="15" />
<Property Name="FiscalPeriodId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ScenarioGroupId" Type="uniqueidentifier" />
</EntityType>
<!--Errors Found During Generation:
warning 6002: The table/view 'EnVisage.dbo.VW_Scenario2Project' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.-->
<EntityType Name="VW_Scenario2Project">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="Type" />
<PropertyRef Name="FreezeRevenue" />
<PropertyRef Name="GrowthScenario" />
<PropertyRef Name="Name" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ParentId" Type="uniqueidentifier" />
<Property Name="TemplateId" Type="uniqueidentifier" />
<Property Name="Type" Type="int" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="800" Nullable="false" />
<Property Name="ProjectedRevenue" Type="decimal" Precision="36" Scale="12" />
<Property Name="ExpectedGrossMargin" Type="decimal" Precision="15" Scale="4" />
<Property Name="CalculatedGrossMargin" Type="decimal" Precision="15" Scale="4" />
<Property Name="CGSplit" Type="decimal" Precision="5" Scale="4" />
<Property Name="EFXSplit" Type="decimal" Precision="5" Scale="4" />
<Property Name="StartDate" Type="datetime" />
<Property Name="EndDate" Type="datetime" />
<Property Name="Duration" Type="int" />
<Property Name="Priority" Type="int" />
<Property Name="Probability" Type="decimal" Precision="5" Scale="4" />
<Property Name="TDDirectCosts" Type="decimal" Precision="15" Scale="4" />
<Property Name="BUDirectCosts" Type="decimal" Precision="15" Scale="4" />
<Property Name="Shots" Type="int" />
<Property Name="TDRevenueShot" Type="decimal" Precision="15" Scale="4" />
<Property Name="BURevenueShot" Type="decimal" Precision="15" Scale="4" />
<Property Name="FreezeRevenue" Type="bit" Nullable="false" />
<Property Name="LastUpdate" Type="datetime" />
<Property Name="ShowObjectID" Type="uniqueidentifier" />
<Property Name="ShowName" Type="nvarchar" MaxLength="800" />
<Property Name="CompanyId" Type="uniqueidentifier" />
<Property Name="ClientId" Type="uniqueidentifier" />
<Property Name="TypeId" Type="uniqueidentifier" />
<Property Name="StatusId" Type="uniqueidentifier" />
<Property Name="Color" Type="nvarchar" MaxLength="128" />
<Property Name="Status" Type="int" />
<Property Name="UseLMMargin" Type="int" />
<Property Name="ExpectedGrossMargin_LM" Type="decimal" Precision="15" Scale="4" />
<Property Name="CalculatedGrossMargin_LM" Type="decimal" Precision="15" Scale="4" />
<Property Name="TDDirectCosts_LM" Type="decimal" Precision="15" Scale="4" />
<Property Name="BUDirectCosts_LM" Type="decimal" Precision="15" Scale="4" />
<Property Name="BURevenueShot_LM" Type="decimal" Precision="15" Scale="4" />
<Property Name="ShotStartDate" Type="datetime" />
<Property Name="EntryTimeStamp" Type="datetime" />
<Property Name="GrowthScenario" Type="bit" Nullable="false" />
<Property Name="Actuals_BUDirectCosts" Type="decimal" Precision="15" Scale="4" />
<Property Name="Actuals_BUDirectCosts_LM" Type="decimal" Precision="15" Scale="4" />
<Property Name="SystemAttributeObjectID" Type="uniqueidentifier" />
<Property Name="GroupId" Type="uniqueidentifier" />
<Property Name="CostSavings" Type="decimal" Precision="15" Scale="4" />
<Property Name="ParentProjectId" Type="uniqueidentifier" />
<Property Name="ParentProjectName" Type="nvarchar" MaxLength="800" />
<Property Name="ParentProjectColor" Type="nvarchar" MaxLength="128" />
</EntityType>
<!--Errors Found During Generation:
warning 6002: The table/view 'EnVisage.dbo.VW_ScenarioAndProxyDetails' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.-->
<EntityType Name="VW_ScenarioAndProxyDetails">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="ParentID" Type="uniqueidentifier" />
<Property Name="ExpenditureCategoryId" Type="uniqueidentifier" />
<Property Name="WeekEndingDate" Type="datetime" />
<Property Name="Quantity" Type="decimal" Precision="18" Scale="6" />
<Property Name="LastUpdate" Type="datetime" />
<Property Name="WeekOrdinal" Type="int" />
<Property Name="Cost" Type="decimal" Precision="15" Scale="4" />
<Property Name="ExpenditureCategoryName" Type="nvarchar" MaxLength="800" Nullable="false" />
<Property Name="ExpenditureName" Type="nvarchar" MaxLength="800" />
<Property Name="GLId" Type="uniqueidentifier" Nullable="false" />
<Property Name="UOMId" Type="uniqueidentifier" Nullable="false" />
<Property Name="CreditId" Type="uniqueidentifier" Nullable="false" />
<Property Name="Type" Type="int" />
<Property Name="UseType" Type="int" />
<Property Name="CGEFX" Type="char" MaxLength="10" />
<Property Name="SystemAttributeOne" Type="uniqueidentifier" />
<Property Name="SystemAttributeTwo" Type="uniqueidentifier" />
<Property Name="SortOrder" Type="int" />
<Property Name="ExpCategoryWithCcName" Type="nvarchar" MaxLength="1603" />
</EntityType>
<!--Errors Found During Generation:
warning 6002: The table/view 'EnVisage.dbo.VW_ScenarioPerformance' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.-->
<EntityType Name="VW_ScenarioPerformance">
<Key>
<PropertyRef Name="ForecastScenarioId" />
<PropertyRef Name="ActualsScenarioId" />
<PropertyRef Name="ForecastScenarioType" />
</Key>
<Property Name="ForecastScenarioId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ActualsScenarioId" Type="uniqueidentifier" Nullable="false" />
<Property Name="ForecastScenarioType" Type="int" Nullable="false" />
<Property Name="ForecastTotalCost" Type="decimal" Precision="38" Scale="4" />
<Property Name="ActualsTotalCost" Type="decimal" Precision="38" Scale="4" />
<Property Name="VariationPercent" Type="decimal" Precision="38" Scale="6" />
</EntityType>
<Association Name="FK_Child_ExpenditureCategory">
<End Role="ExpenditureCategory" Type="Self.ExpenditureCategory" Multiplicity="1" />
<End Role="Expenditure2Expenditure" Type="Self.Expenditure2Expenditure" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="ExpenditureCategory">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Expenditure2Expenditure">
<PropertyRef Name="ChildId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Client_GLAccount">
<End Role="GLAccount" Type="Self.GLAccount" Multiplicity="0..1" />
<End Role="Client" Type="Self.Client" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="GLAccount">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Client">
<PropertyRef Name="GLAccountId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Company_Company">
<End Role="Company" Type="Self.Company" Multiplicity="0..1" />
<End Role="Company1" Type="Self.Company" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Company">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Company1">
<PropertyRef Name="ParentCompanyId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Company2Client_ClientId">
<End Role="Client" Type="Self.Client" Multiplicity="1" />
<End Role="Company2Client" Type="Self.Company2Client" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Client">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Company2Client">
<PropertyRef Name="ClientId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Company2Client_CompanyId">
<End Role="Company" Type="Self.Company" Multiplicity="1" />
<End Role="Company2Client" Type="Self.Company2Client" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Company">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Company2Client">
<PropertyRef Name="CompanyId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Company2Department_Department">
<End Role="View" Type="Self.View" Multiplicity="0..1" />
<End Role="Company2View" Type="Self.Company2View" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="View">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Company2View">
<PropertyRef Name="ViewId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Company2GLDepartment_CompanyId">
<End Role="Company" Type="Self.Company" Multiplicity="1" />
<End Role="Company2View" Type="Self.Company2View" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Company">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Company2View">
<PropertyRef Name="CompanyId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Contact2Show_Contact">
<End Role="Contact" Type="Self.Contact" Multiplicity="1" />
<End Role="Contact2Project" Type="Self.Contact2Project" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Contact">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Contact2Project">
<PropertyRef Name="ContactId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Contact2Show_Show">
<End Role="Project" Type="Self.Project" Multiplicity="1" />
<End Role="Contact2Project" Type="Self.Contact2Project" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Project">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Contact2Project">
<PropertyRef Name="ShowId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_CostSaving_Scenario">
<End Role="Scenario" Type="Self.Scenario" Multiplicity="1" />
<End Role="CostSaving" Type="Self.CostSaving" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Scenario">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="CostSaving">
<PropertyRef Name="ScenarioId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_dbo_AspNetUserRoles_dbo_AspNetRoles_RoleId">
<End Role="AspNetRoles" Type="Self.AspNetRoles" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Role="AspNetUserRoles" Type="Self.AspNetUserRoles" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="AspNetRoles">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="AspNetUserRoles">
<PropertyRef Name="RoleId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_dbo_AspNetUserRoles_dbo_AspNetUsers_UserId">
<End Role="AspNetUsers" Type="Self.AspNetUsers" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Role="AspNetUserRoles" Type="Self.AspNetUserRoles" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="AspNetUsers">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="AspNetUserRoles">
<PropertyRef Name="UserId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Expenditure_Category_CreditDepartment">
<End Role="CreditDepartment" Type="Self.CreditDepartment" Multiplicity="1" />
<End Role="ExpenditureCategory" Type="Self.ExpenditureCategory" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="CreditDepartment">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="ExpenditureCategory">
<PropertyRef Name="CreditId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Expenditure_Category_GLDepartment">
<End Role="GLAccount" Type="Self.GLAccount" Multiplicity="1" />
<End Role="ExpenditureCategory" Type="Self.ExpenditureCategory" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="GLAccount">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="ExpenditureCategory">
<PropertyRef Name="GLId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Expenditure_Category_UOM">
<End Role="UOM" Type="Self.UOM" Multiplicity="1" />
<End Role="ExpenditureCategory" Type="Self.ExpenditureCategory" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="UOM">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="ExpenditureCategory">
<PropertyRef Name="UOMId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_ExpenditureCategory_Expenditure">
<End Role="Expenditure" Type="Self.Expenditure" Multiplicity="1" />
<End Role="ExpenditureCategory" Type="Self.ExpenditureCategory" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Expenditure">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="ExpenditureCategory">
<PropertyRef Name="ExpenditureId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_FeeCalculation_ExpenditureCategory">
<End Role="ExpenditureCategory" Type="Self.ExpenditureCategory" Multiplicity="1" />
<End Role="FeeCalculation" Type="Self.FeeCalculation" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="ExpenditureCategory">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="FeeCalculation">
<PropertyRef Name="ExpenditureCategoryId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Parent_ExpenditureCategory">
<End Role="ExpenditureCategory" Type="Self.ExpenditureCategory" Multiplicity="1" />
<End Role="Expenditure2Expenditure" Type="Self.Expenditure2Expenditure" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="ExpenditureCategory">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Expenditure2Expenditure">
<PropertyRef Name="ParentId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_PasswordResetRequest_AspNetUsers">
<End Role="AspNetUsers" Type="Self.AspNetUsers" Multiplicity="1" />
<End Role="PasswordResetRequest" Type="Self.PasswordResetRequest" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="AspNetUsers">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="PasswordResetRequest">
<PropertyRef Name="UserId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_PeopleResourceAllocation_ExpenditureCategory">
<End Role="ExpenditureCategory" Type="Self.ExpenditureCategory" Multiplicity="1" />
<End Role="PeopleResourceAllocation" Type="Self.PeopleResourceAllocation" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="ExpenditureCategory">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="PeopleResourceAllocation">
<PropertyRef Name="ExpenditureCategoryId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_PeopleResourceAllocation_PeopleResource">
<End Role="PeopleResource" Type="Self.PeopleResource" Multiplicity="1" />
<End Role="PeopleResourceAllocation" Type="Self.PeopleResourceAllocation" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="PeopleResource">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="PeopleResourceAllocation">
<PropertyRef Name="PeopleResourceId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_PeopleResourceAllocation_Scenario">
<End Role="Scenario" Type="Self.Scenario" Multiplicity="1" />
<End Role="PeopleResourceAllocation" Type="Self.PeopleResourceAllocation" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Scenario">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="PeopleResourceAllocation">
<PropertyRef Name="ScenarioId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_PeopleResourceTraining_PeopleResource">
<End Role="PeopleResource" Type="Self.PeopleResource" Multiplicity="1" />
<End Role="PeopleResourceTraining" Type="Self.PeopleResourceTraining" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="PeopleResource">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="PeopleResourceTraining">
<PropertyRef Name="PeopleResourceId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_PeopleResourceTraining_Training">
<End Role="Training" Type="Self.Training" Multiplicity="1" />
<End Role="PeopleResourceTraining" Type="Self.PeopleResourceTraining" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Training">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="PeopleResourceTraining">
<PropertyRef Name="TrainingId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_PeopleResourceVacation_PeopleResource">
<End Role="PeopleResource" Type="Self.PeopleResource" Multiplicity="1" />
<End Role="PeopleResourceVacation" Type="Self.PeopleResourceVacation" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="PeopleResource">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="PeopleResourceVacation">
<PropertyRef Name="PeopleResourceId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_PeopleResourceVacation_Vacation">
<End Role="Vacation" Type="Self.Vacation" Multiplicity="1" />
<End Role="PeopleResourceVacation" Type="Self.PeopleResourceVacation" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Vacation">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="PeopleResourceVacation">
<PropertyRef Name="VacationId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Project_Project">
<End Role="Project" Type="Self.Project" Multiplicity="0..1" />
<End Role="Project1" Type="Self.Project" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Project">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Project1">
<PropertyRef Name="ParentProjectId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_ProjectAccess_Project">
<End Role="Project" Type="Self.Project" Multiplicity="1" />
<End Role="ProjectAccess" Type="Self.ProjectAccess" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Project">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="ProjectAccess">
<PropertyRef Name="ProjectId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Rate_ExpenditureCategory">
<End Role="ExpenditureCategory" Type="Self.ExpenditureCategory" Multiplicity="1" />
<End Role="Rate" Type="Self.Rate" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="ExpenditureCategory">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Rate">
<PropertyRef Name="ExpenditureCategoryId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Resource_Expenditure_Category">
<End Role="ExpenditureCategory" Type="Self.ExpenditureCategory" Multiplicity="1" />
<End Role="PeopleResource" Type="Self.PeopleResource" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="ExpenditureCategory">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="PeopleResource">
<PropertyRef Name="ExpenditureCategoryId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Resource_Team">
<End Role="Team" Type="Self.Team" Multiplicity="0..1" />
<End Role="PeopleResource" Type="Self.PeopleResource" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Team">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="PeopleResource">
<PropertyRef Name="TeamId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Scenario_Project">
<End Role="Project" Type="Self.Project" Multiplicity="0..1" />
<End Role="Scenario" Type="Self.Scenario" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Project">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Scenario">
<PropertyRef Name="ParentId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Scenario_TemplateScenario">
<End Role="Scenario" Type="Self.Scenario" Multiplicity="0..1" />
<End Role="Scenario1" Type="Self.Scenario" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Scenario">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Scenario1">
<PropertyRef Name="TemplateId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Scenario2Group_GroupId">
<End Role="SystemAttributes" Type="Self.SystemAttributes" Multiplicity="1" />
<End Role="Scenario2Group" Type="Self.Scenario2Group" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="SystemAttributes">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Scenario2Group">
<PropertyRef Name="GroupId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Scenario2Group_ScenarioId">
<End Role="Scenario" Type="Self.Scenario" Multiplicity="1" />
<End Role="Scenario2Group" Type="Self.Scenario2Group" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Scenario">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Scenario2Group">
<PropertyRef Name="ScenarioId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_ScenarioDetail_ExpenditureCategory">
<End Role="ExpenditureCategory" Type="Self.ExpenditureCategory" Multiplicity="0..1" />
<End Role="ScenarioDetail" Type="Self.ScenarioDetail" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="ExpenditureCategory">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="ScenarioDetail">
<PropertyRef Name="ExpenditureCategoryId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Show_Client">
<End Role="Client" Type="Self.Client" Multiplicity="0..1" />
<End Role="Project" Type="Self.Project" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Client">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Project">
<PropertyRef Name="ClientId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Show_Status">
<End Role="Status" Type="Self.Status" Multiplicity="1" />
<End Role="Project" Type="Self.Project" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Status">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Project">
<PropertyRef Name="StatusId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Show_Studio">
<End Role="Company" Type="Self.Company" Multiplicity="0..1" />
<End Role="Project" Type="Self.Project" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Company">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Project">
<PropertyRef Name="CompanyId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Show_Type">
<End Role="Type" Type="Self.Type" Multiplicity="1" />
<End Role="Project" Type="Self.Project" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Type">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Project">
<PropertyRef Name="TypeId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_StrategicGoal2Company_Company">
<End Role="Company" Type="Self.Company" Multiplicity="1" />
<End Role="StrategicGoal2Company" Type="Self.StrategicGoal2Company" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Company">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="StrategicGoal2Company">
<PropertyRef Name="CompanyId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_StrategicGoal2Company_Goal">
<End Role="StrategicGoal" Type="Self.StrategicGoal" Multiplicity="1" />
<End Role="StrategicGoal2Company" Type="Self.StrategicGoal2Company" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="StrategicGoal">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="StrategicGoal2Company">
<PropertyRef Name="StrategicGoalId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_StrategicGoal2Project_Project">
<End Role="Project" Type="Self.Project" Multiplicity="1" />
<End Role="StrategicGoal2Project" Type="Self.StrategicGoal2Project" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Project">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="StrategicGoal2Project">
<PropertyRef Name="ProjectId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_StrategicGoal2Project_StrategicGoal">
<End Role="StrategicGoal" Type="Self.StrategicGoal" Multiplicity="1" />
<End Role="StrategicGoal2Project" Type="Self.StrategicGoal2Project" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="StrategicGoal">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="StrategicGoal2Project">
<PropertyRef Name="StrategicGoalId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Team_Company">
<End Role="Company" Type="Self.Company" Multiplicity="0..1" />
<End Role="Team" Type="Self.Team" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Company">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team">
<PropertyRef Name="CompanyId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Team_Contact">
<End Role="Contact" Type="Self.Contact" Multiplicity="0..1" />
<End Role="Team" Type="Self.Team" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Contact">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team">
<PropertyRef Name="ReportsTo" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Team_CreditDepartment">
<End Role="CreditDepartment" Type="Self.CreditDepartment" Multiplicity="0..1" />
<End Role="Team" Type="Self.Team" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="CreditDepartment">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team">
<PropertyRef Name="CostCenterId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Team_Scenario">
<End Role="Scenario" Type="Self.Scenario" Multiplicity="0..1" />
<End Role="Team" Type="Self.Team" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Scenario">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team">
<PropertyRef Name="PlannedCapacityScenarioId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Team_Scenario1">
<End Role="Scenario" Type="Self.Scenario" Multiplicity="0..1" />
<End Role="Team" Type="Self.Team" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Scenario">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team">
<PropertyRef Name="ActualCapacityScenarioId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Team2Project_Project">
<End Role="Project" Type="Self.Project" Multiplicity="1" />
<End Role="Team2Project" Type="Self.Team2Project" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Project">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team2Project">
<PropertyRef Name="ProjectId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Team2Project_Team">
<End Role="Team" Type="Self.Team" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Role="Team2Project" Type="Self.Team2Project" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Team">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team2Project">
<PropertyRef Name="TeamId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Team2Scenario_Scenario">
<End Role="Scenario" Type="Self.Scenario" Multiplicity="1" />
<End Role="Team2Scenario" Type="Self.Team2Scenario" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Scenario">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team2Scenario">
<PropertyRef Name="ScenarioId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Team2Scenario_Team">
<End Role="Team" Type="Self.Team" Multiplicity="1" />
<End Role="Team2Scenario" Type="Self.Team2Scenario" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Team">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team2Scenario">
<PropertyRef Name="TeamId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Team2View_TeamId">
<End Role="Team" Type="Self.Team" Multiplicity="1" />
<End Role="Team2View" Type="Self.Team2View" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Team">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team2View">
<PropertyRef Name="TeamId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Team2View_View">
<End Role="View" Type="Self.View" Multiplicity="1" />
<End Role="Team2View" Type="Self.Team2View" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="View">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team2View">
<PropertyRef Name="ViewId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_TeamAllocation_ExpenditureCategoryId">
<End Role="ExpenditureCategory" Type="Self.ExpenditureCategory" Multiplicity="1" />
<End Role="TeamAllocation" Type="Self.TeamAllocation" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="ExpenditureCategory">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="TeamAllocation">
<PropertyRef Name="ExpenditureCategoryId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_TeamAllocation_ScenarioId">
<End Role="Scenario" Type="Self.Scenario" Multiplicity="1" />
<End Role="TeamAllocation" Type="Self.TeamAllocation" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Scenario">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="TeamAllocation">
<PropertyRef Name="ScenarioId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_TeamAllocation_TeamId">
<End Role="Team" Type="Self.Team" Multiplicity="1" />
<End Role="TeamAllocation" Type="Self.TeamAllocation" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Team">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="TeamAllocation">
<PropertyRef Name="TeamId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Template2TemplateGroup_Scenario">
<End Role="Scenario" Type="Self.Scenario" Multiplicity="1" />
<End Role="Template2TemplateGroup" Type="Self.Template2TemplateGroup" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Scenario">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Template2TemplateGroup">
<PropertyRef Name="TemplateId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Template2TemplateGroup_TemplateGroup">
<End Role="TemplateGroup" Type="Self.TemplateGroup" Multiplicity="1" />
<End Role="Template2TemplateGroup" Type="Self.Template2TemplateGroup" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="TemplateGroup">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Template2TemplateGroup">
<PropertyRef Name="TemplateGroupId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Training_TrainingType">
<End Role="TrainingType" Type="Self.TrainingType" Multiplicity="1" />
<End Role="Training" Type="Self.Training" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="TrainingType">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Training">
<PropertyRef Name="TrainingTypeId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Type2TypeGroup_Type">
<End Role="Type" Type="Self.Type" Multiplicity="1" />
<End Role="Type2TypeGroup" Type="Self.Type2TypeGroup" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Type">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Type2TypeGroup">
<PropertyRef Name="TypeId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Type2TypeGroup_TypeGroup">
<End Role="TypeGroup" Type="Self.TypeGroup" Multiplicity="1" />
<End Role="Type2TypeGroup" Type="Self.Type2TypeGroup" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="TypeGroup">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Type2TypeGroup">
<PropertyRef Name="TypeGroupId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_User2Department_Department">
<End Role="View" Type="Self.View" Multiplicity="0..1" />
<End Role="User2View" Type="Self.User2View" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="View">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="User2View">
<PropertyRef Name="ViewId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_User2Team_AspNetUsers">
<End Role="AspNetUsers" Type="Self.AspNetUsers" Multiplicity="1" />
<End Role="User2Team" Type="Self.User2Team" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="AspNetUsers">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="User2Team">
<PropertyRef Name="UserId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_User2Team_Team">
<End Role="Team" Type="Self.Team" Multiplicity="1" />
<End Role="User2Team" Type="Self.User2Team" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Team">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="User2Team">
<PropertyRef Name="TeamId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Vacation_PeopleResource">
<End Role="PeopleResource" Type="Self.PeopleResource" Multiplicity="1" />
<End Role="Vacation" Type="Self.Vacation" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="PeopleResource">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Vacation">
<PropertyRef Name="PeopleResourceId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityContainer Name="EnVisageModelStoreContainer">
<EntitySet Name="AspNetRoles" EntityType="Self.AspNetRoles" Schema="dbo" store:Type="Tables" />
<EntitySet Name="AspNetUserRoles" EntityType="Self.AspNetUserRoles" Schema="dbo" store:Type="Tables" />
<EntitySet Name="AspNetUsers" EntityType="Self.AspNetUsers" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Attachments" EntityType="Self.Attachments" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Client" EntityType="Self.Client" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Company" EntityType="Self.Company" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Company2Client" EntityType="Self.Company2Client" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Company2View" EntityType="Self.Company2View" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Contact" EntityType="Self.Contact" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Contact2Project" EntityType="Self.Contact2Project" Schema="dbo" store:Type="Tables" />
<EntitySet Name="CostSaving" EntityType="Self.CostSaving" Schema="dbo" store:Type="Tables" />
<EntitySet Name="CreditDepartment" EntityType="Self.CreditDepartment" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Expenditure" EntityType="Self.Expenditure" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Expenditure2Expenditure" EntityType="Self.Expenditure2Expenditure" Schema="dbo" store:Type="Tables" />
<EntitySet Name="ExpenditureCategory" EntityType="Self.ExpenditureCategory" Schema="dbo" store:Type="Tables" />
<EntitySet Name="FeeCalculation" EntityType="Self.FeeCalculation" Schema="dbo" store:Type="Tables" />
<EntitySet Name="FiscalCalendar" EntityType="Self.FiscalCalendar" Schema="dbo" store:Type="Tables" />
<EntitySet Name="FiscalCalendarSettings" EntityType="Self.FiscalCalendarSettings" Schema="dbo" store:Type="Tables" />
<EntitySet Name="GLAccount" EntityType="Self.GLAccount" Schema="dbo" store:Type="Tables" />
<EntitySet Name="History" EntityType="Self.History" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Holiday" EntityType="Self.Holiday" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Note" EntityType="Self.Note" Schema="dbo" store:Type="Tables" />
<EntitySet Name="PasswordResetRequest" EntityType="Self.PasswordResetRequest" Schema="dbo" store:Type="Tables" />
<EntitySet Name="PeopleResource" EntityType="Self.PeopleResource" Schema="dbo" store:Type="Tables" />
<EntitySet Name="PeopleResourceAllocation" EntityType="Self.PeopleResourceAllocation" Schema="dbo" store:Type="Tables" />
<EntitySet Name="PeopleResourceTraining" EntityType="Self.PeopleResourceTraining" Schema="dbo" store:Type="Tables" />
<EntitySet Name="PeopleResourceVacation" EntityType="Self.PeopleResourceVacation" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Project" EntityType="Self.Project" Schema="dbo" store:Type="Tables" />
<EntitySet Name="ProjectAccess" EntityType="Self.ProjectAccess" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Rate" EntityType="Self.Rate" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Scenario" EntityType="Self.Scenario" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Scenario2Group" EntityType="Self.Scenario2Group" Schema="dbo" store:Type="Tables" />
<EntitySet Name="ScenarioDetail" EntityType="Self.ScenarioDetail" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Security" EntityType="Self.Security" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Status" EntityType="Self.Status" Schema="dbo" store:Type="Tables" />
<EntitySet Name="StrategicGoal" EntityType="Self.StrategicGoal" Schema="dbo" store:Type="Tables" />
<EntitySet Name="StrategicGoal2Company" EntityType="Self.StrategicGoal2Company" Schema="dbo" store:Type="Tables" />
<EntitySet Name="StrategicGoal2Project" EntityType="Self.StrategicGoal2Project" Schema="dbo" store:Type="Tables" />
<EntitySet Name="supt_tbl_MongoDBBackup" EntityType="Self.supt_tbl_MongoDBBackup" Schema="dbo" store:Type="Tables" />
<EntitySet Name="supt_tbl_ProjectIds" EntityType="Self.supt_tbl_ProjectIds" Schema="dbo" store:Type="Tables" />
<EntitySet Name="supt_tbl_RecParser" EntityType="Self.supt_tbl_RecParser" Schema="dbo" store:Type="Tables" />
<EntitySet Name="SystemAttributes" EntityType="Self.SystemAttributes" Schema="dbo" store:Type="Tables" />
<EntitySet Name="SystemSettings" EntityType="Self.SystemSettings" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Team" EntityType="Self.Team" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Team2Project" EntityType="Self.Team2Project" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Team2Scenario" EntityType="Self.Team2Scenario" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Team2View" EntityType="Self.Team2View" Schema="dbo" store:Type="Tables" />
<EntitySet Name="TeamAllocation" EntityType="Self.TeamAllocation" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Template2TemplateGroup" EntityType="Self.Template2TemplateGroup" Schema="dbo" store:Type="Tables" />
<EntitySet Name="TemplateGroup" EntityType="Self.TemplateGroup" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Training" EntityType="Self.Training" Schema="dbo" store:Type="Tables" />
<EntitySet Name="TrainingType" EntityType="Self.TrainingType" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Type" EntityType="Self.Type" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Type2TypeGroup" EntityType="Self.Type2TypeGroup" Schema="dbo" store:Type="Tables" />
<EntitySet Name="TypeGroup" EntityType="Self.TypeGroup" Schema="dbo" store:Type="Tables" />
<EntitySet Name="UOM" EntityType="Self.UOM" Schema="dbo" store:Type="Tables" />
<EntitySet Name="User2Team" EntityType="Self.User2Team" Schema="dbo" store:Type="Tables" />
<EntitySet Name="User2View" EntityType="Self.User2View" Schema="dbo" store:Type="Tables" />
<EntitySet Name="UserPreferences" EntityType="Self.UserPreferences" Schema="dbo" store:Type="Tables" />
<EntitySet Name="UserQuickLink" EntityType="Self.UserQuickLink" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Vacation" EntityType="Self.Vacation" Schema="dbo" store:Type="Tables" />
<EntitySet Name="View" EntityType="Self.View" Schema="dbo" store:Type="Tables" />
<EntitySet Name="BLL_Objects" EntityType="Self.BLL_Objects" store:Type="Views" store:Schema="dbo">
<DefiningQuery>SELECT
[BLL_Objects].[Id] AS [Id],
[BLL_Objects].[EntityName] AS [EntityName]
FROM [dbo].[BLL_Objects] AS [BLL_Objects]</DefiningQuery>
</EntitySet>
<EntitySet Name="GLAccountClientsCount" EntityType="Self.GLAccountClientsCount" store:Type="Views" store:Schema="dbo">
<DefiningQuery>SELECT
[GLAccountClientsCount].[Id] AS [Id],
[GLAccountClientsCount].[ClientCount] AS [ClientCount]
FROM [dbo].[GLAccountClientsCount] AS [GLAccountClientsCount]</DefiningQuery>
</EntitySet>
<EntitySet Name="GLAccountExpCatsCount" EntityType="Self.GLAccountExpCatsCount" store:Type="Views" store:Schema="dbo">
<DefiningQuery>SELECT
[GLAccountExpCatsCount].[Id] AS [Id],
[GLAccountExpCatsCount].[ExpCatCount] AS [ExpCatCount]
FROM [dbo].[GLAccountExpCatsCount] AS [GLAccountExpCatsCount]</DefiningQuery>
</EntitySet>
<EntitySet Name="SC_TotalCGSeatsAcrossProject" EntityType="Self.SC_TotalCGSeatsAcrossProject" store:Type="Views" store:Schema="dbo">
<DefiningQuery>SELECT
[SC_TotalCGSeatsAcrossProject].[ScenarioId] AS [ScenarioId],
[SC_TotalCGSeatsAcrossProject].[WeekEndingDate] AS [WeekEndingDate],
[SC_TotalCGSeatsAcrossProject].[Quantity] AS [Quantity],
[SC_TotalCGSeatsAcrossProject].[Cost] AS [Cost],
[SC_TotalCGSeatsAcrossProject].[CGEFX] AS [CGEFX],
[SC_TotalCGSeatsAcrossProject].[ScenarioType] AS [ScenarioType],
[SC_TotalCGSeatsAcrossProject].[ScenarioName] AS [ScenarioName],
[SC_TotalCGSeatsAcrossProject].[ProjectObjectId] AS [ProjectObjectId],
[SC_TotalCGSeatsAcrossProject].[ProjectName] AS [ProjectName],
[SC_TotalCGSeatsAcrossProject].[ProjectTypeId] AS [ProjectTypeId],
[SC_TotalCGSeatsAcrossProject].[ShowStatusId] AS [ShowStatusId],
[SC_TotalCGSeatsAcrossProject].[ProjectStatusName] AS [ProjectStatusName],
[SC_TotalCGSeatsAcrossProject].[Probability] AS [Probability],
[SC_TotalCGSeatsAcrossProject].[ProjectColor] AS [ProjectColor],
[SC_TotalCGSeatsAcrossProject].[ScenarioColor] AS [ScenarioColor],
[SC_TotalCGSeatsAcrossProject].[Status] AS [Status],
[SC_TotalCGSeatsAcrossProject].[SystemAttributeObjectID] AS [SystemAttributeObjectID]
FROM [dbo].[SC_TotalCGSeatsAcrossProject] AS [SC_TotalCGSeatsAcrossProject]</DefiningQuery>
</EntitySet>
<EntitySet Name="SC_TotalSeatsAcrossExpCats" EntityType="Self.SC_TotalSeatsAcrossExpCats" store:Type="Views" store:Schema="dbo">
<DefiningQuery>SELECT
[SC_TotalSeatsAcrossExpCats].[ScenarioObjectID] AS [ScenarioObjectID],
[SC_TotalSeatsAcrossExpCats].[WeekEndingDate] AS [WeekEndingDate],
[SC_TotalSeatsAcrossExpCats].[Quantity] AS [Quantity],
[SC_TotalSeatsAcrossExpCats].[Cost] AS [Cost],
[SC_TotalSeatsAcrossExpCats].[CGEFX] AS [CGEFX],
[SC_TotalSeatsAcrossExpCats].[ScenarioType] AS [ScenarioType],
[SC_TotalSeatsAcrossExpCats].[ScenarioName] AS [ScenarioName],
[SC_TotalSeatsAcrossExpCats].[ShowObjectID] AS [ShowObjectID],
[SC_TotalSeatsAcrossExpCats].[ShowName] AS [ShowName],
[SC_TotalSeatsAcrossExpCats].[ShowTypeObjectID] AS [ShowTypeObjectID],
[SC_TotalSeatsAcrossExpCats].[ShowStatusObjectID] AS [ShowStatusObjectID],
[SC_TotalSeatsAcrossExpCats].[ShowStatusName] AS [ShowStatusName],
[SC_TotalSeatsAcrossExpCats].[Probability] AS [Probability],
[SC_TotalSeatsAcrossExpCats].[ShowColor] AS [ShowColor],
[SC_TotalSeatsAcrossExpCats].[ScenarioColor] AS [ScenarioColor],
[SC_TotalSeatsAcrossExpCats].[ExpenditureCatObjectID] AS [ExpenditureCatObjectID],
[SC_TotalSeatsAcrossExpCats].[Status] AS [Status],
[SC_TotalSeatsAcrossExpCats].[SystemAttributeObjectID] AS [SystemAttributeObjectID],
[SC_TotalSeatsAcrossExpCats].[GroupId] AS [GroupId],
[SC_TotalSeatsAcrossExpCats].[SystemAttributeOne] AS [SystemAttributeOne],
[SC_TotalSeatsAcrossExpCats].[SystemAttributeTwo] AS [SystemAttributeTwo]
FROM [dbo].[SC_TotalSeatsAcrossExpCats] AS [SC_TotalSeatsAcrossExpCats]</DefiningQuery>
</EntitySet>
<EntitySet Name="VW_ExpCategoriesInScenario" EntityType="Self.VW_ExpCategoriesInScenario" store:Type="Views" store:Schema="dbo">
<DefiningQuery>SELECT
[VW_ExpCategoriesInScenario].[Id] AS [Id],
[VW_ExpCategoriesInScenario].[ExpenditureCategoryName] AS [ExpenditureCategoryName],
[VW_ExpCategoriesInScenario].[ExpenditureName] AS [ExpenditureName],
[VW_ExpCategoriesInScenario].[ECType] AS [ECType],
[VW_ExpCategoriesInScenario].[ScenarioType] AS [ScenarioType],
[VW_ExpCategoriesInScenario].[ScenarioID] AS [ScenarioID],
[VW_ExpCategoriesInScenario].[ScenarioName] AS [ScenarioName],
[VW_ExpCategoriesInScenario].[SortOrder] AS [SortOrder],
[VW_ExpCategoriesInScenario].[UseType] AS [UseType],
[VW_ExpCategoriesInScenario].[GLId] AS [GLId],
[VW_ExpCategoriesInScenario].[ExpCategoryWithCcName] AS [ExpCategoryWithCcName]
FROM [dbo].[VW_ExpCategoriesInScenario] AS [VW_ExpCategoriesInScenario]</DefiningQuery>
</EntitySet>
<EntitySet Name="VW_Expenditure2Calculation" EntityType="Self.VW_Expenditure2Calculation" store:Type="Views" store:Schema="dbo">
<DefiningQuery>SELECT
[VW_Expenditure2Calculation].[Id] AS [Id],
[VW_Expenditure2Calculation].[ExpenditureCategoryID] AS [ExpenditureCategoryID],
[VW_Expenditure2Calculation].[ExpenditureCategoryName] AS [ExpenditureCategoryName],
[VW_Expenditure2Calculation].[GLId] AS [GLId],
[VW_Expenditure2Calculation].[UOMId] AS [UOMId],
[VW_Expenditure2Calculation].[Type] AS [Type],
[VW_Expenditure2Calculation].[UseType] AS [UseType],
[VW_Expenditure2Calculation].[CGEFX] AS [CGEFX],
[VW_Expenditure2Calculation].[SortOrder] AS [SortOrder],
[VW_Expenditure2Calculation].[SystemAttributeOne] AS [SystemAttributeOne],
[VW_Expenditure2Calculation].[SystemAttributeTwo] AS [SystemAttributeTwo],
[VW_Expenditure2Calculation].[ExpenditureName] AS [ExpenditureName],
[VW_Expenditure2Calculation].[FactorType] AS [FactorType],
[VW_Expenditure2Calculation].[FactorInt] AS [FactorInt],
[VW_Expenditure2Calculation].[ProcessOrder] AS [ProcessOrder],
[VW_Expenditure2Calculation].[ParentId] AS [ParentId],
[VW_Expenditure2Calculation].[CreditId] AS [CreditId],
[VW_Expenditure2Calculation].[WksSubjectToFee] AS [WksSubjectToFee],
[VW_Expenditure2Calculation].[ExpCategoryWithCcName] AS [ExpCategoryWithCcName]
FROM [dbo].[VW_Expenditure2Calculation] AS [VW_Expenditure2Calculation]</DefiningQuery>
</EntitySet>
<EntitySet Name="VW_Expenditure2Category" EntityType="Self.VW_Expenditure2Category" store:Type="Views" store:Schema="dbo">
<DefiningQuery>SELECT
[VW_Expenditure2Category].[Id] AS [Id],
[VW_Expenditure2Category].[ExpenditureId] AS [ExpenditureId],
[VW_Expenditure2Category].[ExpenditureCategoryName] AS [ExpenditureCategoryName],
[VW_Expenditure2Category].[GLId] AS [GLId],
[VW_Expenditure2Category].[UOMId] AS [UOMId],
[VW_Expenditure2Category].[Type] AS [Type],
[VW_Expenditure2Category].[UseType] AS [UseType],
[VW_Expenditure2Category].[CGEFX] AS [CGEFX],
[VW_Expenditure2Category].[SortOrder] AS [SortOrder],
[VW_Expenditure2Category].[ExpenditureName] AS [ExpenditureName],
[VW_Expenditure2Category].[GLNumber] AS [GLNumber],
[VW_Expenditure2Category].[GLName] AS [GLName],
[VW_Expenditure2Category].[UOMName] AS [UOMName],
[VW_Expenditure2Category].[CreditId] AS [CreditId],
[VW_Expenditure2Category].[SystemAttributeOne] AS [SystemAttributeOne],
[VW_Expenditure2Category].[SystemAttributeTwo] AS [SystemAttributeTwo],
[VW_Expenditure2Category].[CreditName] AS [CreditName],
[VW_Expenditure2Category].[WksSubjectToFee] AS [WksSubjectToFee],
[VW_Expenditure2Category].[SystemAttributeNameOne] AS [SystemAttributeNameOne],
[VW_Expenditure2Category].[SystemAttributeTypeOne] AS [SystemAttributeTypeOne],
[VW_Expenditure2Category].[SystemAttributeNameTwo] AS [SystemAttributeNameTwo],
[VW_Expenditure2Category].[SystemAttributeTypeTwo] AS [SystemAttributeTypeTwo],
[VW_Expenditure2Category].[ExpCategoryWithCcName] AS [ExpCategoryWithCcName]
FROM [dbo].[VW_Expenditure2Category] AS [VW_Expenditure2Category]</DefiningQuery>
</EntitySet>
<EntitySet Name="VW_Expenditure2FeeCalculation" EntityType="Self.VW_Expenditure2FeeCalculation" store:Type="Views" store:Schema="dbo">
<DefiningQuery>SELECT
[VW_Expenditure2FeeCalculation].[Id] AS [Id],
[VW_Expenditure2FeeCalculation].[ExpenditureCategoryId] AS [ExpenditureCategoryId],
[VW_Expenditure2FeeCalculation].[MinShot] AS [MinShot],
[VW_Expenditure2FeeCalculation].[MaxShot] AS [MaxShot],
[VW_Expenditure2FeeCalculation].[Quantity] AS [Quantity],
[VW_Expenditure2FeeCalculation].[WksSubjectToFee] AS [WksSubjectToFee]
FROM [dbo].[VW_Expenditure2FeeCalculation] AS [VW_Expenditure2FeeCalculation]</DefiningQuery>
</EntitySet>
<EntitySet Name="VW_ExpenditureCategory" EntityType="Self.VW_ExpenditureCategory" store:Type="Views" store:Schema="dbo">
<DefiningQuery>SELECT
[VW_ExpenditureCategory].[Id] AS [Id],
[VW_ExpenditureCategory].[ExpenditureId] AS [ExpenditureId],
[VW_ExpenditureCategory].[GLId] AS [GLId],
[VW_ExpenditureCategory].[UOMId] AS [UOMId],
[VW_ExpenditureCategory].[CreditId] AS [CreditId],
[VW_ExpenditureCategory].[Type] AS [Type],
[VW_ExpenditureCategory].[UseType] AS [UseType],
[VW_ExpenditureCategory].[CGEFX] AS [CGEFX],
[VW_ExpenditureCategory].[SortOrder] AS [SortOrder],
[VW_ExpenditureCategory].[WksSubjectToFee] AS [WksSubjectToFee],
[VW_ExpenditureCategory].[SystemAttributeOne] AS [SystemAttributeOne],
[VW_ExpenditureCategory].[SystemAttributeTwo] AS [SystemAttributeTwo],
[VW_ExpenditureCategory].[Name] AS [Name],
[VW_ExpenditureCategory].[ExpCategoryWithCcName] AS [ExpCategoryWithCcName]
FROM [dbo].[VW_ExpenditureCategory] AS [VW_ExpenditureCategory]</DefiningQuery>
</EntitySet>
<EntitySet Name="VW_ProjectAccess" EntityType="Self.VW_ProjectAccess" store:Type="Views" store:Schema="dbo">
<DefiningQuery>SELECT
[VW_ProjectAccess].[UserId] AS [UserId],
[VW_ProjectAccess].[ProjectId] AS [ProjectId],
[VW_ProjectAccess].[Read] AS [Read],
[VW_ProjectAccess].[Write] AS [Write]
FROM [dbo].[VW_ProjectAccess] AS [VW_ProjectAccess]</DefiningQuery>
</EntitySet>
<EntitySet Name="VW_ProjectAccessByUser" EntityType="Self.VW_ProjectAccessByUser" store:Type="Views" store:Schema="dbo">
<DefiningQuery>SELECT
[VW_ProjectAccessByUser].[Id] AS [Id],
[VW_ProjectAccessByUser].[CompanyId] AS [CompanyId],
[VW_ProjectAccessByUser].[ClientId] AS [ClientId],
[VW_ProjectAccessByUser].[TypeId] AS [TypeId],
[VW_ProjectAccessByUser].[StatusId] AS [StatusId],
[VW_ProjectAccessByUser].[Name] AS [Name],
[VW_ProjectAccessByUser].[ProjectNumber] AS [ProjectNumber],
[VW_ProjectAccessByUser].[Color] AS [Color],
[VW_ProjectAccessByUser].[Details] AS [Details],
[VW_ProjectAccessByUser].[Priority] AS [Priority],
[VW_ProjectAccessByUser].[Probability] AS [Probability],
[VW_ProjectAccessByUser].[IsRevenueGenerating] AS [IsRevenueGenerating],
[VW_ProjectAccessByUser].[Deadline] AS [Deadline],
[VW_ProjectAccessByUser].[ParentProjectId] AS [ParentProjectId],
[VW_ProjectAccessByUser].[HasChildren] AS [HasChildren],
[VW_ProjectAccessByUser].[PerformanceRedThreshold] AS [PerformanceRedThreshold],
[VW_ProjectAccessByUser].[PerformanceYellowThreshold] AS [PerformanceYellowThreshold],
[VW_ProjectAccessByUser].[PartNum] AS [PartNum],
[VW_ProjectAccessByUser].[DateEdited] AS [DateEdited],
[VW_ProjectAccessByUser].[UserId] AS [UserId],
[VW_ProjectAccessByUser].[StatusName] AS [StatusName],
[VW_ProjectAccessByUser].[CompanyName] AS [CompanyName],
[VW_ProjectAccessByUser].[ClientName] AS [ClientName],
[VW_ProjectAccessByUser].[TypeName] AS [TypeName],
[VW_ProjectAccessByUser].[ActiveScenarioId] AS [ActiveScenarioId],
[VW_ProjectAccessByUser].[ActiveScenarioName] AS [ActiveScenarioName],
[VW_ProjectAccessByUser].[Teams] AS [Teams],
[VW_ProjectAccessByUser].[Read] AS [Read],
[VW_ProjectAccessByUser].[Write] AS [Write]
FROM [dbo].[VW_ProjectAccessByUser] AS [VW_ProjectAccessByUser]</DefiningQuery>
</EntitySet>
<EntitySet Name="VW_ProjectPerformance" EntityType="Self.VW_ProjectPerformance" store:Type="Views" store:Schema="dbo">
<DefiningQuery>SELECT
[VW_ProjectPerformance].[ForecastScenarioId] AS [ForecastScenarioId],
[VW_ProjectPerformance].[ActualsScenarioId] AS [ActualsScenarioId],
[VW_ProjectPerformance].[ForecastScenarioType] AS [ForecastScenarioType],
[VW_ProjectPerformance].[ForecastTotalCost] AS [ForecastTotalCost],
[VW_ProjectPerformance].[ActualsTotalCost] AS [ActualsTotalCost],
[VW_ProjectPerformance].[VariationPercent] AS [VariationPercent],
[VW_ProjectPerformance].[ProjectId] AS [ProjectId],
[VW_ProjectPerformance].[ProjectName] AS [ProjectName],
[VW_ProjectPerformance].[Status] AS [Status],
[VW_ProjectPerformance].[BUDirectCosts] AS [BUDirectCosts],
[VW_ProjectPerformance].[ScenarioEndDate] AS [ScenarioEndDate],
[VW_ProjectPerformance].[ProjectTypeId] AS [ProjectTypeId],
[VW_ProjectPerformance].[ProjectTypeName] AS [ProjectTypeName],
[VW_ProjectPerformance].[ProjectPriority] AS [ProjectPriority],
[VW_ProjectPerformance].[ActualsCostForecasted] AS [ActualsCostForecasted],
[VW_ProjectPerformance].[ActualsCostVariation] AS [ActualsCostVariation],
[VW_ProjectPerformance].[ProjectWeight] AS [ProjectWeight],
[VW_ProjectPerformance].[FiscalPeriodId] AS [FiscalPeriodId],
[VW_ProjectPerformance].[ScenarioGroupId] AS [ScenarioGroupId]
FROM [dbo].[VW_ProjectPerformance] AS [VW_ProjectPerformance]</DefiningQuery>
</EntitySet>
<EntitySet Name="VW_Scenario2Project" EntityType="Self.VW_Scenario2Project" store:Type="Views" store:Schema="dbo">
<DefiningQuery>SELECT
[VW_Scenario2Project].[Id] AS [Id],
[VW_Scenario2Project].[ParentId] AS [ParentId],
[VW_Scenario2Project].[TemplateId] AS [TemplateId],
[VW_Scenario2Project].[Type] AS [Type],
[VW_Scenario2Project].[Name] AS [Name],
[VW_Scenario2Project].[ProjectedRevenue] AS [ProjectedRevenue],
[VW_Scenario2Project].[ExpectedGrossMargin] AS [ExpectedGrossMargin],
[VW_Scenario2Project].[CalculatedGrossMargin] AS [CalculatedGrossMargin],
[VW_Scenario2Project].[CGSplit] AS [CGSplit],
[VW_Scenario2Project].[EFXSplit] AS [EFXSplit],
[VW_Scenario2Project].[StartDate] AS [StartDate],
[VW_Scenario2Project].[EndDate] AS [EndDate],
[VW_Scenario2Project].[Duration] AS [Duration],
[VW_Scenario2Project].[Priority] AS [Priority],
[VW_Scenario2Project].[Probability] AS [Probability],
[VW_Scenario2Project].[TDDirectCosts] AS [TDDirectCosts],
[VW_Scenario2Project].[BUDirectCosts] AS [BUDirectCosts],
[VW_Scenario2Project].[Shots] AS [Shots],
[VW_Scenario2Project].[TDRevenueShot] AS [TDRevenueShot],
[VW_Scenario2Project].[BURevenueShot] AS [BURevenueShot],
[VW_Scenario2Project].[FreezeRevenue] AS [FreezeRevenue],
[VW_Scenario2Project].[LastUpdate] AS [LastUpdate],
[VW_Scenario2Project].[ShowObjectID] AS [ShowObjectID],
[VW_Scenario2Project].[ShowName] AS [ShowName],
[VW_Scenario2Project].[CompanyId] AS [CompanyId],
[VW_Scenario2Project].[ClientId] AS [ClientId],
[VW_Scenario2Project].[TypeId] AS [TypeId],
[VW_Scenario2Project].[StatusId] AS [StatusId],
[VW_Scenario2Project].[Color] AS [Color],
[VW_Scenario2Project].[Status] AS [Status],
[VW_Scenario2Project].[UseLMMargin] AS [UseLMMargin],
[VW_Scenario2Project].[ExpectedGrossMargin_LM] AS [ExpectedGrossMargin_LM],
[VW_Scenario2Project].[CalculatedGrossMargin_LM] AS [CalculatedGrossMargin_LM],
[VW_Scenario2Project].[TDDirectCosts_LM] AS [TDDirectCosts_LM],
[VW_Scenario2Project].[BUDirectCosts_LM] AS [BUDirectCosts_LM],
[VW_Scenario2Project].[BURevenueShot_LM] AS [BURevenueShot_LM],
[VW_Scenario2Project].[ShotStartDate] AS [ShotStartDate],
[VW_Scenario2Project].[EntryTimeStamp] AS [EntryTimeStamp],
[VW_Scenario2Project].[GrowthScenario] AS [GrowthScenario],
[VW_Scenario2Project].[Actuals_BUDirectCosts] AS [Actuals_BUDirectCosts],
[VW_Scenario2Project].[Actuals_BUDirectCosts_LM] AS [Actuals_BUDirectCosts_LM],
[VW_Scenario2Project].[SystemAttributeObjectID] AS [SystemAttributeObjectID],
[VW_Scenario2Project].[GroupId] AS [GroupId],
[VW_Scenario2Project].[CostSavings] AS [CostSavings],
[VW_Scenario2Project].[ParentProjectId] AS [ParentProjectId],
[VW_Scenario2Project].[ParentProjectName] AS [ParentProjectName],
[VW_Scenario2Project].[ParentProjectColor] AS [ParentProjectColor]
FROM [dbo].[VW_Scenario2Project] AS [VW_Scenario2Project]</DefiningQuery>
</EntitySet>
<EntitySet Name="VW_ScenarioAndProxyDetails" EntityType="Self.VW_ScenarioAndProxyDetails" store:Type="Views" store:Schema="dbo">
<DefiningQuery>SELECT
[VW_ScenarioAndProxyDetails].[Id] AS [Id],
[VW_ScenarioAndProxyDetails].[ParentID] AS [ParentID],
[VW_ScenarioAndProxyDetails].[ExpenditureCategoryId] AS [ExpenditureCategoryId],
[VW_ScenarioAndProxyDetails].[WeekEndingDate] AS [WeekEndingDate],
[VW_ScenarioAndProxyDetails].[Quantity] AS [Quantity],
[VW_ScenarioAndProxyDetails].[LastUpdate] AS [LastUpdate],
[VW_ScenarioAndProxyDetails].[WeekOrdinal] AS [WeekOrdinal],
[VW_ScenarioAndProxyDetails].[Cost] AS [Cost],
[VW_ScenarioAndProxyDetails].[ExpenditureCategoryName] AS [ExpenditureCategoryName],
[VW_ScenarioAndProxyDetails].[ExpenditureName] AS [ExpenditureName],
[VW_ScenarioAndProxyDetails].[GLId] AS [GLId],
[VW_ScenarioAndProxyDetails].[UOMId] AS [UOMId],
[VW_ScenarioAndProxyDetails].[CreditId] AS [CreditId],
[VW_ScenarioAndProxyDetails].[Type] AS [Type],
[VW_ScenarioAndProxyDetails].[UseType] AS [UseType],
[VW_ScenarioAndProxyDetails].[CGEFX] AS [CGEFX],
[VW_ScenarioAndProxyDetails].[SystemAttributeOne] AS [SystemAttributeOne],
[VW_ScenarioAndProxyDetails].[SystemAttributeTwo] AS [SystemAttributeTwo],
[VW_ScenarioAndProxyDetails].[SortOrder] AS [SortOrder],
[VW_ScenarioAndProxyDetails].[ExpCategoryWithCcName] AS [ExpCategoryWithCcName]
FROM [dbo].[VW_ScenarioAndProxyDetails] AS [VW_ScenarioAndProxyDetails]</DefiningQuery>
</EntitySet>
<EntitySet Name="VW_ScenarioPerformance" EntityType="Self.VW_ScenarioPerformance" store:Type="Views" store:Schema="dbo">
<DefiningQuery>SELECT
[VW_ScenarioPerformance].[ForecastScenarioId] AS [ForecastScenarioId],
[VW_ScenarioPerformance].[ActualsScenarioId] AS [ActualsScenarioId],
[VW_ScenarioPerformance].[ForecastScenarioType] AS [ForecastScenarioType],
[VW_ScenarioPerformance].[ForecastTotalCost] AS [ForecastTotalCost],
[VW_ScenarioPerformance].[ActualsTotalCost] AS [ActualsTotalCost],
[VW_ScenarioPerformance].[VariationPercent] AS [VariationPercent]
FROM [dbo].[VW_ScenarioPerformance] AS [VW_ScenarioPerformance]</DefiningQuery>
</EntitySet>
<AssociationSet Name="FK_Child_ExpenditureCategory" Association="Self.FK_Child_ExpenditureCategory">
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
<End Role="Expenditure2Expenditure" EntitySet="Expenditure2Expenditure" />
</AssociationSet>
<AssociationSet Name="FK_Client_GLAccount" Association="Self.FK_Client_GLAccount">
<End Role="GLAccount" EntitySet="GLAccount" />
<End Role="Client" EntitySet="Client" />
</AssociationSet>
<AssociationSet Name="FK_Company_Company" Association="Self.FK_Company_Company">
<End Role="Company" EntitySet="Company" />
<End Role="Company1" EntitySet="Company" />
</AssociationSet>
<AssociationSet Name="FK_Company2Client_ClientId" Association="Self.FK_Company2Client_ClientId">
<End Role="Client" EntitySet="Client" />
<End Role="Company2Client" EntitySet="Company2Client" />
</AssociationSet>
<AssociationSet Name="FK_Company2Client_CompanyId" Association="Self.FK_Company2Client_CompanyId">
<End Role="Company" EntitySet="Company" />
<End Role="Company2Client" EntitySet="Company2Client" />
</AssociationSet>
<AssociationSet Name="FK_Company2Department_Department" Association="Self.FK_Company2Department_Department">
<End Role="View" EntitySet="View" />
<End Role="Company2View" EntitySet="Company2View" />
</AssociationSet>
<AssociationSet Name="FK_Company2GLDepartment_CompanyId" Association="Self.FK_Company2GLDepartment_CompanyId">
<End Role="Company" EntitySet="Company" />
<End Role="Company2View" EntitySet="Company2View" />
</AssociationSet>
<AssociationSet Name="FK_Contact2Show_Contact" Association="Self.FK_Contact2Show_Contact">
<End Role="Contact" EntitySet="Contact" />
<End Role="Contact2Project" EntitySet="Contact2Project" />
</AssociationSet>
<AssociationSet Name="FK_Contact2Show_Show" Association="Self.FK_Contact2Show_Show">
<End Role="Project" EntitySet="Project" />
<End Role="Contact2Project" EntitySet="Contact2Project" />
</AssociationSet>
<AssociationSet Name="FK_CostSaving_Scenario" Association="Self.FK_CostSaving_Scenario">
<End Role="Scenario" EntitySet="Scenario" />
<End Role="CostSaving" EntitySet="CostSaving" />
</AssociationSet>
<AssociationSet Name="FK_dbo_AspNetUserRoles_dbo_AspNetRoles_RoleId" Association="Self.FK_dbo_AspNetUserRoles_dbo_AspNetRoles_RoleId">
<End Role="AspNetRoles" EntitySet="AspNetRoles" />
<End Role="AspNetUserRoles" EntitySet="AspNetUserRoles" />
</AssociationSet>
<AssociationSet Name="FK_dbo_AspNetUserRoles_dbo_AspNetUsers_UserId" Association="Self.FK_dbo_AspNetUserRoles_dbo_AspNetUsers_UserId">
<End Role="AspNetUsers" EntitySet="AspNetUsers" />
<End Role="AspNetUserRoles" EntitySet="AspNetUserRoles" />
</AssociationSet>
<AssociationSet Name="FK_Expenditure_Category_CreditDepartment" Association="Self.FK_Expenditure_Category_CreditDepartment">
<End Role="CreditDepartment" EntitySet="CreditDepartment" />
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
</AssociationSet>
<AssociationSet Name="FK_Expenditure_Category_GLDepartment" Association="Self.FK_Expenditure_Category_GLDepartment">
<End Role="GLAccount" EntitySet="GLAccount" />
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
</AssociationSet>
<AssociationSet Name="FK_Expenditure_Category_UOM" Association="Self.FK_Expenditure_Category_UOM">
<End Role="UOM" EntitySet="UOM" />
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
</AssociationSet>
<AssociationSet Name="FK_ExpenditureCategory_Expenditure" Association="Self.FK_ExpenditureCategory_Expenditure">
<End Role="Expenditure" EntitySet="Expenditure" />
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
</AssociationSet>
<AssociationSet Name="FK_FeeCalculation_ExpenditureCategory" Association="Self.FK_FeeCalculation_ExpenditureCategory">
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
<End Role="FeeCalculation" EntitySet="FeeCalculation" />
</AssociationSet>
<AssociationSet Name="FK_Parent_ExpenditureCategory" Association="Self.FK_Parent_ExpenditureCategory">
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
<End Role="Expenditure2Expenditure" EntitySet="Expenditure2Expenditure" />
</AssociationSet>
<AssociationSet Name="FK_PasswordResetRequest_AspNetUsers" Association="Self.FK_PasswordResetRequest_AspNetUsers">
<End Role="AspNetUsers" EntitySet="AspNetUsers" />
<End Role="PasswordResetRequest" EntitySet="PasswordResetRequest" />
</AssociationSet>
<AssociationSet Name="FK_PeopleResourceAllocation_ExpenditureCategory" Association="Self.FK_PeopleResourceAllocation_ExpenditureCategory">
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
<End Role="PeopleResourceAllocation" EntitySet="PeopleResourceAllocation" />
</AssociationSet>
<AssociationSet Name="FK_PeopleResourceAllocation_PeopleResource" Association="Self.FK_PeopleResourceAllocation_PeopleResource">
<End Role="PeopleResource" EntitySet="PeopleResource" />
<End Role="PeopleResourceAllocation" EntitySet="PeopleResourceAllocation" />
</AssociationSet>
<AssociationSet Name="FK_PeopleResourceAllocation_Scenario" Association="Self.FK_PeopleResourceAllocation_Scenario">
<End Role="Scenario" EntitySet="Scenario" />
<End Role="PeopleResourceAllocation" EntitySet="PeopleResourceAllocation" />
</AssociationSet>
<AssociationSet Name="FK_PeopleResourceTraining_PeopleResource" Association="Self.FK_PeopleResourceTraining_PeopleResource">
<End Role="PeopleResource" EntitySet="PeopleResource" />
<End Role="PeopleResourceTraining" EntitySet="PeopleResourceTraining" />
</AssociationSet>
<AssociationSet Name="FK_PeopleResourceTraining_Training" Association="Self.FK_PeopleResourceTraining_Training">
<End Role="Training" EntitySet="Training" />
<End Role="PeopleResourceTraining" EntitySet="PeopleResourceTraining" />
</AssociationSet>
<AssociationSet Name="FK_PeopleResourceVacation_PeopleResource" Association="Self.FK_PeopleResourceVacation_PeopleResource">
<End Role="PeopleResource" EntitySet="PeopleResource" />
<End Role="PeopleResourceVacation" EntitySet="PeopleResourceVacation" />
</AssociationSet>
<AssociationSet Name="FK_PeopleResourceVacation_Vacation" Association="Self.FK_PeopleResourceVacation_Vacation">
<End Role="Vacation" EntitySet="Vacation" />
<End Role="PeopleResourceVacation" EntitySet="PeopleResourceVacation" />
</AssociationSet>
<AssociationSet Name="FK_Project_Project" Association="Self.FK_Project_Project">
<End Role="Project" EntitySet="Project" />
<End Role="Project1" EntitySet="Project" />
</AssociationSet>
<AssociationSet Name="FK_ProjectAccess_Project" Association="Self.FK_ProjectAccess_Project">
<End Role="Project" EntitySet="Project" />
<End Role="ProjectAccess" EntitySet="ProjectAccess" />
</AssociationSet>
<AssociationSet Name="FK_Rate_ExpenditureCategory" Association="Self.FK_Rate_ExpenditureCategory">
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
<End Role="Rate" EntitySet="Rate" />
</AssociationSet>
<AssociationSet Name="FK_Resource_Expenditure_Category" Association="Self.FK_Resource_Expenditure_Category">
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
<End Role="PeopleResource" EntitySet="PeopleResource" />
</AssociationSet>
<AssociationSet Name="FK_Resource_Team" Association="Self.FK_Resource_Team">
<End Role="Team" EntitySet="Team" />
<End Role="PeopleResource" EntitySet="PeopleResource" />
</AssociationSet>
<AssociationSet Name="FK_Scenario_Project" Association="Self.FK_Scenario_Project">
<End Role="Project" EntitySet="Project" />
<End Role="Scenario" EntitySet="Scenario" />
</AssociationSet>
<AssociationSet Name="FK_Scenario_TemplateScenario" Association="Self.FK_Scenario_TemplateScenario">
<End Role="Scenario" EntitySet="Scenario" />
<End Role="Scenario1" EntitySet="Scenario" />
</AssociationSet>
<AssociationSet Name="FK_Scenario2Group_GroupId" Association="Self.FK_Scenario2Group_GroupId">
<End Role="SystemAttributes" EntitySet="SystemAttributes" />
<End Role="Scenario2Group" EntitySet="Scenario2Group" />
</AssociationSet>
<AssociationSet Name="FK_Scenario2Group_ScenarioId" Association="Self.FK_Scenario2Group_ScenarioId">
<End Role="Scenario" EntitySet="Scenario" />
<End Role="Scenario2Group" EntitySet="Scenario2Group" />
</AssociationSet>
<AssociationSet Name="FK_ScenarioDetail_ExpenditureCategory" Association="Self.FK_ScenarioDetail_ExpenditureCategory">
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
<End Role="ScenarioDetail" EntitySet="ScenarioDetail" />
</AssociationSet>
<AssociationSet Name="FK_Show_Client" Association="Self.FK_Show_Client">
<End Role="Client" EntitySet="Client" />
<End Role="Project" EntitySet="Project" />
</AssociationSet>
<AssociationSet Name="FK_Show_Status" Association="Self.FK_Show_Status">
<End Role="Status" EntitySet="Status" />
<End Role="Project" EntitySet="Project" />
</AssociationSet>
<AssociationSet Name="FK_Show_Studio" Association="Self.FK_Show_Studio">
<End Role="Company" EntitySet="Company" />
<End Role="Project" EntitySet="Project" />
</AssociationSet>
<AssociationSet Name="FK_Show_Type" Association="Self.FK_Show_Type">
<End Role="Type" EntitySet="Type" />
<End Role="Project" EntitySet="Project" />
</AssociationSet>
<AssociationSet Name="FK_StrategicGoal2Company_Company" Association="Self.FK_StrategicGoal2Company_Company">
<End Role="Company" EntitySet="Company" />
<End Role="StrategicGoal2Company" EntitySet="StrategicGoal2Company" />
</AssociationSet>
<AssociationSet Name="FK_StrategicGoal2Company_Goal" Association="Self.FK_StrategicGoal2Company_Goal">
<End Role="StrategicGoal" EntitySet="StrategicGoal" />
<End Role="StrategicGoal2Company" EntitySet="StrategicGoal2Company" />
</AssociationSet>
<AssociationSet Name="FK_StrategicGoal2Project_Project" Association="Self.FK_StrategicGoal2Project_Project">
<End Role="Project" EntitySet="Project" />
<End Role="StrategicGoal2Project" EntitySet="StrategicGoal2Project" />
</AssociationSet>
<AssociationSet Name="FK_StrategicGoal2Project_StrategicGoal" Association="Self.FK_StrategicGoal2Project_StrategicGoal">
<End Role="StrategicGoal" EntitySet="StrategicGoal" />
<End Role="StrategicGoal2Project" EntitySet="StrategicGoal2Project" />
</AssociationSet>
<AssociationSet Name="FK_Team_Company" Association="Self.FK_Team_Company">
<End Role="Company" EntitySet="Company" />
<End Role="Team" EntitySet="Team" />
</AssociationSet>
<AssociationSet Name="FK_Team_Contact" Association="Self.FK_Team_Contact">
<End Role="Contact" EntitySet="Contact" />
<End Role="Team" EntitySet="Team" />
</AssociationSet>
<AssociationSet Name="FK_Team_CreditDepartment" Association="Self.FK_Team_CreditDepartment">
<End Role="CreditDepartment" EntitySet="CreditDepartment" />
<End Role="Team" EntitySet="Team" />
</AssociationSet>
<AssociationSet Name="FK_Team_Scenario" Association="Self.FK_Team_Scenario">
<End Role="Scenario" EntitySet="Scenario" />
<End Role="Team" EntitySet="Team" />
</AssociationSet>
<AssociationSet Name="FK_Team_Scenario1" Association="Self.FK_Team_Scenario1">
<End Role="Scenario" EntitySet="Scenario" />
<End Role="Team" EntitySet="Team" />
</AssociationSet>
<AssociationSet Name="FK_Team2Project_Project" Association="Self.FK_Team2Project_Project">
<End Role="Project" EntitySet="Project" />
<End Role="Team2Project" EntitySet="Team2Project" />
</AssociationSet>
<AssociationSet Name="FK_Team2Project_Team" Association="Self.FK_Team2Project_Team">
<End Role="Team" EntitySet="Team" />
<End Role="Team2Project" EntitySet="Team2Project" />
</AssociationSet>
<AssociationSet Name="FK_Team2Scenario_Scenario" Association="Self.FK_Team2Scenario_Scenario">
<End Role="Scenario" EntitySet="Scenario" />
<End Role="Team2Scenario" EntitySet="Team2Scenario" />
</AssociationSet>
<AssociationSet Name="FK_Team2Scenario_Team" Association="Self.FK_Team2Scenario_Team">
<End Role="Team" EntitySet="Team" />
<End Role="Team2Scenario" EntitySet="Team2Scenario" />
</AssociationSet>
<AssociationSet Name="FK_Team2View_TeamId" Association="Self.FK_Team2View_TeamId">
<End Role="Team" EntitySet="Team" />
<End Role="Team2View" EntitySet="Team2View" />
</AssociationSet>
<AssociationSet Name="FK_Team2View_View" Association="Self.FK_Team2View_View">
<End Role="View" EntitySet="View" />
<End Role="Team2View" EntitySet="Team2View" />
</AssociationSet>
<AssociationSet Name="FK_TeamAllocation_ExpenditureCategoryId" Association="Self.FK_TeamAllocation_ExpenditureCategoryId">
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
<End Role="TeamAllocation" EntitySet="TeamAllocation" />
</AssociationSet>
<AssociationSet Name="FK_TeamAllocation_ScenarioId" Association="Self.FK_TeamAllocation_ScenarioId">
<End Role="Scenario" EntitySet="Scenario" />
<End Role="TeamAllocation" EntitySet="TeamAllocation" />
</AssociationSet>
<AssociationSet Name="FK_TeamAllocation_TeamId" Association="Self.FK_TeamAllocation_TeamId">
<End Role="Team" EntitySet="Team" />
<End Role="TeamAllocation" EntitySet="TeamAllocation" />
</AssociationSet>
<AssociationSet Name="FK_Template2TemplateGroup_Scenario" Association="Self.FK_Template2TemplateGroup_Scenario">
<End Role="Scenario" EntitySet="Scenario" />
<End Role="Template2TemplateGroup" EntitySet="Template2TemplateGroup" />
</AssociationSet>
<AssociationSet Name="FK_Template2TemplateGroup_TemplateGroup" Association="Self.FK_Template2TemplateGroup_TemplateGroup">
<End Role="TemplateGroup" EntitySet="TemplateGroup" />
<End Role="Template2TemplateGroup" EntitySet="Template2TemplateGroup" />
</AssociationSet>
<AssociationSet Name="FK_Training_TrainingType" Association="Self.FK_Training_TrainingType">
<End Role="TrainingType" EntitySet="TrainingType" />
<End Role="Training" EntitySet="Training" />
</AssociationSet>
<AssociationSet Name="FK_Type2TypeGroup_Type" Association="Self.FK_Type2TypeGroup_Type">
<End Role="Type" EntitySet="Type" />
<End Role="Type2TypeGroup" EntitySet="Type2TypeGroup" />
</AssociationSet>
<AssociationSet Name="FK_Type2TypeGroup_TypeGroup" Association="Self.FK_Type2TypeGroup_TypeGroup">
<End Role="TypeGroup" EntitySet="TypeGroup" />
<End Role="Type2TypeGroup" EntitySet="Type2TypeGroup" />
</AssociationSet>
<AssociationSet Name="FK_User2Department_Department" Association="Self.FK_User2Department_Department">
<End Role="View" EntitySet="View" />
<End Role="User2View" EntitySet="User2View" />
</AssociationSet>
<AssociationSet Name="FK_User2Team_AspNetUsers" Association="Self.FK_User2Team_AspNetUsers">
<End Role="AspNetUsers" EntitySet="AspNetUsers" />
<End Role="User2Team" EntitySet="User2Team" />
</AssociationSet>
<AssociationSet Name="FK_User2Team_Team" Association="Self.FK_User2Team_Team">
<End Role="Team" EntitySet="Team" />
<End Role="User2Team" EntitySet="User2Team" />
</AssociationSet>
<AssociationSet Name="FK_Vacation_PeopleResource" Association="Self.FK_Vacation_PeopleResource">
<End Role="PeopleResource" EntitySet="PeopleResource" />
<End Role="Vacation" EntitySet="Vacation" />
</AssociationSet>
</EntityContainer>
</Schema></edmx:StorageModels>
<!-- CSDL content -->
<edmx:ConceptualModels>
<Schema Namespace="EnVisageModel" Alias="Self" xmlns="http://schemas.microsoft.com/ado/2009/11/edm" annotation:UseStrongSpatialTypes="false" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation">
<EntityType Name="Contact">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="Type" Type="Int32" Nullable="false" />
<Property Name="LastName" Type="String" MaxLength="400" FixedLength="false" Unicode="true" />
<Property Name="FirstName" Type="String" MaxLength="400" FixedLength="false" Unicode="true" />
<Property Name="MiddleInt" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
<NavigationProperty Name="Contact2Project" Relationship="Self.FK_Contact2Project_Contact" FromRole="Contact" ToRole="Contact2Project" />
<Property Name="Email" Type="String" MaxLength="400" FixedLength="false" Unicode="true" />
<Property Name="Phone" Type="String" MaxLength="400" FixedLength="false" Unicode="true" />
<Property Name="ParentId" Type="Guid" />
<Property Name="ContactClassification" Type="Int32" Nullable="false" />
<NavigationProperty Name="Teams" Relationship="EnVisageModel.FK_Team_Contact" FromRole="Contact" ToRole="Team" />
</EntityType>
<EntityType Name="Contact2Project">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ContactId" Type="Guid" Nullable="false" />
<Property Name="ShowId" Type="Guid" Nullable="false" />
<NavigationProperty Name="Contact" Relationship="Self.FK_Contact2Project_Contact" FromRole="Contact2Project" ToRole="Contact" />
<NavigationProperty Name="Project" Relationship="EnVisageModel.FK_Contact2Show_Show" FromRole="Contact2Project" ToRole="Project" />
</EntityType>
<Association Name="FK_Contact2Project_Contact">
<End Role="Contact" Type="Self.Contact" Multiplicity="1" />
<End Role="Contact2Project" Type="Self.Contact2Project" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Contact">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Contact2Project">
<PropertyRef Name="ContactId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityContainer Name="EnVisageEntities" annotation:LazyLoadingEnabled="true" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation">
<EntitySet Name="Contacts" EntityType="Self.Contact" />
<EntitySet Name="Contact2Project" EntityType="Self.Contact2Project" />
<AssociationSet Name="FK_Contact2Project_Contact" Association="Self.FK_Contact2Project_Contact">
<End Role="Contact" EntitySet="Contacts" />
<End Role="Contact2Project" EntitySet="Contact2Project" />
</AssociationSet>
<EntitySet Name="Histories" EntityType="EnVisageModel.History" />
<EntitySet Name="Companies" EntityType="EnVisageModel.Company" />
<EntitySet Name="AspNetRoles" EntityType="EnVisageModel.AspNetRole" />
<EntitySet Name="ProjectAccesses" EntityType="EnVisageModel.ProjectAccess" />
<AssociationSet Name="FK_Company_Company" Association="EnVisageModel.FK_Company_Company">
<End Role="Company" EntitySet="Companies" />
<End Role="Company1" EntitySet="Companies" />
</AssociationSet>
<EntitySet Name="CreditDepartments" EntityType="EnVisageModel.CreditDepartment" />
<EntitySet Name="UOMs" EntityType="EnVisageModel.UOM" />
<EntitySet Name="FiscalCalendars" EntityType="EnVisageModel.FiscalCalendar" />
<EntitySet Name="SystemSettings" EntityType="EnVisageModel.SystemSetting" />
<EntitySet Name="Holidays" EntityType="EnVisageModel.Holiday" />
<EntitySet Name="Expenditures" EntityType="EnVisageModel.Expenditure" />
<EntitySet Name="ExpenditureCategory" EntityType="EnVisageModel.ExpenditureCategory" />
<EntitySet Name="SystemAttributes" EntityType="EnVisageModel.SystemAttribute" />
<AssociationSet Name="FK_ExpenditureCategory_CreditDepartment" Association="EnVisageModel.FK_ExpenditureCategory_CreditDepartment">
<End Role="CreditDepartment" EntitySet="CreditDepartments" />
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
</AssociationSet>
<AssociationSet Name="FK_ExpenditureCategory_Expenditure" Association="EnVisageModel.FK_ExpenditureCategory_Expenditure">
<End Role="Expenditure" EntitySet="Expenditures" />
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
</AssociationSet>
<AssociationSet Name="FK_ExpenditureCategory_UOM" Association="EnVisageModel.FK_ExpenditureCategory_UOM">
<End Role="UOM" EntitySet="UOMs" />
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
</AssociationSet>
<EntitySet Name="Expenditure2Expenditure" EntityType="EnVisageModel.Expenditure2Expenditure" />
<EntitySet Name="FeeCalculation" EntityType="EnVisageModel.FeeCalculation" />
<AssociationSet Name="FK_Expenditure2ExpenditureExpenditureCategory" Association="EnVisageModel.FK_Expenditure2ExpenditureExpenditureCategory">
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
<End Role="Expenditure2Expenditure" EntitySet="Expenditure2Expenditure" />
</AssociationSet>
<AssociationSet Name="FK_FeeCalculation_ExpenditureCategory" Association="EnVisageModel.FK_FeeCalculation_ExpenditureCategory">
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
<End Role="FeeCalculation" EntitySet="FeeCalculation" />
</AssociationSet>
<EntitySet Name="Securities" EntityType="EnVisageModel.Security" />
<EntitySet Name="VW_ExpCategoriesInScenario" EntityType="EnVisageModel.VW_ExpCategoriesInScenario" />
<EntitySet Name="VW_Expenditure2Category" EntityType="EnVisageModel.VW_Expenditure2Category" />
<EntitySet Name="VW_Expenditure2Calculation" EntityType="EnVisageModel.VW_Expenditure2Calculation" />
<EntitySet Name="VW_ScenarioAndProxyDetails" EntityType="EnVisageModel.VW_ScenarioAndProxyDetails" />
<EntitySet Name="VW_Expenditure2FeeCalculation" EntityType="EnVisageModel.VW_Expenditure2FeeCalculation" />
<FunctionImport Name="sp_SetScenarioBottomUpCosts" ReturnType="Collection(Int32)">
<Parameter Name="aScenarioOID" Mode="In" Type="Guid" />
</FunctionImport>
<EntitySet Name="Rates" EntityType="EnVisageModel.Rate" />
<AssociationSet Name="FK_Rate_ExpenditureCategory" Association="EnVisageModel.FK_Rate_ExpenditureCategory">
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
<End Role="Rate" EntitySet="Rates" />
</AssociationSet>
<AssociationSet Name="FK_Child_ExpenditureCategory" Association="EnVisageModel.FK_Child_ExpenditureCategory">
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
<End Role="Expenditure2Expenditure" EntitySet="Expenditure2Expenditure" />
</AssociationSet>
<EntitySet Name="SC_TotalCGSeatsAcrossProject" EntityType="EnVisageModel.SC_TotalCGSeatsAcrossProject" />
<EntitySet Name="Company2Client" EntityType="EnVisageModel.Company2Client" />
<AssociationSet Name="FK_Company2Client_CompanyId" Association="EnVisageModel.FK_Company2Client_CompanyId">
<End Role="Company" EntitySet="Companies" />
<End Role="Company2Client" EntitySet="Company2Client" />
</AssociationSet>
<EntitySet Name="ScenarioDetail" EntityType="EnVisageModel.ScenarioDetail" />
<AssociationSet Name="FK_ScenarioDetail_ExpenditureCategory" Association="EnVisageModel.FK_ScenarioDetail_ExpenditureCategory">
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
<End Role="ScenarioDetail" EntitySet="ScenarioDetail" />
</AssociationSet>
<EntitySet Name="Scenario2Group" EntityType="EnVisageModel.Scenario2Group" />
<AssociationSet Name="FK_Scenario2Group_GroupId" Association="EnVisageModel.FK_Scenario2Group_GroupId">
<End Role="SystemAttribute" EntitySet="SystemAttributes" />
<End Role="Scenario2Group" EntitySet="Scenario2Group" />
</AssociationSet>
<EntitySet Name="Status" EntityType="EnVisageModel.Status" />
<EntitySet Name="Notes" EntityType="EnVisageModel.Note" />
<EntitySet Name="Scenarios" EntityType="EnVisageModel.Scenario" />
<AssociationSet Name="FK_Scenario_TemplateScenario" Association="EnVisageModel.FK_Scenario_TemplateScenario">
<End Role="Scenario" EntitySet="Scenarios" />
<End Role="Scenario1" EntitySet="Scenarios" />
</AssociationSet>
<AssociationSet Name="FK_Scenario2Group_ScenarioId" Association="EnVisageModel.FK_Scenario2Group_ScenarioId">
<End Role="Scenario" EntitySet="Scenarios" />
<End Role="Scenario2Group" EntitySet="Scenario2Group" />
</AssociationSet>
<EntitySet Name="SC_TotalSeatsAcrossExpCats" EntityType="EnVisageModel.SC_TotalSeatsAcrossExpCats" />
<EntitySet Name="PeopleResources" EntityType="EnVisageModel.PeopleResource" />
<AssociationSet Name="FK_Resource_ExpenditureCategory" Association="EnVisageModel.FK_Resource_ExpenditureCategory">
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
<End Role="PeopleResource" EntitySet="PeopleResources" />
</AssociationSet>
<EntitySet Name="Team2Project" EntityType="EnVisageModel.Team2Project" />
<EntitySet Name="PeopleResourceVacations" EntityType="EnVisageModel.PeopleResourceVacation" />
<AssociationSet Name="FK_PeopleResourceVacation_PeopleResource" Association="EnVisageModel.FK_PeopleResourceVacation_PeopleResource">
<End Role="PeopleResource" EntitySet="PeopleResources" />
<End Role="PeopleResourceVacation" EntitySet="PeopleResourceVacations" />
</AssociationSet>
<EntitySet Name="Vacations" EntityType="EnVisageModel.Vacation" />
<AssociationSet Name="FK_Vacation_PeopleResource" Association="EnVisageModel.FK_Vacation_PeopleResource">
<End Role="PeopleResource" EntitySet="PeopleResources" />
<End Role="Vacation" EntitySet="Vacations" />
</AssociationSet>
<AssociationSet Name="FK_PeopleResourceVacation_Vacation" Association="EnVisageModel.FK_PeopleResourceVacation_Vacation">
<End Role="Vacation" EntitySet="Vacations" />
<End Role="PeopleResourceVacation" EntitySet="PeopleResourceVacations" />
</AssociationSet>
<EntitySet Name="PeopleResourceAllocations" EntityType="EnVisageModel.PeopleResourceAllocation" />
<AssociationSet Name="FK_PeopleResourceAllocation_ExpenditureCategory" Association="EnVisageModel.FK_PeopleResourceAllocation_ExpenditureCategory">
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
<End Role="PeopleResourceAllocation" EntitySet="PeopleResourceAllocations" />
</AssociationSet>
<AssociationSet Name="FK_PeopleResourceAllocation_PeopleResource" Association="EnVisageModel.FK_PeopleResourceAllocation_PeopleResource">
<End Role="PeopleResource" EntitySet="PeopleResources" />
<End Role="PeopleResourceAllocation" EntitySet="PeopleResourceAllocations" />
</AssociationSet>
<AssociationSet Name="FK_PeopleResourceAllocation_Scenario" Association="EnVisageModel.FK_PeopleResourceAllocation_Scenario">
<End Role="Scenario" EntitySet="Scenarios" />
<End Role="PeopleResourceAllocation" EntitySet="PeopleResourceAllocations" />
</AssociationSet>
<EntitySet Name="GLAccounts" EntityType="EnVisageModel.GLAccount" />
<AssociationSet Name="FK_Expenditure_Category_GLDepartment" Association="EnVisageModel.FK_Expenditure_Category_GLDepartment">
<End EntitySet="GLAccounts" Role="GLAccount" />
<End EntitySet="ExpenditureCategory" Role="ExpenditureCategory" />
</AssociationSet>
<EntitySet Name="PeopleResourceTrainings" EntityType="EnVisageModel.PeopleResourceTraining" />
<EntitySet Name="Trainings" EntityType="EnVisageModel.Training" />
<EntitySet Name="TrainingTypes" EntityType="EnVisageModel.TrainingType" />
<AssociationSet Name="FK_PeopleResourceTraining_PeopleResource" Association="EnVisageModel.FK_PeopleResourceTraining_PeopleResource">
<End Role="PeopleResource" EntitySet="PeopleResources" />
<End Role="PeopleResourceTraining" EntitySet="PeopleResourceTrainings" />
</AssociationSet>
<AssociationSet Name="FK_PeopleResourceTraining_Training" Association="EnVisageModel.FK_PeopleResourceTraining_Training">
<End Role="Training" EntitySet="Trainings" />
<End Role="PeopleResourceTraining" EntitySet="PeopleResourceTrainings" />
</AssociationSet>
<AssociationSet Name="FK_Training_TrainingType" Association="EnVisageModel.FK_Training_TrainingType">
<End Role="TrainingType" EntitySet="TrainingTypes" />
<End Role="Training" EntitySet="Trainings" />
</AssociationSet>
<EntitySet Name="PasswordResetRequests" EntityType="EnVisageModel.PasswordResetRequest" />
<EntitySet Name="Clients" EntityType="EnVisageModel.Client" />
<AssociationSet Name="FK_Client_GLAccount" Association="EnVisageModel.FK_Client_GLAccount">
<End Role="GLAccount" EntitySet="GLAccounts" />
<End Role="Client" EntitySet="Clients" />
</AssociationSet>
<EntitySet Name="User2Team" EntityType="EnVisageModel.User2Team" />
<AssociationSet Name="FK_Company2Client_ClientId" Association="EnVisageModel.FK_Company2Client_ClientId">
<End Role="Client" EntitySet="Clients" />
<End Role="Company2Client" EntitySet="Company2Client" />
</AssociationSet>
<EntitySet Name="Type2TypeGroup" EntityType="EnVisageModel.Type2TypeGroup" />
<EntitySet Name="TypeGroups" EntityType="EnVisageModel.TypeGroup" />
<AssociationSet Name="FK_Type2TypeGroup_TypeGroup" Association="EnVisageModel.FK_Type2TypeGroup_TypeGroup">
<End Role="TypeGroup" EntitySet="TypeGroups" />
<End Role="Type2TypeGroup" EntitySet="Type2TypeGroup" />
</AssociationSet>
<EntitySet Name="Company2View" EntityType="EnVisageModel.Company2View" />
<EntitySet Name="User2View" EntityType="EnVisageModel.User2View" />
<AssociationSet Name="FK_Company2GLDepartment_CompanyId" Association="EnVisageModel.FK_Company2GLDepartment_CompanyId">
<End Role="Company" EntitySet="Companies" />
<End Role="Company2View" EntitySet="Company2View" />
</AssociationSet>
<EntitySet Name="Team2View" EntityType="EnVisageModel.Team2View" />
<EntitySet Name="Views" EntityType="EnVisageModel.View" />
<AssociationSet Name="FK_Company2Department_Department" Association="EnVisageModel.FK_Company2Department_Department">
<End Role="View" EntitySet="Views" />
<End Role="Company2View" EntitySet="Company2View" />
</AssociationSet>
<AssociationSet Name="FK_Team2View_View" Association="EnVisageModel.FK_Team2View_View">
<End Role="View" EntitySet="Views" />
<End Role="Team2View" EntitySet="Team2View" />
</AssociationSet>
<AssociationSet Name="FK_User2Department_Department" Association="EnVisageModel.FK_User2Department_Department">
<End Role="View" EntitySet="Views" />
<End Role="User2View" EntitySet="User2View" />
</AssociationSet>
<EntitySet Name="Team2Scenario" EntityType="EnVisageModel.Team2Scenario" />
<AssociationSet Name="FK_Team2Scenario_Scenario" Association="EnVisageModel.FK_Team2Scenario_Scenario">
<End Role="Scenario" EntitySet="Scenarios" />
<End Role="Team2Scenario" EntitySet="Team2Scenario" />
</AssociationSet>
<EntitySet Name="VW_Scenario2Project" EntityType="EnVisageModel.VW_Scenario2Project" />
<EntitySet Name="TemplateGroups" EntityType="EnVisageModel.TemplateGroup" />
<EntitySet Name="Template2TemplateGroup" EntityType="EnVisageModel.Template2TemplateGroup" />
<AssociationSet Name="FK_Template2TemplateGroup_Scenario" Association="EnVisageModel.FK_Template2TemplateGroup_Scenario">
<End Role="Scenario" EntitySet="Scenarios" />
<End Role="Template2TemplateGroup" EntitySet="Template2TemplateGroup" />
</AssociationSet>
<AssociationSet Name="FK_Template2TemplateGroup_TemplateGroup" Association="EnVisageModel.FK_Template2TemplateGroup_TemplateGroup">
<End Role="TemplateGroup" EntitySet="TemplateGroups" />
<End Role="Template2TemplateGroup" EntitySet="Template2TemplateGroup" />
</AssociationSet>
<EntitySet Name="Teams" EntityType="EnVisageModel.Team" />
<AssociationSet Name="FK_Team_Company" Association="EnVisageModel.FK_Team_Company">
<End Role="Company" EntitySet="Companies" />
<End Role="Team" EntitySet="Teams" />
</AssociationSet>
<AssociationSet Name="FK_Team_Contact" Association="EnVisageModel.FK_Team_Contact">
<End Role="Contact" EntitySet="Contacts" />
<End Role="Team" EntitySet="Teams" />
</AssociationSet>
<AssociationSet Name="FK_Team_CreditDepartment" Association="EnVisageModel.FK_Team_CreditDepartment">
<End Role="CreditDepartment" EntitySet="CreditDepartments" />
<End Role="Team" EntitySet="Teams" />
</AssociationSet>
<AssociationSet Name="FK_Resource_Team" Association="EnVisageModel.FK_Resource_Team">
<End Role="Team" EntitySet="Teams" />
<End Role="PeopleResource" EntitySet="PeopleResources" />
</AssociationSet>
<AssociationSet Name="FK_Team_Scenario" Association="EnVisageModel.FK_Team_Scenario">
<End Role="Scenario" EntitySet="Scenarios" />
<End Role="Team" EntitySet="Teams" />
</AssociationSet>
<AssociationSet Name="FK_Team_Scenario1" Association="EnVisageModel.FK_Team_Scenario1">
<End Role="Scenario" EntitySet="Scenarios" />
<End Role="Team" EntitySet="Teams" />
</AssociationSet>
<AssociationSet Name="FK_Team2Project_Team" Association="EnVisageModel.FK_Team2Project_Team">
<End Role="Team" EntitySet="Teams" />
<End Role="Team2Project" EntitySet="Team2Project" />
</AssociationSet>
<AssociationSet Name="FK_Team2Scenario_Team" Association="EnVisageModel.FK_Team2Scenario_Team">
<End Role="Team" EntitySet="Teams" />
<End Role="Team2Scenario" EntitySet="Team2Scenario" />
</AssociationSet>
<AssociationSet Name="FK_Team2View_TeamId" Association="EnVisageModel.FK_Team2View_TeamId">
<End Role="Team" EntitySet="Teams" />
<End Role="Team2View" EntitySet="Team2View" />
</AssociationSet>
<AssociationSet Name="FK_User2Team_Team" Association="EnVisageModel.FK_User2Team_Team">
<End Role="Team" EntitySet="Teams" />
<End Role="User2Team" EntitySet="User2Team" />
</AssociationSet>
<EntitySet Name="VW_ProjectAccess" EntityType="EnVisageModel.VW_ProjectAccess" />
<EntitySet Name="TeamAllocations" EntityType="EnVisageModel.TeamAllocation" />
<AssociationSet Name="FK_TeamAllocation_ExpenditureCategoryId" Association="EnVisageModel.FK_TeamAllocation_ExpenditureCategoryId">
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
<End Role="TeamAllocation" EntitySet="TeamAllocations" />
</AssociationSet>
<AssociationSet Name="FK_TeamAllocation_ScenarioId" Association="EnVisageModel.FK_TeamAllocation_ScenarioId">
<End Role="Scenario" EntitySet="Scenarios" />
<End Role="TeamAllocation" EntitySet="TeamAllocations" />
</AssociationSet>
<AssociationSet Name="FK_TeamAllocation_TeamId" Association="EnVisageModel.FK_TeamAllocation_TeamId">
<End Role="Team" EntitySet="Teams" />
<End Role="TeamAllocation" EntitySet="TeamAllocations" />
</AssociationSet>
<EntitySet Name="VW_ScenarioPerformance" EntityType="EnVisageModel.VW_ScenarioPerformance" />
<EntitySet Name="AspNetUsers" EntityType="EnVisageModel.AspNetUser" />
<AssociationSet Name="FK_PasswordResetRequest_AspNetUsers" Association="EnVisageModel.FK_PasswordResetRequest_AspNetUsers">
<End Role="AspNetUser" EntitySet="AspNetUsers" />
<End Role="PasswordResetRequest" EntitySet="PasswordResetRequests" />
</AssociationSet>
<AssociationSet Name="FK_User2Team_AspNetUsers" Association="EnVisageModel.FK_User2Team_AspNetUsers">
<End Role="AspNetUser" EntitySet="AspNetUsers" />
<End Role="User2Team" EntitySet="User2Team" />
</AssociationSet>
<AssociationSet Name="AspNetUserRoles" Association="EnVisageModel.AspNetUserRoles">
<End Role="AspNetRole" EntitySet="AspNetRoles" />
<End Role="AspNetUser" EntitySet="AspNetUsers" />
</AssociationSet>
<EntitySet Name="UserPreferences" EntityType="EnVisageModel.UserPreference" />
<EntitySet Name="Projects" EntityType="EnVisageModel.Project" />
<EntitySet Name="Types" EntityType="EnVisageModel.Type" />
<EntitySet Name="VW_ProjectAccessByUser" EntityType="EnVisageModel.VW_ProjectAccessByUser" />
<AssociationSet Name="FK_Show_Client" Association="EnVisageModel.FK_Show_Client">
<End Role="Client" EntitySet="Clients" />
<End Role="Project" EntitySet="Projects" />
</AssociationSet>
<AssociationSet Name="FK_Show_Studio" Association="EnVisageModel.FK_Show_Studio">
<End Role="Company" EntitySet="Companies" />
<End Role="Project" EntitySet="Projects" />
</AssociationSet>
<AssociationSet Name="FK_Contact2Show_Show" Association="EnVisageModel.FK_Contact2Show_Show">
<End Role="Project" EntitySet="Projects" />
<End Role="Contact2Project" EntitySet="Contact2Project" />
</AssociationSet>
<AssociationSet Name="FK_Project_Project" Association="EnVisageModel.FK_Project_Project">
<End Role="Project" EntitySet="Projects" />
<End Role="Project1" EntitySet="Projects" />
</AssociationSet>
<AssociationSet Name="FK_ProjectAccess_Project" Association="EnVisageModel.FK_ProjectAccess_Project">
<End Role="Project" EntitySet="Projects" />
<End Role="ProjectAccess" EntitySet="ProjectAccesses" />
</AssociationSet>
<AssociationSet Name="FK_Scenario_Project" Association="EnVisageModel.FK_Scenario_Project">
<End Role="Project" EntitySet="Projects" />
<End Role="Scenario" EntitySet="Scenarios" />
</AssociationSet>
<AssociationSet Name="FK_Show_Status" Association="EnVisageModel.FK_Show_Status">
<End Role="Status" EntitySet="Status" />
<End Role="Project" EntitySet="Projects" />
</AssociationSet>
<AssociationSet Name="FK_Show_Type" Association="EnVisageModel.FK_Show_Type">
<End Role="Type" EntitySet="Types" />
<End Role="Project" EntitySet="Projects" />
</AssociationSet>
<AssociationSet Name="FK_Team2Project_Project" Association="EnVisageModel.FK_Team2Project_Project">
<End Role="Project" EntitySet="Projects" />
<End Role="Team2Project" EntitySet="Team2Project" />
</AssociationSet>
<AssociationSet Name="FK_Type2TypeGroup_Type" Association="EnVisageModel.FK_Type2TypeGroup_Type">
<End Role="Type" EntitySet="Types" />
<End Role="Type2TypeGroup" EntitySet="Type2TypeGroup" />
</AssociationSet>
<EntitySet Name="VW_ExpenditureCategory" EntityType="EnVisageModel.VW_ExpenditureCategory" />
<EntitySet Name="BLL_Objects" EntityType="EnVisageModel.BLL_Objects" />
<EntitySet Name="supt_tbl_ProjectIds" EntityType="EnVisageModel.supt_tbl_ProjectIds" />
<EntitySet Name="supt_tbl_RecParser" EntityType="EnVisageModel.supt_tbl_RecParser" />
<EntitySet Name="Attachments" EntityType="EnVisageModel.Attachment" />
<EntitySet Name="VW_ProjectPerformance" EntityType="EnVisageModel.VW_ProjectPerformance" />
<EntitySet Name="UserQuickLinks" EntityType="EnVisageModel.UserQuickLink" />
<EntitySet Name="StrategicGoals" EntityType="EnVisageModel.StrategicGoal" />
<EntitySet Name="StrategicGoal2Company" EntityType="EnVisageModel.StrategicGoal2Company" />
<AssociationSet Name="FK_StrategicGoal2Company_Company" Association="EnVisageModel.FK_StrategicGoal2Company_Company">
<End Role="Company" EntitySet="Companies" />
<End Role="StrategicGoal2Company" EntitySet="StrategicGoal2Company" />
</AssociationSet>
<AssociationSet Name="FK_StrategicGoal2Company_Goal" Association="EnVisageModel.FK_StrategicGoal2Company_Goal">
<End Role="StrategicGoal" EntitySet="StrategicGoals" />
<End Role="StrategicGoal2Company" EntitySet="StrategicGoal2Company" />
</AssociationSet>
<EntitySet Name="StrategicGoal2Project" EntityType="EnVisageModel.StrategicGoal2Project" />
<AssociationSet Name="FK_StrategicGoal2Project_Project" Association="EnVisageModel.FK_StrategicGoal2Project_Project">
<End Role="Project" EntitySet="Projects" />
<End Role="StrategicGoal2Project" EntitySet="StrategicGoal2Project" />
</AssociationSet>
<AssociationSet Name="FK_StrategicGoal2Project_StrategicGoal" Association="EnVisageModel.FK_StrategicGoal2Project_StrategicGoal">
<End Role="StrategicGoal" EntitySet="StrategicGoals" />
<End Role="StrategicGoal2Project" EntitySet="StrategicGoal2Project" />
</AssociationSet>
<EntitySet Name="CostSavings" EntityType="EnVisageModel.CostSaving" />
<AssociationSet Name="FK_CostSaving_Scenario" Association="EnVisageModel.FK_CostSaving_Scenario">
<End Role="Scenario" EntitySet="Scenarios" />
<End Role="CostSaving" EntitySet="CostSavings" />
</AssociationSet>
<EntitySet Name="supt_tbl_MongoDBBackup" EntityType="EnVisageModel.supt_tbl_MongoDBBackup" />
<EntitySet Name="GLAccountClientsCounts" EntityType="EnVisageModel.GLAccountClientsCount" />
<EntitySet Name="GLAccountExpCatsCounts" EntityType="EnVisageModel.GLAccountExpCatsCount" />
<EntitySet Name="FiscalCalendarSettings" EntityType="EnVisageModel.FiscalCalendarSetting" />
</EntityContainer>
<EntityType Name="History">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="EntityId" Type="Guid" />
<Property Name="XML" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="TimeStamp" Type="DateTime" Precision="0" Nullable="false" />
<Property Name="ModifiedBy" Type="Guid" Nullable="false" />
<Property Name="EntityType" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
<Property Name="ModificationType" Type="String" MaxLength="40" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="Company">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="Name" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="ParentCompanyId" Type="Guid" />
<NavigationProperty Name="Company1" Relationship="EnVisageModel.FK_Company_Company" FromRole="Company" ToRole="Company1" />
<NavigationProperty Name="Company2" Relationship="EnVisageModel.FK_Company_Company" FromRole="Company1" ToRole="Company" />
<NavigationProperty Name="Company2Client" Relationship="EnVisageModel.FK_Company2Client_CompanyId" FromRole="Company" ToRole="Company2Client" />
<NavigationProperty Name="Company2View" Relationship="EnVisageModel.FK_Company2GLDepartment_CompanyId" FromRole="Company" ToRole="Company2View" />
<NavigationProperty Name="Teams" Relationship="EnVisageModel.FK_Team_Company" FromRole="Company" ToRole="Team" />
<NavigationProperty Name="Projects" Relationship="EnVisageModel.FK_Show_Studio" FromRole="Company" ToRole="Project" />
<NavigationProperty Name="StrategicGoal2Company" Relationship="EnVisageModel.FK_StrategicGoal2Company_Company" FromRole="Company" ToRole="StrategicGoal2Company" />
</EntityType>
<EntityType Name="AspNetRole">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="String" Nullable="false" MaxLength="128" FixedLength="false" Unicode="true" />
<Property Name="Name" Type="String" MaxLength="4000" FixedLength="false" Unicode="true" />
<NavigationProperty Name="AspNetUsers" Relationship="EnVisageModel.AspNetUserRoles" FromRole="AspNetRole" ToRole="AspNetUser" />
</EntityType>
<EntityType Name="ProjectAccess">
<Key>
<PropertyRef Name="PrincipalId" />
<PropertyRef Name="ProjectId" />
</Key>
<Property Name="PrincipalId" Type="Guid" Nullable="false" />
<Property Name="ProjectId" Type="Guid" Nullable="false" />
<Property Name="Read" Type="Int32" Nullable="false" />
<Property Name="Write" Type="Int32" Nullable="false" />
<NavigationProperty Name="Project" Relationship="EnVisageModel.FK_ProjectAccess_Project" FromRole="ProjectAccess" ToRole="Project" />
</EntityType>
<Association Name="FK_Company_Company">
<End Type="EnVisageModel.Company" Role="Company" Multiplicity="0..1" />
<End Type="EnVisageModel.Company" Role="Company1" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Company">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Company1">
<PropertyRef Name="ParentCompanyId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="CreditDepartment">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="Name" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="CreditNumber" Type="String" MaxLength="400" FixedLength="false" Unicode="true" />
<NavigationProperty Name="ExpenditureCategory" Relationship="EnVisageModel.FK_ExpenditureCategory_CreditDepartment" FromRole="CreditDepartment" ToRole="ExpenditureCategory" />
<NavigationProperty Name="Teams" Relationship="EnVisageModel.FK_Team_CreditDepartment" FromRole="CreditDepartment" ToRole="Team" />
</EntityType>
<EntityType Name="UOM">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="Name" Type="String" MaxLength="400" FixedLength="false" Unicode="true" />
<Property Name="UOMValue" Type="Decimal" Precision="15" Scale="4" Nullable="false" />
<NavigationProperty Name="ExpenditureCategory" Relationship="EnVisageModel.FK_ExpenditureCategory_UOM" FromRole="UOM" ToRole="ExpenditureCategory" />
</EntityType>
<EntityType Name="FiscalCalendar">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="Name" Type="String" MaxLength="400" FixedLength="false" Unicode="true" />
<Property Name="Type" Type="Int32" Nullable="false" />
<Property Name="YearInt" Type="Int32" Nullable="false" />
<Property Name="QuarterInt" Type="Int32" Nullable="false" />
<Property Name="PeriodInt" Type="Int32" Nullable="false" />
<Property Name="StartDate" Type="DateTime" Precision="3" Nullable="false" />
<Property Name="EndDate" Type="DateTime" Precision="3" Nullable="false" />
<Property Name="SystemName" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="AdjustingPeriod" Type="Boolean" />
<Property Name="NonWorking" Type="Byte" Nullable="false" />
</EntityType>
<EntityType Name="SystemSetting">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="Type" Type="Int32" Nullable="false" />
<Property Name="Value" Type="String" MaxLength="4000" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="Holiday">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="Name" Type="String" MaxLength="2040" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="OccurrenceType" Type="Int16" Nullable="false" />
<Property Name="OccurrenceWeekDay" Type="Int16" Nullable="false" />
<Property Name="OccurrenceMonthDay" Type="Int16" Nullable="false" />
<Property Name="OccurrenceMonth" Type="Int16" Nullable="false" />
<Property Name="WorkingDay" Type="Boolean" Nullable="false" />
<Property Name="NonWorkingWeek" Type="Boolean" Nullable="false" />
<Property Name="HolidayId" Type="Guid" Nullable="false" />
<Property Name="EffectiveChangeDate" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="CreatedAt" Type="DateTime" Nullable="false" Precision="3" />
</EntityType>
<EntityType Name="Expenditure">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="Name" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
<NavigationProperty Name="ExpenditureCategory" Relationship="EnVisageModel.FK_ExpenditureCategory_Expenditure" FromRole="Expenditure" ToRole="ExpenditureCategory" />
</EntityType>
<EntityType Name="ExpenditureCategory">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ExpenditureId" Type="Guid" Nullable="false" />
<Property Name="GLId" Type="Guid" Nullable="false" />
<Property Name="UOMId" Type="Guid" Nullable="false" />
<Property Name="CreditId" Type="Guid" Nullable="false" />
<Property Name="Type" Type="Int32" />
<Property Name="UseType" Type="Int32" />
<Property Name="CGEFX" Type="String" MaxLength="10" FixedLength="true" Unicode="false" />
<Property Name="WksSubjectToFee" Type="Int32" />
<Property Name="SystemAttributeOne" Type="Guid" />
<Property Name="SystemAttributeTwo" Type="Guid" />
<NavigationProperty Name="CreditDepartment" Relationship="EnVisageModel.FK_ExpenditureCategory_CreditDepartment" FromRole="ExpenditureCategory" ToRole="CreditDepartment" />
<NavigationProperty Name="Expenditure" Relationship="EnVisageModel.FK_ExpenditureCategory_Expenditure" FromRole="ExpenditureCategory" ToRole="Expenditure" />
<NavigationProperty Name="UOM" Relationship="EnVisageModel.FK_ExpenditureCategory_UOM" FromRole="ExpenditureCategory" ToRole="UOM" />
<NavigationProperty Name="Expenditure2Expenditure" Relationship="EnVisageModel.FK_Expenditure2ExpenditureExpenditureCategory" FromRole="ExpenditureCategory" ToRole="Expenditure2Expenditure" />
<NavigationProperty Name="FeeCalculation" Relationship="EnVisageModel.FK_FeeCalculation_ExpenditureCategory" FromRole="ExpenditureCategory" ToRole="FeeCalculation" />
<NavigationProperty Name="Rates" Relationship="EnVisageModel.FK_Rate_ExpenditureCategory" FromRole="ExpenditureCategory" ToRole="Rate" />
<NavigationProperty Name="Expenditure2Expenditure1" Relationship="EnVisageModel.FK_Child_ExpenditureCategory" FromRole="ExpenditureCategory" ToRole="Expenditure2Expenditure" />
<NavigationProperty Name="ScenarioDetail" Relationship="EnVisageModel.FK_ScenarioDetail_ExpenditureCategory" FromRole="ExpenditureCategory" ToRole="ScenarioDetail" />
<NavigationProperty Name="PeopleResources" Relationship="EnVisageModel.FK_Resource_ExpenditureCategory" FromRole="ExpenditureCategory" ToRole="PeopleResource" />
<NavigationProperty Name="PeopleResourceAllocations" Relationship="EnVisageModel.FK_PeopleResourceAllocation_ExpenditureCategory" FromRole="ExpenditureCategory" ToRole="PeopleResourceAllocation" />
<NavigationProperty Name="GLAccount" Relationship="EnVisageModel.FK_Expenditure_Category_GLDepartment" FromRole="ExpenditureCategory" ToRole="GLAccount" />
<Property Name="Name" Type="String" Nullable="false" MaxLength="800" FixedLength="false" Unicode="true" />
<NavigationProperty Name="TeamAllocations" Relationship="EnVisageModel.FK_TeamAllocation_ExpenditureCategoryId" FromRole="ExpenditureCategory" ToRole="TeamAllocation" />
</EntityType>
<EntityType Name="SystemAttribute">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="Name" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="Type" Type="Int32" Nullable="false" />
<NavigationProperty Name="Scenario2Group" Relationship="EnVisageModel.FK_Scenario2Group_GroupId" FromRole="SystemAttribute" ToRole="Scenario2Group" />
</EntityType>
<Association Name="FK_ExpenditureCategory_CreditDepartment">
<End Type="EnVisageModel.CreditDepartment" Role="CreditDepartment" Multiplicity="1" />
<End Type="EnVisageModel.ExpenditureCategory" Role="ExpenditureCategory" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="CreditDepartment">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="ExpenditureCategory">
<PropertyRef Name="CreditId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_ExpenditureCategory_Expenditure">
<End Type="EnVisageModel.Expenditure" Role="Expenditure" Multiplicity="1" />
<End Type="EnVisageModel.ExpenditureCategory" Role="ExpenditureCategory" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Expenditure">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="ExpenditureCategory">
<PropertyRef Name="ExpenditureId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_ExpenditureCategory_UOM">
<End Type="EnVisageModel.UOM" Role="UOM" Multiplicity="1" />
<End Type="EnVisageModel.ExpenditureCategory" Role="ExpenditureCategory" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="UOM">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="ExpenditureCategory">
<PropertyRef Name="UOMId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="Expenditure2Expenditure">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ParentId" Type="Guid" Nullable="false" />
<Property Name="ChildId" Type="Guid" Nullable="false" />
<Property Name="FactorType" Type="Int32" />
<Property Name="FactorInt" Type="Decimal" Precision="6" Scale="3" />
<Property Name="ProcessOrder" Type="Int32" />
<NavigationProperty Name="ParentExpenditureCategory" Relationship="EnVisageModel.FK_Expenditure2ExpenditureExpenditureCategory" FromRole="Expenditure2Expenditure" ToRole="ExpenditureCategory" />
<NavigationProperty Name="ChildExpenditureCategory" Relationship="EnVisageModel.FK_Child_ExpenditureCategory" FromRole="Expenditure2Expenditure" ToRole="ExpenditureCategory" />
</EntityType>
<EntityType Name="FeeCalculation">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ExpenditureCategoryId" Type="Guid" Nullable="false" />
<Property Name="MinShot" Type="Int32" Nullable="false" />
<Property Name="MaxShot" Type="Int32" Nullable="false" />
<Property Name="Quantity" Type="Int32" Nullable="false" />
<NavigationProperty Name="ExpenditureCategory" Relationship="EnVisageModel.FK_FeeCalculation_ExpenditureCategory" FromRole="FeeCalculation" ToRole="ExpenditureCategory" />
</EntityType>
<Association Name="FK_Expenditure2ExpenditureExpenditureCategory">
<End Type="EnVisageModel.ExpenditureCategory" Role="ExpenditureCategory" Multiplicity="1" />
<End Type="EnVisageModel.Expenditure2Expenditure" Role="Expenditure2Expenditure" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="ExpenditureCategory">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Expenditure2Expenditure">
<PropertyRef Name="ParentId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_FeeCalculation_ExpenditureCategory">
<End Type="EnVisageModel.ExpenditureCategory" Role="ExpenditureCategory" Multiplicity="1" />
<End Type="EnVisageModel.FeeCalculation" Role="FeeCalculation" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="ExpenditureCategory">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="FeeCalculation">
<PropertyRef Name="ExpenditureCategoryId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="Security">
<Key>
<PropertyRef Name="PrincipalId" />
<PropertyRef Name="SecurityObject" />
</Key>
<Property Name="PrincipalId" Type="Guid" Nullable="false" />
<Property Name="Read" Type="Int32" Nullable="false" />
<Property Name="Write" Type="Int32" Nullable="false" />
<Property Name="SecurityObject" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="VW_ExpCategoriesInScenario">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="ScenarioID" />
<PropertyRef Name="ExpenditureCategoryName" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ECType" Type="Int32" />
<Property Name="ScenarioType" Type="Int32" Nullable="false" />
<Property Name="ScenarioID" Type="Guid" Nullable="false" />
<Property Name="ScenarioName" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="SortOrder" Type="Int32" />
<Property Name="UseType" Type="Int32" />
<Property Name="GLId" Type="Guid" Nullable="false" />
<Property Name="ExpenditureName" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="ExpenditureCategoryName" Type="String" Nullable="false" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="ExpCategoryWithCcName" Type="String" MaxLength="1603" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="VW_Expenditure2Category">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="ExpenditureCategoryName" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ExpenditureId" Type="Guid" Nullable="false" />
<Property Name="GLId" Type="Guid" Nullable="false" />
<Property Name="UOMId" Type="Guid" Nullable="false" />
<Property Name="Type" Type="Int32" />
<Property Name="UseType" Type="Int32" />
<Property Name="CGEFX" Type="String" MaxLength="10" FixedLength="true" Unicode="false" />
<Property Name="SortOrder" Type="Int32" />
<Property Name="ExpenditureName" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="GLNumber" Type="String" MaxLength="160" FixedLength="false" Unicode="true" />
<Property Name="GLName" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="UOMName" Type="String" MaxLength="400" FixedLength="false" Unicode="true" />
<Property Name="CreditId" Type="Guid" Nullable="false" />
<Property Name="SystemAttributeOne" Type="Guid" />
<Property Name="SystemAttributeTwo" Type="Guid" />
<Property Name="CreditName" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="WksSubjectToFee" Type="Int32" />
<Property Name="SystemAttributeNameOne" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="SystemAttributeTypeOne" Type="Int32" />
<Property Name="SystemAttributeNameTwo" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="SystemAttributeTypeTwo" Type="Int32" />
<Property Name="ExpenditureCategoryName" Type="String" Nullable="false" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="ExpCategoryWithCcName" Type="String" MaxLength="1603" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="VW_Expenditure2Calculation">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="ParentId" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ExpenditureCategoryID" Type="Guid" />
<Property Name="GLId" Type="Guid" />
<Property Name="UOMId" Type="Guid" />
<Property Name="Type" Type="Int32" />
<Property Name="UseType" Type="Int32" />
<Property Name="CGEFX" Type="String" MaxLength="10" FixedLength="true" Unicode="false" />
<Property Name="SortOrder" Type="Int32" />
<Property Name="SystemAttributeOne" Type="Guid" />
<Property Name="SystemAttributeTwo" Type="Guid" />
<Property Name="ExpenditureName" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="FactorType" Type="Int32" />
<Property Name="FactorInt" Type="Decimal" Precision="6" Scale="3" />
<Property Name="ProcessOrder" Type="Int32" />
<Property Name="ParentId" Type="Guid" Nullable="false" />
<Property Name="CreditId" Type="Guid" />
<Property Name="WksSubjectToFee" Type="Int32" />
<Property Name="ExpenditureCategoryName" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="ExpCategoryWithCcName" Type="String" MaxLength="1603" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="VW_ScenarioAndProxyDetails">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ParentID" Type="Guid" />
<Property Name="ExpenditureCategoryId" Type="Guid" />
<Property Name="WeekEndingDate" Type="DateTime" Precision="3" />
<Property Name="Quantity" Type="Decimal" Precision="18" Scale="6" />
<Property Name="LastUpdate" Type="DateTime" Precision="3" />
<Property Name="WeekOrdinal" Type="Int32" />
<Property Name="Cost" Type="Decimal" Precision="15" Scale="4" />
<Property Name="ExpenditureCategoryName" Type="String" MaxLength="800" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="GLId" Type="Guid" Nullable="false" />
<Property Name="UOMId" Type="Guid" Nullable="false" />
<Property Name="CreditId" Type="Guid" Nullable="false" />
<Property Name="Type" Type="Int32" />
<Property Name="UseType" Type="Int32" />
<Property Name="CGEFX" Type="String" MaxLength="10" FixedLength="true" Unicode="false" />
<Property Name="SystemAttributeOne" Type="Guid" />
<Property Name="SystemAttributeTwo" Type="Guid" />
<Property Name="SortOrder" Type="Int32" />
<Property Name="ExpenditureName" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="ExpCategoryWithCcName" Type="String" MaxLength="1603" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="VW_Expenditure2FeeCalculation">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="MinShot" />
<PropertyRef Name="MaxShot" />
<PropertyRef Name="Quantity" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ExpenditureCategoryId" Type="Guid" Nullable="false" />
<Property Name="MinShot" Type="Int32" Nullable="false" />
<Property Name="MaxShot" Type="Int32" Nullable="false" />
<Property Name="Quantity" Type="Int32" Nullable="false" />
<Property Name="WksSubjectToFee" Type="Int32" />
</EntityType>
<EntityType Name="Rate">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ParentId" Type="Guid" />
<Property Name="ExpenditureCategoryId" Type="Guid" Nullable="false" />
<Property Name="Rate1" Type="Decimal" Precision="15" Scale="4" Nullable="false" />
<Property Name="StartDate" Type="DateTime" Precision="3" Nullable="false" />
<Property Name="EndDate" Type="DateTime" Precision="3" Nullable="false" />
<Property Name="FreezeRate" Type="Int32" Nullable="false" />
<Property Name="Type" Type="Int16" Nullable="false" />
<Property Name="DerivedId" Type="Guid" />
<NavigationProperty Name="ExpenditureCategory" Relationship="EnVisageModel.FK_Rate_ExpenditureCategory" FromRole="Rate" ToRole="ExpenditureCategory" />
</EntityType>
<Association Name="FK_Rate_ExpenditureCategory">
<End Type="EnVisageModel.ExpenditureCategory" Role="ExpenditureCategory" Multiplicity="1" />
<End Type="EnVisageModel.Rate" Role="Rate" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="ExpenditureCategory">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Rate">
<PropertyRef Name="ExpenditureCategoryId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Child_ExpenditureCategory">
<End Type="EnVisageModel.ExpenditureCategory" Role="ExpenditureCategory" Multiplicity="1" />
<End Type="EnVisageModel.Expenditure2Expenditure" Role="Expenditure2Expenditure" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="ExpenditureCategory">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Expenditure2Expenditure">
<PropertyRef Name="ChildId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="SC_TotalCGSeatsAcrossProject">
<Key>
<PropertyRef Name="ProjectObjectId" />
<PropertyRef Name="ShowStatusId" />
<PropertyRef Name="Probability" />
</Key>
<Property Name="ScenarioId" Type="Guid" />
<Property Name="WeekEndingDate" Type="DateTime" Precision="3" />
<Property Name="Quantity" Type="Decimal" Precision="38" Scale="6" />
<Property Name="Cost" Type="Decimal" Precision="38" Scale="4" />
<Property Name="CGEFX" Type="String" MaxLength="10" FixedLength="true" Unicode="false" />
<Property Name="ScenarioType" Type="Int32" Nullable="false" />
<Property Name="ScenarioName" Type="String" MaxLength="200" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="ProjectObjectId" Type="Guid" Nullable="false" />
<Property Name="ProjectName" Type="String" MaxLength="200" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="ProjectTypeId" Type="Guid" Nullable="false" />
<Property Name="ShowStatusId" Type="Guid" Nullable="false" />
<Property Name="ProjectStatusName" Type="String" MaxLength="400" FixedLength="false" Unicode="true" />
<Property Name="Probability" Type="Decimal" Nullable="false" Precision="5" Scale="4" />
<Property Name="ProjectColor" Type="String" MaxLength="32" FixedLength="false" Unicode="true" />
<Property Name="ScenarioColor" Type="String" MaxLength="32" FixedLength="false" Unicode="true" />
<Property Name="Status" Type="Int32" />
<Property Name="SystemAttributeObjectID" Type="Guid" />
</EntityType>
<EntityType Name="Company2Client">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="CompanyId" Type="Guid" Nullable="false" />
<Property Name="ClientId" Type="Guid" Nullable="false" />
<NavigationProperty Name="Company" Relationship="EnVisageModel.FK_Company2Client_CompanyId" FromRole="Company2Client" ToRole="Company" />
<NavigationProperty Name="Client" Relationship="EnVisageModel.FK_Company2Client_ClientId" FromRole="Company2Client" ToRole="Client" />
</EntityType>
<Association Name="FK_Company2Client_CompanyId">
<End Type="EnVisageModel.Company" Role="Company" Multiplicity="1" />
<End Type="EnVisageModel.Company2Client" Role="Company2Client" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Company">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Company2Client">
<PropertyRef Name="CompanyId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="ScenarioDetail">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ParentID" Type="Guid" />
<Property Name="ExpenditureCategoryId" Type="Guid" />
<Property Name="WeekEndingDate" Type="DateTime" Precision="3" />
<Property Name="Quantity" Type="Decimal" Precision="18" Scale="6" />
<Property Name="LastUpdate" Type="DateTime" Precision="3" />
<Property Name="WeekOrdinal" Type="Int32" />
<Property Name="Cost" Type="Decimal" Precision="15" Scale="4" />
<NavigationProperty Name="ExpenditureCategory" Relationship="EnVisageModel.FK_ScenarioDetail_ExpenditureCategory" FromRole="ScenarioDetail" ToRole="ExpenditureCategory" />
</EntityType>
<Association Name="FK_ScenarioDetail_ExpenditureCategory">
<End Type="EnVisageModel.ExpenditureCategory" Role="ExpenditureCategory" Multiplicity="0..1" />
<End Type="EnVisageModel.ScenarioDetail" Role="ScenarioDetail" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="ExpenditureCategory">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="ScenarioDetail">
<PropertyRef Name="ExpenditureCategoryId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="Scenario2Group">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ScenarioId" Type="Guid" Nullable="false" />
<Property Name="GroupId" Type="Guid" Nullable="false" />
<NavigationProperty Name="SystemAttribute" Relationship="EnVisageModel.FK_Scenario2Group_GroupId" FromRole="Scenario2Group" ToRole="SystemAttribute" />
<NavigationProperty Name="Scenario" Relationship="EnVisageModel.FK_Scenario2Group_ScenarioId" FromRole="Scenario2Group" ToRole="Scenario" />
</EntityType>
<Association Name="FK_Scenario2Group_GroupId">
<End Type="EnVisageModel.SystemAttribute" Role="SystemAttribute" Multiplicity="1" />
<End Type="EnVisageModel.Scenario2Group" Role="Scenario2Group" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="SystemAttribute">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Scenario2Group">
<PropertyRef Name="GroupId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="Status">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="Name" Type="String" MaxLength="1600" FixedLength="false" Unicode="true" />
<Property Name="Color" Type="String" MaxLength="128" FixedLength="false" Unicode="true" />
<Property Name="IsSystem" Type="Boolean" Nullable="false" />
<Property Name="Probability100" Type="Boolean" Nullable="false" />
<NavigationProperty Name="Projects" Relationship="EnVisageModel.FK_Show_Status" FromRole="Status" ToRole="Project" />
</EntityType>
<EntityType Name="Note">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ParentId" Type="Guid" />
<Property Name="UserId" Type="Guid" />
<Property Name="DateAdded" Type="DateTime" Precision="3" />
<Property Name="NoteDetail" Type="String" MaxLength="4000" FixedLength="false" Unicode="true" />
<Property Name="DomainId" Type="Guid" />
<Property Name="SystemAttributeId" Type="Guid" />
<Property Name="Title" Type="String" MaxLength="400" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="Scenario">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ParentId" Type="Guid" />
<Property Name="TemplateId" Type="Guid" />
<Property Name="Type" Type="Int32" Nullable="false" />
<Property Name="Name" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="ProjectedRevenue" Type="Decimal" Precision="15" Scale="4" />
<Property Name="ExpectedGrossMargin" Type="Decimal" Precision="15" Scale="4" />
<Property Name="CalculatedGrossMargin" Type="Decimal" Precision="15" Scale="4" />
<Property Name="CGSplit" Type="Decimal" Precision="5" Scale="4" />
<Property Name="EFXSplit" Type="Decimal" Precision="5" Scale="4" />
<Property Name="StartDate" Type="DateTime" Precision="3" />
<Property Name="EndDate" Type="DateTime" Precision="3" />
<Property Name="Duration" Type="Int32" />
<Property Name="TDDirectCosts" Type="Decimal" Precision="15" Scale="4" />
<Property Name="BUDirectCosts" Type="Decimal" Precision="15" Scale="4" />
<Property Name="Shots" Type="Int32" />
<Property Name="TDRevenueShot" Type="Decimal" Precision="15" Scale="4" />
<Property Name="BURevenueShot" Type="Decimal" Precision="15" Scale="4" />
<Property Name="FreezeRevenue" Type="Boolean" Nullable="false" />
<Property Name="LastUpdate" Type="DateTime" Precision="3" />
<Property Name="Color" Type="String" MaxLength="128" FixedLength="false" Unicode="true" />
<Property Name="Status" Type="Int32" />
<Property Name="UseLMMargin" Type="Int32" />
<Property Name="ExpectedGrossMargin_LM" Type="Decimal" Precision="15" Scale="4" />
<Property Name="CalculatedGrossMargin_LM" Type="Decimal" Precision="15" Scale="4" />
<Property Name="TDDirectCosts_LM" Type="Decimal" Precision="15" Scale="4" />
<Property Name="BUDirectCosts_LM" Type="Decimal" Precision="15" Scale="4" />
<Property Name="BURevenueShot_LM" Type="Decimal" Precision="15" Scale="4" />
<Property Name="ShotStartDate" Type="DateTime" Precision="3" />
<Property Name="EntryTimeStamp" Type="DateTime" Precision="3" />
<Property Name="GrowthScenario" Type="Boolean" Nullable="false" />
<Property Name="Actuals_BUDirectCosts" Type="Decimal" Precision="15" Scale="4" />
<Property Name="Actuals_BUDirectCosts_LM" Type="Decimal" Precision="15" Scale="4" />
<Property Name="SystemAttributeObjectID" Type="Guid" />
<NavigationProperty Name="ChildScenarios" Relationship="EnVisageModel.FK_Scenario_TemplateScenario" FromRole="Scenario" ToRole="Scenario1" />
<NavigationProperty Name="ParentScenario" Relationship="EnVisageModel.FK_Scenario_TemplateScenario" FromRole="Scenario1" ToRole="Scenario" />
<NavigationProperty Name="Scenario2Group" Relationship="EnVisageModel.FK_Scenario2Group_ScenarioId" FromRole="Scenario" ToRole="Scenario2Group" />
<Property Name="ProjectedExpense" Type="Decimal" Precision="15" Scale="4" />
<NavigationProperty Name="PeopleResourceAllocations" Relationship="EnVisageModel.FK_PeopleResourceAllocation_Scenario" FromRole="Scenario" ToRole="PeopleResourceAllocation" />
<NavigationProperty Name="Team2Scenario" Relationship="EnVisageModel.FK_Team2Scenario_Scenario" FromRole="Scenario" ToRole="Team2Scenario" />
<Property Name="CostSavings" Type="Decimal" Precision="15" Scale="4" />
<Property Name="CostSavingsStartDate" Type="DateTime" Precision="3" />
<Property Name="CostSavingsEndDate" Type="DateTime" Precision="3" />
<Property Name="CostSavingsType" Type="Int16" />
<Property Name="CostSavingsDescription" Type="String" MaxLength="500" FixedLength="false" Unicode="true" />
<NavigationProperty Name="Template2TemplateGroup" Relationship="EnVisageModel.FK_Template2TemplateGroup_Scenario" FromRole="Scenario" ToRole="Template2TemplateGroup" />
<NavigationProperty Name="Teams" Relationship="EnVisageModel.FK_Team_Scenario" FromRole="Scenario" ToRole="Team" />
<NavigationProperty Name="Teams1" Relationship="EnVisageModel.FK_Team_Scenario1" FromRole="Scenario" ToRole="Team" />
<NavigationProperty Name="TeamAllocations" Relationship="EnVisageModel.FK_TeamAllocation_ScenarioId" FromRole="Scenario" ToRole="TeamAllocation" />
<NavigationProperty Name="Project" Relationship="EnVisageModel.FK_Scenario_Project" FromRole="Scenario" ToRole="Project" />
<NavigationProperty Name="CostSavings1" Relationship="EnVisageModel.FK_CostSaving_Scenario" FromRole="Scenario" ToRole="CostSaving" />
<Property Name="ROIDate" Type="DateTime" Precision="3" />
</EntityType>
<Association Name="FK_Scenario_TemplateScenario">
<End Type="EnVisageModel.Scenario" Role="Scenario" Multiplicity="0..1" />
<End Type="EnVisageModel.Scenario" Role="Scenario1" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Scenario">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Scenario1">
<PropertyRef Name="TemplateId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Scenario2Group_ScenarioId">
<End Type="EnVisageModel.Scenario" Role="Scenario" Multiplicity="1" />
<End Type="EnVisageModel.Scenario2Group" Role="Scenario2Group" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Scenario">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Scenario2Group">
<PropertyRef Name="ScenarioId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="SC_TotalSeatsAcrossExpCats">
<Key>
<PropertyRef Name="ShowObjectID" />
<PropertyRef Name="ShowStatusObjectID" />
<PropertyRef Name="Probability" />
<PropertyRef Name="ExpenditureCatObjectID" />
</Key>
<Property Name="ScenarioObjectID" Type="Guid" />
<Property Name="WeekEndingDate" Type="DateTime" Precision="3" />
<Property Name="Quantity" Type="Decimal" Precision="38" Scale="6" />
<Property Name="Cost" Type="Decimal" Precision="38" Scale="4" />
<Property Name="CGEFX" Type="String" MaxLength="10" FixedLength="true" Unicode="false" />
<Property Name="ScenarioType" Type="Int32" Nullable="false" />
<Property Name="ScenarioName" Type="String" MaxLength="200" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="ShowObjectID" Type="Guid" Nullable="false" />
<Property Name="ShowName" Type="String" MaxLength="200" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="ShowTypeObjectID" Type="Guid" Nullable="false" />
<Property Name="ShowStatusObjectID" Type="Guid" Nullable="false" />
<Property Name="ShowStatusName" Type="String" MaxLength="400" FixedLength="false" Unicode="true" />
<Property Name="Probability" Type="Decimal" Nullable="false" Precision="5" Scale="4" />
<Property Name="ShowColor" Type="String" MaxLength="32" FixedLength="false" Unicode="true" />
<Property Name="ScenarioColor" Type="String" MaxLength="32" FixedLength="false" Unicode="true" />
<Property Name="ExpenditureCatObjectID" Type="Guid" Nullable="false" />
<Property Name="Status" Type="Int32" />
<Property Name="SystemAttributeObjectID" Type="Guid" />
<Property Name="GroupId" Type="Guid" />
<Property Name="SystemAttributeOne" Type="Guid" />
<Property Name="SystemAttributeTwo" Type="Guid" />
</EntityType>
<EntityType Name="PeopleResource">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="FirstName" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" />
<Property Name="LastName" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" />
<Property Name="IsActiveEmployee" Type="Boolean" Nullable="false" />
<Property Name="TeamId" Type="Guid" />
<Property Name="ExpenditureCategoryId" Type="Guid" Nullable="false" />
<Property Name="StartDate" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="EndDate" Type="DateTime" Nullable="false" Precision="3" />
<NavigationProperty Name="ExpenditureCategory" Relationship="EnVisageModel.FK_Resource_ExpenditureCategory" FromRole="PeopleResource" ToRole="ExpenditureCategory" />
<NavigationProperty Name="PeopleResourceVacations" Relationship="EnVisageModel.FK_PeopleResourceVacation_PeopleResource" FromRole="PeopleResource" ToRole="PeopleResourceVacation" />
<NavigationProperty Name="Vacations" Relationship="EnVisageModel.FK_Vacation_PeopleResource" FromRole="PeopleResource" ToRole="Vacation" />
<NavigationProperty Name="PeopleResourceAllocations" Relationship="EnVisageModel.FK_PeopleResourceAllocation_PeopleResource" FromRole="PeopleResource" ToRole="PeopleResourceAllocation" />
<NavigationProperty Name="PeopleResourceTrainings" Relationship="EnVisageModel.FK_PeopleResourceTraining_PeopleResource" FromRole="PeopleResource" ToRole="PeopleResourceTraining" />
<NavigationProperty Name="Team" Relationship="EnVisageModel.FK_Resource_Team" FromRole="PeopleResource" ToRole="Team" />
<Property Name="EmployeeID" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
</EntityType>
<Association Name="FK_Resource_ExpenditureCategory">
<End Type="EnVisageModel.ExpenditureCategory" Role="ExpenditureCategory" Multiplicity="1" />
<End Type="EnVisageModel.PeopleResource" Role="PeopleResource" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="ExpenditureCategory">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="PeopleResource">
<PropertyRef Name="ExpenditureCategoryId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="Team2Project">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="TeamId" Type="Guid" Nullable="false" />
<Property Name="ProjectId" Type="Guid" Nullable="false" />
<NavigationProperty Name="Team" Relationship="EnVisageModel.FK_Team2Project_Team" FromRole="Team2Project" ToRole="Team" />
<NavigationProperty Name="Project" Relationship="EnVisageModel.FK_Team2Project_Project" FromRole="Team2Project" ToRole="Project" />
</EntityType>
<EntityType Name="PeopleResourceVacation">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="PeopleResourceId" Type="Guid" Nullable="false" />
<Property Name="VacationId" Type="Guid" Nullable="false" />
<Property Name="WeekEndingDate" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="HoursOff" Type="Int32" Nullable="false" />
<Property Name="LastUpdate" Type="DateTime" Nullable="false" Precision="3" />
<NavigationProperty Name="PeopleResource" Relationship="EnVisageModel.FK_PeopleResourceVacation_PeopleResource" FromRole="PeopleResourceVacation" ToRole="PeopleResource" />
<NavigationProperty Name="Vacation" Relationship="EnVisageModel.FK_PeopleResourceVacation_Vacation" FromRole="PeopleResourceVacation" ToRole="Vacation" />
</EntityType>
<Association Name="FK_PeopleResourceVacation_PeopleResource">
<End Type="EnVisageModel.PeopleResource" Role="PeopleResource" Multiplicity="1" />
<End Type="EnVisageModel.PeopleResourceVacation" Role="PeopleResourceVacation" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="PeopleResource">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="PeopleResourceVacation">
<PropertyRef Name="PeopleResourceId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="Vacation">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="StartDate" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="EndDate" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="PeopleResourceId" Type="Guid" Nullable="false" />
<Property Name="HoursOff" Type="Decimal" Nullable="false" Precision="5" Scale="4" />
<NavigationProperty Name="PeopleResource" Relationship="EnVisageModel.FK_Vacation_PeopleResource" FromRole="Vacation" ToRole="PeopleResource" />
<NavigationProperty Name="PeopleResourceVacations" Relationship="EnVisageModel.FK_PeopleResourceVacation_Vacation" FromRole="Vacation" ToRole="PeopleResourceVacation" />
<Property Name="Weekends" Type="String" MaxLength="256" FixedLength="false" Unicode="true" Nullable="false" />
</EntityType>
<Association Name="FK_Vacation_PeopleResource">
<End Type="EnVisageModel.PeopleResource" Role="PeopleResource" Multiplicity="1" />
<End Type="EnVisageModel.Vacation" Role="Vacation" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="PeopleResource">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Vacation">
<PropertyRef Name="PeopleResourceId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_PeopleResourceVacation_Vacation">
<End Type="EnVisageModel.Vacation" Role="Vacation" Multiplicity="1" />
<End Type="EnVisageModel.PeopleResourceVacation" Role="PeopleResourceVacation" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Vacation">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="PeopleResourceVacation">
<PropertyRef Name="VacationId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="PeopleResourceAllocation">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ScenarioId" Type="Guid" Nullable="false" />
<Property Name="PeopleResourceId" Type="Guid" Nullable="false" />
<Property Name="ExpenditureCategoryId" Type="Guid" Nullable="false" />
<Property Name="WeekEndingDate" Type="DateTime" Precision="3" />
<Property Name="Quantity" Type="Decimal" Precision="18" Scale="6" />
<Property Name="LastUpdate" Type="DateTime" Precision="3" />
<NavigationProperty Name="ExpenditureCategory" Relationship="EnVisageModel.FK_PeopleResourceAllocation_ExpenditureCategory" FromRole="PeopleResourceAllocation" ToRole="ExpenditureCategory" />
<NavigationProperty Name="PeopleResource" Relationship="EnVisageModel.FK_PeopleResourceAllocation_PeopleResource" FromRole="PeopleResourceAllocation" ToRole="PeopleResource" />
<NavigationProperty Name="Scenario" Relationship="EnVisageModel.FK_PeopleResourceAllocation_Scenario" FromRole="PeopleResourceAllocation" ToRole="Scenario" />
</EntityType>
<Association Name="FK_PeopleResourceAllocation_ExpenditureCategory">
<End Type="EnVisageModel.ExpenditureCategory" Role="ExpenditureCategory" Multiplicity="1" />
<End Type="EnVisageModel.PeopleResourceAllocation" Role="PeopleResourceAllocation" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="ExpenditureCategory">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="PeopleResourceAllocation">
<PropertyRef Name="ExpenditureCategoryId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_PeopleResourceAllocation_PeopleResource">
<End Type="EnVisageModel.PeopleResource" Role="PeopleResource" Multiplicity="1" />
<End Type="EnVisageModel.PeopleResourceAllocation" Role="PeopleResourceAllocation" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="PeopleResource">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="PeopleResourceAllocation">
<PropertyRef Name="PeopleResourceId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_PeopleResourceAllocation_Scenario">
<End Type="EnVisageModel.Scenario" Role="Scenario" Multiplicity="1" />
<End Type="EnVisageModel.PeopleResourceAllocation" Role="PeopleResourceAllocation" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Scenario">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="PeopleResourceAllocation">
<PropertyRef Name="ScenarioId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="GLAccount">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Nullable="false" Type="Guid" />
<Property Name="GLNumber" MaxLength="160" FixedLength="false" Unicode="true" Type="String" />
<Property Name="Name" MaxLength="800" FixedLength="false" Unicode="true" Type="String" />
<NavigationProperty Name="ExpenditureCategories" Relationship="EnVisageModel.FK_Expenditure_Category_GLDepartment" FromRole="GLAccount" ToRole="ExpenditureCategory" />
<NavigationProperty Name="Clients" Relationship="EnVisageModel.FK_Client_GLAccount" FromRole="GLAccount" ToRole="Client" />
</EntityType>
<Association Name="FK_Expenditure_Category_GLDepartment">
<End Type="EnVisageModel.GLAccount" Multiplicity="1" Role="GLAccount" />
<End Type="EnVisageModel.ExpenditureCategory" Multiplicity="*" Role="ExpenditureCategory" />
<ReferentialConstraint>
<Principal Role="GLAccount">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="ExpenditureCategory">
<PropertyRef Name="GLId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="PeopleResourceTraining">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="TrainingId" Type="Guid" Nullable="false" />
<Property Name="PeopleResourceId" Type="Guid" Nullable="false" />
<Property Name="WeekEndingDate" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="HoursOff" Type="Int32" Nullable="false" />
<NavigationProperty Name="PeopleResource" Relationship="EnVisageModel.FK_PeopleResourceTraining_PeopleResource" FromRole="PeopleResourceTraining" ToRole="PeopleResource" />
<NavigationProperty Name="Training" Relationship="EnVisageModel.FK_PeopleResourceTraining_Training" FromRole="PeopleResourceTraining" ToRole="Training" />
</EntityType>
<EntityType Name="Training">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="Name" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="true" />
<Property Name="StartDate" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="EndDate" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="TrainingTypeId" Type="Guid" Nullable="false" />
<Property Name="Cost" Type="Decimal" Nullable="false" Precision="15" Scale="4" />
<Property Name="PercentAllocated" Type="Int16" Nullable="false" />
<NavigationProperty Name="PeopleResourceTrainings" Relationship="EnVisageModel.FK_PeopleResourceTraining_Training" FromRole="Training" ToRole="PeopleResourceTraining" />
<NavigationProperty Name="TrainingType" Relationship="EnVisageModel.FK_Training_TrainingType" FromRole="Training" ToRole="TrainingType" />
<Property Name="Weekends" Type="String" MaxLength="256" FixedLength="false" Unicode="true" Nullable="false" />
</EntityType>
<EntityType Name="TrainingType">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="Name" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="true" />
<NavigationProperty Name="Trainings" Relationship="EnVisageModel.FK_Training_TrainingType" FromRole="TrainingType" ToRole="Training" />
</EntityType>
<Association Name="FK_PeopleResourceTraining_PeopleResource">
<End Type="EnVisageModel.PeopleResource" Role="PeopleResource" Multiplicity="1" />
<End Type="EnVisageModel.PeopleResourceTraining" Role="PeopleResourceTraining" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="PeopleResource">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="PeopleResourceTraining">
<PropertyRef Name="PeopleResourceId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_PeopleResourceTraining_Training">
<End Type="EnVisageModel.Training" Role="Training" Multiplicity="1" />
<End Type="EnVisageModel.PeopleResourceTraining" Role="PeopleResourceTraining" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Training">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="PeopleResourceTraining">
<PropertyRef Name="TrainingId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Training_TrainingType">
<End Type="EnVisageModel.TrainingType" Role="TrainingType" Multiplicity="1" />
<End Type="EnVisageModel.Training" Role="Training" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="TrainingType">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Training">
<PropertyRef Name="TrainingTypeId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="PasswordResetRequest">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="UserId" Type="String" Nullable="false" MaxLength="128" FixedLength="false" Unicode="true" />
<Property Name="Token" Type="Guid" Nullable="false" />
<Property Name="ValidUntil" Type="DateTime" Nullable="false" Precision="3" />
<NavigationProperty Name="AspNetUser" Relationship="EnVisageModel.FK_PasswordResetRequest_AspNetUsers" FromRole="PasswordResetRequest" ToRole="AspNetUser" />
</EntityType>
<EntityType Name="Client">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="Name" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="ClientNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
<Property Name="GLAccountId" Type="Guid" />
<NavigationProperty Name="GLAccount" Relationship="EnVisageModel.FK_Client_GLAccount" FromRole="Client" ToRole="GLAccount" />
<NavigationProperty Name="Company2Client" Relationship="EnVisageModel.FK_Company2Client_ClientId" FromRole="Client" ToRole="Company2Client" />
<NavigationProperty Name="Projects" Relationship="EnVisageModel.FK_Show_Client" FromRole="Client" ToRole="Project" />
</EntityType>
<Association Name="FK_Client_GLAccount">
<End Type="EnVisageModel.GLAccount" Role="GLAccount" Multiplicity="0..1" />
<End Type="EnVisageModel.Client" Role="Client" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="GLAccount">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Client">
<PropertyRef Name="GLAccountId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="User2Team">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="UserId" Type="String" Nullable="false" MaxLength="128" FixedLength="false" Unicode="true" />
<Property Name="TeamId" Type="Guid" Nullable="false" />
<NavigationProperty Name="Team" Relationship="EnVisageModel.FK_User2Team_Team" FromRole="User2Team" ToRole="Team" />
<NavigationProperty Name="AspNetUser" Relationship="EnVisageModel.FK_User2Team_AspNetUsers" FromRole="User2Team" ToRole="AspNetUser" />
</EntityType>
<Association Name="FK_Company2Client_ClientId">
<End Type="EnVisageModel.Client" Role="Client" Multiplicity="1" />
<End Type="EnVisageModel.Company2Client" Role="Company2Client" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Client">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Company2Client">
<PropertyRef Name="ClientId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="Type2TypeGroup">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="TypeId" Type="Guid" Nullable="false" />
<Property Name="TypeGroupId" Type="Guid" Nullable="false" />
<NavigationProperty Name="TypeGroup" Relationship="EnVisageModel.FK_Type2TypeGroup_TypeGroup" FromRole="Type2TypeGroup" ToRole="TypeGroup" />
<NavigationProperty Name="Type" Relationship="EnVisageModel.FK_Type2TypeGroup_Type" FromRole="Type2TypeGroup" ToRole="Type" />
</EntityType>
<EntityType Name="TypeGroup">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="Name" Type="String" Nullable="false" MaxLength="256" FixedLength="false" Unicode="true" />
<NavigationProperty Name="Type2TypeGroup" Relationship="EnVisageModel.FK_Type2TypeGroup_TypeGroup" FromRole="TypeGroup" ToRole="Type2TypeGroup" />
</EntityType>
<Association Name="FK_Type2TypeGroup_TypeGroup">
<End Type="EnVisageModel.TypeGroup" Role="TypeGroup" Multiplicity="1" />
<End Type="EnVisageModel.Type2TypeGroup" Role="Type2TypeGroup" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="TypeGroup">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Type2TypeGroup">
<PropertyRef Name="TypeGroupId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="Company2View">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="CompanyId" Type="Guid" Nullable="false" />
<Property Name="ViewId" Type="Guid" />
<NavigationProperty Name="Company" Relationship="EnVisageModel.FK_Company2GLDepartment_CompanyId" FromRole="Company2View" ToRole="Company" />
<NavigationProperty Name="View" Relationship="EnVisageModel.FK_Company2Department_Department" FromRole="Company2View" ToRole="View" />
</EntityType>
<EntityType Name="User2View">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="UserId" Type="Guid" Nullable="false" />
<Property Name="ViewId" Type="Guid" />
<NavigationProperty Name="View" Relationship="EnVisageModel.FK_User2Department_Department" FromRole="User2View" ToRole="View" />
</EntityType>
<Association Name="FK_Company2GLDepartment_CompanyId">
<End Type="EnVisageModel.Company" Role="Company" Multiplicity="1" />
<End Type="EnVisageModel.Company2View" Role="Company2View" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Company">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Company2View">
<PropertyRef Name="CompanyId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="Team2View">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="TeamId" Type="Guid" Nullable="false" />
<Property Name="ViewId" Type="Guid" Nullable="false" />
<NavigationProperty Name="View" Relationship="EnVisageModel.FK_Team2View_View" FromRole="Team2View" ToRole="View" />
<NavigationProperty Name="Team" Relationship="EnVisageModel.FK_Team2View_TeamId" FromRole="Team2View" ToRole="Team" />
</EntityType>
<EntityType Name="View">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="Name" Type="String" Nullable="false" MaxLength="200" FixedLength="false" Unicode="true" />
<NavigationProperty Name="Company2View" Relationship="EnVisageModel.FK_Company2Department_Department" FromRole="View" ToRole="Company2View" />
<NavigationProperty Name="Team2View" Relationship="EnVisageModel.FK_Team2View_View" FromRole="View" ToRole="Team2View" />
<NavigationProperty Name="User2View" Relationship="EnVisageModel.FK_User2Department_Department" FromRole="View" ToRole="User2View" />
</EntityType>
<Association Name="FK_Company2Department_Department">
<End Type="EnVisageModel.View" Role="View" Multiplicity="0..1" />
<End Type="EnVisageModel.Company2View" Role="Company2View" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="View">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Company2View">
<PropertyRef Name="ViewId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Team2View_View">
<End Type="EnVisageModel.View" Role="View" Multiplicity="1" />
<End Type="EnVisageModel.Team2View" Role="Team2View" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="View">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team2View">
<PropertyRef Name="ViewId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_User2Department_Department">
<End Type="EnVisageModel.View" Role="View" Multiplicity="0..1" />
<End Type="EnVisageModel.User2View" Role="User2View" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="View">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="User2View">
<PropertyRef Name="ViewId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="Team2Scenario">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ScenarioId" Type="Guid" Nullable="false" />
<Property Name="TeamId" Type="Guid" Nullable="false" />
<Property Name="Allocation" Type="Int32" Nullable="false" />
<NavigationProperty Name="Scenario" Relationship="EnVisageModel.FK_Team2Scenario_Scenario" FromRole="Team2Scenario" ToRole="Scenario" />
<NavigationProperty Name="Team" Relationship="EnVisageModel.FK_Team2Scenario_Team" FromRole="Team2Scenario" ToRole="Team" />
</EntityType>
<Association Name="FK_Team2Scenario_Scenario">
<End Type="EnVisageModel.Scenario" Role="Scenario" Multiplicity="1" />
<End Type="EnVisageModel.Team2Scenario" Role="Team2Scenario" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Scenario">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team2Scenario">
<PropertyRef Name="ScenarioId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="VW_Scenario2Project">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="Type" />
<PropertyRef Name="Name" />
<PropertyRef Name="FreezeRevenue" />
<PropertyRef Name="GrowthScenario" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ParentId" Type="Guid" />
<Property Name="TemplateId" Type="Guid" />
<Property Name="Type" Type="Int32" Nullable="false" />
<Property Name="Name" Type="String" Nullable="false" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="ProjectedRevenue" Type="Decimal" Precision="36" Scale="12" />
<Property Name="ExpectedGrossMargin" Type="Decimal" Precision="15" Scale="4" />
<Property Name="CalculatedGrossMargin" Type="Decimal" Precision="15" Scale="4" />
<Property Name="CGSplit" Type="Decimal" Precision="5" Scale="4" />
<Property Name="EFXSplit" Type="Decimal" Precision="5" Scale="4" />
<Property Name="StartDate" Type="DateTime" Precision="3" />
<Property Name="EndDate" Type="DateTime" Precision="3" />
<Property Name="Duration" Type="Int32" />
<Property Name="Priority" Type="Int32" />
<Property Name="Probability" Type="Decimal" Precision="5" Scale="4" />
<Property Name="TDDirectCosts" Type="Decimal" Precision="15" Scale="4" />
<Property Name="BUDirectCosts" Type="Decimal" Precision="15" Scale="4" />
<Property Name="Shots" Type="Int32" />
<Property Name="TDRevenueShot" Type="Decimal" Precision="15" Scale="4" />
<Property Name="BURevenueShot" Type="Decimal" Precision="15" Scale="4" />
<Property Name="FreezeRevenue" Type="Boolean" Nullable="false" />
<Property Name="LastUpdate" Type="DateTime" Precision="3" />
<Property Name="ShowObjectID" Type="Guid" />
<Property Name="ShowName" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="CompanyId" Type="Guid" />
<Property Name="ClientId" Type="Guid" />
<Property Name="TypeId" Type="Guid" />
<Property Name="StatusId" Type="Guid" />
<Property Name="Color" Type="String" MaxLength="128" FixedLength="false" Unicode="true" />
<Property Name="Status" Type="Int32" />
<Property Name="UseLMMargin" Type="Int32" />
<Property Name="ExpectedGrossMargin_LM" Type="Decimal" Precision="15" Scale="4" />
<Property Name="CalculatedGrossMargin_LM" Type="Decimal" Precision="15" Scale="4" />
<Property Name="TDDirectCosts_LM" Type="Decimal" Precision="15" Scale="4" />
<Property Name="BUDirectCosts_LM" Type="Decimal" Precision="15" Scale="4" />
<Property Name="BURevenueShot_LM" Type="Decimal" Precision="15" Scale="4" />
<Property Name="ShotStartDate" Type="DateTime" Precision="3" />
<Property Name="EntryTimeStamp" Type="DateTime" Precision="3" />
<Property Name="GrowthScenario" Type="Boolean" Nullable="false" />
<Property Name="Actuals_BUDirectCosts" Type="Decimal" Precision="15" Scale="4" />
<Property Name="Actuals_BUDirectCosts_LM" Type="Decimal" Precision="15" Scale="4" />
<Property Name="SystemAttributeObjectID" Type="Guid" />
<Property Name="GroupId" Type="Guid" />
<Property Name="CostSavings" Type="Decimal" Precision="15" Scale="4" />
<Property Name="ParentProjectId" Type="Guid" />
<Property Name="ParentProjectName" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="ParentProjectColor" Type="String" MaxLength="128" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="TemplateGroup">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="Name" Type="String" Nullable="false" MaxLength="256" FixedLength="false" Unicode="true" />
<NavigationProperty Name="Template2TemplateGroup" Relationship="EnVisageModel.FK_Template2TemplateGroup_TemplateGroup" FromRole="TemplateGroup" ToRole="Template2TemplateGroup" />
</EntityType>
<EntityType Name="Template2TemplateGroup">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="TemplateId" Type="Guid" Nullable="false" />
<Property Name="TemplateGroupId" Type="Guid" Nullable="false" />
<NavigationProperty Name="Scenario" Relationship="EnVisageModel.FK_Template2TemplateGroup_Scenario" FromRole="Template2TemplateGroup" ToRole="Scenario" />
<NavigationProperty Name="TemplateGroup" Relationship="EnVisageModel.FK_Template2TemplateGroup_TemplateGroup" FromRole="Template2TemplateGroup" ToRole="TemplateGroup" />
</EntityType>
<Association Name="FK_Template2TemplateGroup_Scenario">
<End Type="EnVisageModel.Scenario" Role="Scenario" Multiplicity="1" />
<End Type="EnVisageModel.Template2TemplateGroup" Role="Template2TemplateGroup" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Scenario">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Template2TemplateGroup">
<PropertyRef Name="TemplateId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Template2TemplateGroup_TemplateGroup">
<End Type="EnVisageModel.TemplateGroup" Role="TemplateGroup" Multiplicity="1" />
<End Type="EnVisageModel.Template2TemplateGroup" Role="Template2TemplateGroup" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="TemplateGroup">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Template2TemplateGroup">
<PropertyRef Name="TemplateGroupId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="Team">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="Name" Type="String" MaxLength="400" FixedLength="false" Unicode="true" />
<Property Name="CompanyId" Type="Guid" />
<Property Name="CostCenterId" Type="Guid" />
<Property Name="ReportsTo" Type="Guid" />
<Property Name="PlannedCapacityScenarioId" Type="Guid" />
<Property Name="ActualCapacityScenarioId" Type="Guid" />
<NavigationProperty Name="Company" Relationship="EnVisageModel.FK_Team_Company" FromRole="Team" ToRole="Company" />
<NavigationProperty Name="Contact" Relationship="EnVisageModel.FK_Team_Contact" FromRole="Team" ToRole="Contact" />
<NavigationProperty Name="CreditDepartment" Relationship="EnVisageModel.FK_Team_CreditDepartment" FromRole="Team" ToRole="CreditDepartment" />
<NavigationProperty Name="PeopleResources" Relationship="EnVisageModel.FK_Resource_Team" FromRole="Team" ToRole="PeopleResource" />
<NavigationProperty Name="PlannedCapacityScenario" Relationship="EnVisageModel.FK_Team_Scenario" FromRole="Team" ToRole="Scenario" />
<NavigationProperty Name="ActualCapacityScenario" Relationship="EnVisageModel.FK_Team_Scenario1" FromRole="Team" ToRole="Scenario" />
<NavigationProperty Name="Team2Project" Relationship="EnVisageModel.FK_Team2Project_Team" FromRole="Team" ToRole="Team2Project" />
<NavigationProperty Name="Team2Scenario" Relationship="EnVisageModel.FK_Team2Scenario_Team" FromRole="Team" ToRole="Team2Scenario" />
<NavigationProperty Name="Team2View" Relationship="EnVisageModel.FK_Team2View_TeamId" FromRole="Team" ToRole="Team2View" />
<NavigationProperty Name="User2Team" Relationship="EnVisageModel.FK_User2Team_Team" FromRole="Team" ToRole="User2Team" />
<NavigationProperty Name="TeamAllocations" Relationship="EnVisageModel.FK_TeamAllocation_TeamId" FromRole="Team" ToRole="TeamAllocation" />
</EntityType>
<Association Name="FK_Team_Company">
<End Type="EnVisageModel.Company" Role="Company" Multiplicity="0..1" />
<End Type="EnVisageModel.Team" Role="Team" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Company">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team">
<PropertyRef Name="CompanyId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Team_Contact">
<End Type="EnVisageModel.Contact" Role="Contact" Multiplicity="0..1" />
<End Type="EnVisageModel.Team" Role="Team" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Contact">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team">
<PropertyRef Name="ReportsTo" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Team_CreditDepartment">
<End Type="EnVisageModel.CreditDepartment" Role="CreditDepartment" Multiplicity="0..1" />
<End Type="EnVisageModel.Team" Role="Team" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="CreditDepartment">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team">
<PropertyRef Name="CostCenterId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Resource_Team">
<End Type="EnVisageModel.Team" Role="Team" Multiplicity="0..1" />
<End Type="EnVisageModel.PeopleResource" Role="PeopleResource" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Team">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="PeopleResource">
<PropertyRef Name="TeamId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Team_Scenario">
<End Type="EnVisageModel.Scenario" Role="Scenario" Multiplicity="0..1" />
<End Type="EnVisageModel.Team" Role="Team" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Scenario">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team">
<PropertyRef Name="PlannedCapacityScenarioId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Team_Scenario1">
<End Type="EnVisageModel.Scenario" Role="Scenario" Multiplicity="0..1" />
<End Type="EnVisageModel.Team" Role="Team" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Scenario">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team">
<PropertyRef Name="ActualCapacityScenarioId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Team2Project_Team">
<End Type="EnVisageModel.Team" Role="Team" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Type="EnVisageModel.Team2Project" Role="Team2Project" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Team">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team2Project">
<PropertyRef Name="TeamId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Team2Scenario_Team">
<End Type="EnVisageModel.Team" Role="Team" Multiplicity="1" />
<End Type="EnVisageModel.Team2Scenario" Role="Team2Scenario" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Team">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team2Scenario">
<PropertyRef Name="TeamId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Team2View_TeamId">
<End Type="EnVisageModel.Team" Role="Team" Multiplicity="1" />
<End Type="EnVisageModel.Team2View" Role="Team2View" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Team">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team2View">
<PropertyRef Name="TeamId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_User2Team_Team">
<End Type="EnVisageModel.Team" Role="Team" Multiplicity="1" />
<End Type="EnVisageModel.User2Team" Role="User2Team" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Team">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="User2Team">
<PropertyRef Name="TeamId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="VW_ProjectAccess">
<Key>
<PropertyRef Name="UserId" />
<PropertyRef Name="ProjectId" />
<PropertyRef Name="Read" />
<PropertyRef Name="Write" />
</Key>
<Property Name="UserId" Type="Guid" Nullable="false" />
<Property Name="ProjectId" Type="Guid" Nullable="false" />
<Property Name="Read" Type="Int32" Nullable="false" />
<Property Name="Write" Type="Int32" Nullable="false" />
</EntityType>
<EntityType Name="TeamAllocation">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ScenarioId" Type="Guid" Nullable="false" />
<Property Name="TeamId" Type="Guid" Nullable="false" />
<Property Name="ExpenditureCategoryId" Type="Guid" Nullable="false" />
<Property Name="WeekEndingDate" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="Quantity" Type="Decimal" Nullable="false" Precision="18" Scale="6" />
<Property Name="LastUpdate" Type="DateTime" Nullable="false" Precision="3" />
<NavigationProperty Name="ExpenditureCategory" Relationship="EnVisageModel.FK_TeamAllocation_ExpenditureCategoryId" FromRole="TeamAllocation" ToRole="ExpenditureCategory" />
<NavigationProperty Name="Scenario" Relationship="EnVisageModel.FK_TeamAllocation_ScenarioId" FromRole="TeamAllocation" ToRole="Scenario" />
<NavigationProperty Name="Team" Relationship="EnVisageModel.FK_TeamAllocation_TeamId" FromRole="TeamAllocation" ToRole="Team" />
</EntityType>
<Association Name="FK_TeamAllocation_ExpenditureCategoryId">
<End Type="EnVisageModel.ExpenditureCategory" Role="ExpenditureCategory" Multiplicity="1" />
<End Type="EnVisageModel.TeamAllocation" Role="TeamAllocation" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="ExpenditureCategory">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="TeamAllocation">
<PropertyRef Name="ExpenditureCategoryId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_TeamAllocation_ScenarioId">
<End Type="EnVisageModel.Scenario" Role="Scenario" Multiplicity="1" />
<End Type="EnVisageModel.TeamAllocation" Role="TeamAllocation" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Scenario">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="TeamAllocation">
<PropertyRef Name="ScenarioId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_TeamAllocation_TeamId">
<End Type="EnVisageModel.Team" Role="Team" Multiplicity="1" />
<End Type="EnVisageModel.TeamAllocation" Role="TeamAllocation" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Team">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="TeamAllocation">
<PropertyRef Name="TeamId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="VW_ScenarioPerformance">
<Key>
<PropertyRef Name="ForecastScenarioId" />
<PropertyRef Name="ActualsScenarioId" />
<PropertyRef Name="ForecastScenarioType" />
</Key>
<Property Name="ForecastScenarioId" Type="Guid" Nullable="false" />
<Property Name="ActualsScenarioId" Type="Guid" Nullable="false" />
<Property Name="ForecastScenarioType" Type="Int32" Nullable="false" />
<Property Name="ForecastTotalCost" Type="Decimal" Precision="38" Scale="4" />
<Property Name="ActualsTotalCost" Type="Decimal" Precision="38" Scale="4" />
<Property Name="VariationPercent" Type="Decimal" Precision="38" Scale="6" />
</EntityType>
<EntityType Name="AspNetUser">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="String" Nullable="false" MaxLength="128" FixedLength="false" Unicode="true" />
<Property Name="UserName" Type="String" MaxLength="4000" FixedLength="false" Unicode="true" />
<Property Name="PasswordHash" Type="String" MaxLength="4000" FixedLength="false" Unicode="true" />
<Property Name="SecurityStamp" Type="String" MaxLength="4000" FixedLength="false" Unicode="true" />
<Property Name="Discriminator" Type="String" MaxLength="2048" FixedLength="false" Unicode="true" />
<Property Name="Email" Type="String" MaxLength="2048" FixedLength="false" Unicode="true" />
<Property Name="Phone" Type="String" MaxLength="80" FixedLength="false" Unicode="true" />
<Property Name="Type" Type="Int16" Nullable="false" />
<Property Name="PreferredResourceAllocation" Type="Boolean" Nullable="false" />
<Property Name="PreferredTotalsDisplaying" Type="Boolean" Nullable="false" />
<Property Name="FirstName" Type="String" MaxLength="40" FixedLength="false" Unicode="true" />
<Property Name="LastName" Type="String" MaxLength="40" FixedLength="false" Unicode="true" />
<NavigationProperty Name="PasswordResetRequests" Relationship="EnVisageModel.FK_PasswordResetRequest_AspNetUsers" FromRole="AspNetUser" ToRole="PasswordResetRequest" />
<NavigationProperty Name="User2Team" Relationship="EnVisageModel.FK_User2Team_AspNetUsers" FromRole="AspNetUser" ToRole="User2Team" />
<NavigationProperty Name="AspNetRoles" Relationship="EnVisageModel.AspNetUserRoles" FromRole="AspNetUser" ToRole="AspNetRole" />
</EntityType>
<Association Name="FK_PasswordResetRequest_AspNetUsers">
<End Type="EnVisageModel.AspNetUser" Role="AspNetUser" Multiplicity="1" />
<End Type="EnVisageModel.PasswordResetRequest" Role="PasswordResetRequest" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="AspNetUser">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="PasswordResetRequest">
<PropertyRef Name="UserId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_User2Team_AspNetUsers">
<End Type="EnVisageModel.AspNetUser" Role="AspNetUser" Multiplicity="1" />
<End Type="EnVisageModel.User2Team" Role="User2Team" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="AspNetUser">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="User2Team">
<PropertyRef Name="UserId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="AspNetUserRoles">
<End Type="EnVisageModel.AspNetRole" Role="AspNetRole" Multiplicity="*" />
<End Type="EnVisageModel.AspNetUser" Role="AspNetUser" Multiplicity="*" />
</Association>
<EntityType Name="UserPreference">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="UserId" Type="Guid" Nullable="false" />
<Property Name="Url" Type="String" Nullable="false" MaxLength="450" FixedLength="false" Unicode="true" />
<Property Name="Data" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="Section" Type="String" Nullable="false" MaxLength="100" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="Project">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="CompanyId" Type="Guid" />
<Property Name="ClientId" Type="Guid" />
<Property Name="TypeId" Type="Guid" Nullable="false" />
<Property Name="StatusId" Type="Guid" Nullable="false" />
<Property Name="Name" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="ProjectNumber" Type="String" MaxLength="400" FixedLength="false" Unicode="true" />
<Property Name="Color" Type="String" MaxLength="128" FixedLength="false" Unicode="true" />
<Property Name="Details" Type="String" MaxLength="4000" FixedLength="false" Unicode="true" />
<Property Name="Priority" Type="Int32" Nullable="false" />
<Property Name="Probability" Type="Decimal" Nullable="false" Precision="5" Scale="4" />
<Property Name="IsRevenueGenerating" Type="Boolean" Nullable="false" />
<Property Name="Deadline" Type="DateTime" Precision="3" />
<Property Name="ParentProjectId" Type="Guid" />
<Property Name="HasChildren" Type="Boolean" Nullable="false" />
<Property Name="PerformanceRedThreshold" Type="Decimal" Precision="3" Scale="2" />
<Property Name="PerformanceYellowThreshold" Type="Decimal" Precision="3" Scale="2" />
<Property Name="PartNum" Type="Int32" />
<NavigationProperty Name="Client" Relationship="EnVisageModel.FK_Show_Client" FromRole="Project" ToRole="Client" />
<NavigationProperty Name="Company" Relationship="EnVisageModel.FK_Show_Studio" FromRole="Project" ToRole="Company" />
<NavigationProperty Name="Contact2Project" Relationship="EnVisageModel.FK_Contact2Show_Show" FromRole="Project" ToRole="Contact2Project" />
<NavigationProperty Name="ChildProjects" Relationship="EnVisageModel.FK_Project_Project" FromRole="Project" ToRole="Project1" />
<NavigationProperty Name="ParentProject" Relationship="EnVisageModel.FK_Project_Project" FromRole="Project1" ToRole="Project" />
<NavigationProperty Name="ProjectAccesses" Relationship="EnVisageModel.FK_ProjectAccess_Project" FromRole="Project" ToRole="ProjectAccess" />
<NavigationProperty Name="Scenarios" Relationship="EnVisageModel.FK_Scenario_Project" FromRole="Project" ToRole="Scenario" />
<NavigationProperty Name="Status" Relationship="EnVisageModel.FK_Show_Status" FromRole="Project" ToRole="Status" />
<NavigationProperty Name="Type" Relationship="EnVisageModel.FK_Show_Type" FromRole="Project" ToRole="Type" />
<NavigationProperty Name="Team2Project" Relationship="EnVisageModel.FK_Team2Project_Project" FromRole="Project" ToRole="Team2Project" />
<NavigationProperty Name="StrategicGoal2Project" Relationship="EnVisageModel.FK_StrategicGoal2Project_Project" FromRole="Project" ToRole="StrategicGoal2Project" />
<Property Name="DateEdited" Type="Binary" Nullable="false" MaxLength="8" FixedLength="true" annotation:StoreGeneratedPattern="Computed" />
</EntityType>
<EntityType Name="Type">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="Name" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
<Property Name="IsSystem" Type="Boolean" Nullable="false" />
<Property Name="PerformanceRedThreshold" Type="Decimal" Precision="3" Scale="2" />
<Property Name="PerformanceYellowThreshold" Type="Decimal" Precision="3" Scale="2" />
<NavigationProperty Name="Projects" Relationship="EnVisageModel.FK_Show_Type" FromRole="Type" ToRole="Project" />
<NavigationProperty Name="Type2TypeGroup" Relationship="EnVisageModel.FK_Type2TypeGroup_Type" FromRole="Type" ToRole="Type2TypeGroup" />
</EntityType>
<EntityType Name="VW_ProjectAccessByUser">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="TypeId" />
<PropertyRef Name="StatusId" />
<PropertyRef Name="Name" />
<PropertyRef Name="Priority" />
<PropertyRef Name="Probability" />
<PropertyRef Name="IsRevenueGenerating" />
<PropertyRef Name="HasChildren" />
<PropertyRef Name="UserId" />
<PropertyRef Name="StatusName" />
<PropertyRef Name="CompanyName" />
<PropertyRef Name="ClientName" />
<PropertyRef Name="TypeName" />
<PropertyRef Name="ActiveScenarioName" />
<PropertyRef Name="Read" />
<PropertyRef Name="Write" />
<PropertyRef Name="Teams" />
<PropertyRef Name="DateEdited" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="CompanyId" Type="Guid" />
<Property Name="ClientId" Type="Guid" />
<Property Name="TypeId" Type="Guid" Nullable="false" />
<Property Name="StatusId" Type="Guid" Nullable="false" />
<Property Name="Name" Type="String" Nullable="false" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="ProjectNumber" Type="String" MaxLength="400" FixedLength="false" Unicode="true" />
<Property Name="Color" Type="String" MaxLength="128" FixedLength="false" Unicode="true" />
<Property Name="Details" Type="String" MaxLength="4000" FixedLength="false" Unicode="true" />
<Property Name="Priority" Type="Int32" Nullable="false" />
<Property Name="Probability" Type="Decimal" Nullable="false" Precision="5" Scale="4" />
<Property Name="IsRevenueGenerating" Type="Boolean" Nullable="false" />
<Property Name="Deadline" Type="DateTime" Precision="3" />
<Property Name="ParentProjectId" Type="Guid" />
<Property Name="HasChildren" Type="Boolean" Nullable="false" />
<Property Name="PerformanceRedThreshold" Type="Decimal" Precision="3" Scale="2" />
<Property Name="PerformanceYellowThreshold" Type="Decimal" Precision="3" Scale="2" />
<Property Name="PartNum" Type="Int32" />
<Property Name="UserId" Type="Guid" Nullable="false" />
<Property Name="StatusName" Type="String" Nullable="false" MaxLength="1600" FixedLength="false" Unicode="true" />
<Property Name="CompanyName" Type="String" Nullable="false" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="ClientName" Type="String" Nullable="false" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="TypeName" Type="String" Nullable="false" MaxLength="200" FixedLength="false" Unicode="true" />
<Property Name="ActiveScenarioId" Type="Guid" />
<Property Name="ActiveScenarioName" Type="String" Nullable="false" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="Read" Type="Int32" Nullable="false" />
<Property Name="Write" Type="Int32" Nullable="false" />
<Property Name="Teams" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="DateEdited" Type="Binary" Nullable="false" MaxLength="8" FixedLength="true" annotation:StoreGeneratedPattern="Computed" />
</EntityType>
<Association Name="FK_Show_Client">
<End Type="EnVisageModel.Client" Role="Client" Multiplicity="0..1" />
<End Type="EnVisageModel.Project" Role="Project" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Client">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Project">
<PropertyRef Name="ClientId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Show_Studio">
<End Type="EnVisageModel.Company" Role="Company" Multiplicity="0..1" />
<End Type="EnVisageModel.Project" Role="Project" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Company">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Project">
<PropertyRef Name="CompanyId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Contact2Show_Show">
<End Type="EnVisageModel.Project" Role="Project" Multiplicity="1" />
<End Type="EnVisageModel.Contact2Project" Role="Contact2Project" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Project">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Contact2Project">
<PropertyRef Name="ShowId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Project_Project">
<End Type="EnVisageModel.Project" Role="Project" Multiplicity="0..1" />
<End Type="EnVisageModel.Project" Role="Project1" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Project">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Project1">
<PropertyRef Name="ParentProjectId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_ProjectAccess_Project">
<End Type="EnVisageModel.Project" Role="Project" Multiplicity="1" />
<End Type="EnVisageModel.ProjectAccess" Role="ProjectAccess" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Project">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="ProjectAccess">
<PropertyRef Name="ProjectId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Scenario_Project">
<End Type="EnVisageModel.Project" Role="Project" Multiplicity="0..1" />
<End Type="EnVisageModel.Scenario" Role="Scenario" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Project">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Scenario">
<PropertyRef Name="ParentId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Show_Status">
<End Type="EnVisageModel.Status" Role="Status" Multiplicity="1" />
<End Type="EnVisageModel.Project" Role="Project" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Status">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Project">
<PropertyRef Name="StatusId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Show_Type">
<End Type="EnVisageModel.Type" Role="Type" Multiplicity="1" />
<End Type="EnVisageModel.Project" Role="Project" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Type">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Project">
<PropertyRef Name="TypeId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Team2Project_Project">
<End Type="EnVisageModel.Project" Role="Project" Multiplicity="1" />
<End Type="EnVisageModel.Team2Project" Role="Team2Project" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Project">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Team2Project">
<PropertyRef Name="ProjectId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_Type2TypeGroup_Type">
<End Type="EnVisageModel.Type" Role="Type" Multiplicity="1" />
<End Type="EnVisageModel.Type2TypeGroup" Role="Type2TypeGroup" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Type">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="Type2TypeGroup">
<PropertyRef Name="TypeId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="VW_ExpenditureCategory">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="ExpenditureId" />
<PropertyRef Name="GLId" />
<PropertyRef Name="UOMId" />
<PropertyRef Name="CreditId" />
<PropertyRef Name="Name" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ExpenditureId" Type="Guid" Nullable="false" />
<Property Name="GLId" Type="Guid" Nullable="false" />
<Property Name="UOMId" Type="Guid" Nullable="false" />
<Property Name="CreditId" Type="Guid" Nullable="false" />
<Property Name="Type" Type="Int32" />
<Property Name="UseType" Type="Int32" />
<Property Name="CGEFX" Type="String" MaxLength="10" FixedLength="true" Unicode="false" />
<Property Name="SortOrder" Type="Int32" />
<Property Name="WksSubjectToFee" Type="Int32" />
<Property Name="SystemAttributeOne" Type="Guid" />
<Property Name="SystemAttributeTwo" Type="Guid" />
<Property Name="Name" Type="String" Nullable="false" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="ExpCategoryWithCcName" Type="String" MaxLength="1603" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="BLL_Objects">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="EntityName" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="EntityName" Type="String" Nullable="false" MaxLength="8" FixedLength="false" Unicode="false" />
</EntityType>
<EnumType Name="LogicStatus" a:ExternalTypeName="EnVisage.Code.LogicStatus" xmlns:a="http://schemas.microsoft.com/ado/2006/04/codegeneration" />
<EntityType Name="supt_tbl_ProjectIds">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ProjectID" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="ParentId" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="ProjectValue" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="isTask" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
</EntityType>
<EntityType Name="supt_tbl_RecParser">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ProcessID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ToType" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ToName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ToField" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="StartPos" Type="Int32" />
<Property Name="Length" Type="Int32" />
<Property Name="index" Type="Int32" />
<Property Name="isDelimited" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
<Property Name="Delimitor" Type="String" MaxLength="5" FixedLength="false" Unicode="true" />
<Property Name="AdditionalFormat" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Overlay" Type="Boolean" />
<Property Name="DBFieldFormat" Type="Int32" />
<Property Name="TableOrder" Type="Int32" />
<Property Name="ForeignKey" Type="Boolean" />
</EntityType>
<EntityType Name="Attachment">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ParentId" Type="Guid" Nullable="false" />
<Property Name="ParentType" Type="String" Nullable="false" MaxLength="500" FixedLength="false" Unicode="true" />
<Property Name="SourceFileName" Type="String" Nullable="false" MaxLength="500" FixedLength="false" Unicode="true" />
<Property Name="FileName" Type="String" Nullable="false" MaxLength="1000" FixedLength="false" Unicode="true" />
<Property Name="ContentType" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
<Property Name="FileSize" Type="Int32" />
<Property Name="Created" Type="DateTime" Precision="3" />
</EntityType>
<EntityType Name="VW_ProjectPerformance">
<Key>
<PropertyRef Name="ForecastScenarioId" />
<PropertyRef Name="ActualsScenarioId" />
<PropertyRef Name="ForecastScenarioType" />
<PropertyRef Name="ProjectId" />
<PropertyRef Name="ProjectTypeId" />
<PropertyRef Name="ProjectPriority" />
<PropertyRef Name="FiscalPeriodId" />
</Key>
<Property Name="ForecastScenarioId" Type="Guid" Nullable="false" />
<Property Name="ActualsScenarioId" Type="Guid" Nullable="false" />
<Property Name="ForecastScenarioType" Type="Int32" Nullable="false" />
<Property Name="ForecastTotalCost" Type="Decimal" Precision="38" Scale="4" />
<Property Name="ActualsTotalCost" Type="Decimal" Precision="38" Scale="4" />
<Property Name="VariationPercent" Type="Decimal" Precision="38" Scale="6" />
<Property Name="ProjectId" Type="Guid" Nullable="false" />
<Property Name="ProjectName" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
<Property Name="Status" Type="Int32" />
<Property Name="BUDirectCosts" Type="Decimal" Precision="15" Scale="4" />
<Property Name="ScenarioEndDate" Type="DateTime" Precision="3" />
<Property Name="ProjectTypeId" Type="Guid" Nullable="false" />
<Property Name="ProjectTypeName" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
<Property Name="ProjectPriority" Type="Int32" Nullable="false" />
<Property Name="ActualsCostForecasted" Type="Decimal" Precision="38" Scale="4" />
<Property Name="ActualsCostVariation" Type="Decimal" Precision="38" Scale="4" />
<Property Name="ProjectWeight" Type="Decimal" Precision="26" Scale="15" />
<Property Name="FiscalPeriodId" Type="Guid" Nullable="false" />
<Property Name="ScenarioGroupId" Type="Guid" />
</EntityType>
<EntityType Name="UserQuickLink">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="Name" Type="String" Nullable="false" MaxLength="250" FixedLength="false" Unicode="true" />
<Property Name="UserId" Type="Guid" Nullable="false" />
<Property Name="Url" Type="String" Nullable="false" MaxLength="250" FixedLength="false" Unicode="true" />
<Property Name="PageState" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="StrategicGoal">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="Name" Type="String" Nullable="false" MaxLength="100" FixedLength="false" Unicode="true" />
<Property Name="Description" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" />
<Property Name="StartDate" Type="DateTime" Precision="3" />
<Property Name="EndDate" Type="DateTime" Precision="3" />
<Property Name="Color" Type="String" MaxLength="128" FixedLength="false" Unicode="true" />
<NavigationProperty Name="StrategicGoal2Company" Relationship="EnVisageModel.FK_StrategicGoal2Company_Goal" FromRole="StrategicGoal" ToRole="StrategicGoal2Company" />
<NavigationProperty Name="StrategicGoal2Project" Relationship="EnVisageModel.FK_StrategicGoal2Project_StrategicGoal" FromRole="StrategicGoal" ToRole="StrategicGoal2Project" />
</EntityType>
<EntityType Name="StrategicGoal2Company">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="StrategicGoalId" Type="Guid" Nullable="false" />
<Property Name="CompanyId" Type="Guid" Nullable="false" />
<NavigationProperty Name="Company" Relationship="EnVisageModel.FK_StrategicGoal2Company_Company" FromRole="StrategicGoal2Company" ToRole="Company" />
<NavigationProperty Name="StrategicGoal" Relationship="EnVisageModel.FK_StrategicGoal2Company_Goal" FromRole="StrategicGoal2Company" ToRole="StrategicGoal" />
</EntityType>
<Association Name="FK_StrategicGoal2Company_Company">
<End Type="EnVisageModel.Company" Role="Company" Multiplicity="1" />
<End Type="EnVisageModel.StrategicGoal2Company" Role="StrategicGoal2Company" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Company">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="StrategicGoal2Company">
<PropertyRef Name="CompanyId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_StrategicGoal2Company_Goal">
<End Type="EnVisageModel.StrategicGoal" Role="StrategicGoal" Multiplicity="1" />
<End Type="EnVisageModel.StrategicGoal2Company" Role="StrategicGoal2Company" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="StrategicGoal">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="StrategicGoal2Company">
<PropertyRef Name="StrategicGoalId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="StrategicGoal2Project">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ProjectId" Type="Guid" Nullable="false" />
<Property Name="StrategicGoalId" Type="Guid" Nullable="false" />
<NavigationProperty Name="Project" Relationship="EnVisageModel.FK_StrategicGoal2Project_Project" FromRole="StrategicGoal2Project" ToRole="Project" />
<NavigationProperty Name="StrategicGoal" Relationship="EnVisageModel.FK_StrategicGoal2Project_StrategicGoal" FromRole="StrategicGoal2Project" ToRole="StrategicGoal" />
</EntityType>
<Association Name="FK_StrategicGoal2Project_Project">
<End Type="EnVisageModel.Project" Role="Project" Multiplicity="1" />
<End Type="EnVisageModel.StrategicGoal2Project" Role="StrategicGoal2Project" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Project">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="StrategicGoal2Project">
<PropertyRef Name="ProjectId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_StrategicGoal2Project_StrategicGoal">
<End Type="EnVisageModel.StrategicGoal" Role="StrategicGoal" Multiplicity="1" />
<End Type="EnVisageModel.StrategicGoal2Project" Role="StrategicGoal2Project" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="StrategicGoal">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="StrategicGoal2Project">
<PropertyRef Name="StrategicGoalId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="CostSaving">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ScenarioId" Type="Guid" Nullable="false" />
<Property Name="Year" Type="Int32" Nullable="false" />
<Property Name="Month" Type="Int16" Nullable="false" />
<Property Name="Cost" Type="Decimal" Precision="15" Scale="4" />
<NavigationProperty Name="Scenario" Relationship="EnVisageModel.FK_CostSaving_Scenario" FromRole="CostSaving" ToRole="Scenario" />
</EntityType>
<Association Name="FK_CostSaving_Scenario">
<End Type="EnVisageModel.Scenario" Role="Scenario" Multiplicity="1" />
<End Type="EnVisageModel.CostSaving" Role="CostSaving" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Scenario">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="CostSaving">
<PropertyRef Name="ScenarioId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="supt_tbl_MongoDBBackup">
<Key>
<PropertyRef Name="id" />
</Key>
<Property Name="id" Type="Guid" Nullable="false" />
<Property Name="BackupDate" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="BackupedBy" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="BackupData" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="CollectionName" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="GLAccountClientsCount">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ClientCount" Type="Int32" />
</EntityType>
<EntityType Name="GLAccountExpCatsCount">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="ExpCatCount" Type="Int32" />
</EntityType>
<EntityType Name="FiscalCalendarSetting">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="CalendarType" Type="Int16" Nullable="false" />
<Property Name="StartingPoint" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="WeekendingDay" Type="Int16" Nullable="false" />
<Property Name="YearType" Type="Int16" Nullable="false" />
<Property Name="UseAdjustingPeriod" Type="Boolean" Nullable="false" />
<Property Name="CreatedAt" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="EffectiveChangeDate" Type="DateTime" Nullable="false" Precision="3" />
</EntityType>
</Schema>
</edmx:ConceptualModels>
<!-- C-S mapping content -->
<edmx:Mappings>
<Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
<EntityContainerMapping StorageEntityContainer="EnVisageModelStoreContainer" CdmEntityContainer="EnVisageEntities">
<EntitySetMapping Name="Contacts">
<EntityTypeMapping TypeName="EnVisageModel.Contact">
<MappingFragment StoreEntitySet="Contact">
<ScalarProperty Name="ContactClassification" ColumnName="ContactClassification" />
<ScalarProperty Name="ParentId" ColumnName="ParentId" />
<ScalarProperty Name="Phone" ColumnName="Phone" />
<ScalarProperty Name="Email" ColumnName="Email" />
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="Type" ColumnName="Type" />
<ScalarProperty Name="LastName" ColumnName="LastName" />
<ScalarProperty Name="FirstName" ColumnName="FirstName" />
<ScalarProperty Name="MiddleInt" ColumnName="MiddleInt" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Contact2Project">
<EntityTypeMapping TypeName="EnVisageModel.Contact2Project">
<MappingFragment StoreEntitySet="Contact2Project">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="ContactId" ColumnName="ContactId" />
<ScalarProperty Name="ShowId" ColumnName="ShowId" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Histories">
<EntityTypeMapping TypeName="EnVisageModel.History">
<MappingFragment StoreEntitySet="History">
<ScalarProperty Name="ModificationType" ColumnName="ModificationType" />
<ScalarProperty Name="EntityType" ColumnName="EntityType" />
<ScalarProperty Name="ModifiedBy" ColumnName="ModifiedBy" />
<ScalarProperty Name="TimeStamp" ColumnName="TimeStamp" />
<ScalarProperty Name="XML" ColumnName="XML" />
<ScalarProperty Name="EntityId" ColumnName="EntityId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Companies">
<EntityTypeMapping TypeName="EnVisageModel.Company">
<MappingFragment StoreEntitySet="Company">
<ScalarProperty Name="ParentCompanyId" ColumnName="ParentCompanyId" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="CreditDepartments">
<EntityTypeMapping TypeName="EnVisageModel.CreditDepartment">
<MappingFragment StoreEntitySet="CreditDepartment">
<ScalarProperty Name="CreditNumber" ColumnName="CreditNumber" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="UOMs">
<EntityTypeMapping TypeName="EnVisageModel.UOM">
<MappingFragment StoreEntitySet="UOM">
<ScalarProperty Name="UOMValue" ColumnName="UOMValue" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="AspNetRoles">
<EntityTypeMapping TypeName="EnVisageModel.AspNetRole">
<MappingFragment StoreEntitySet="AspNetRoles">
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="ProjectAccesses">
<EntityTypeMapping TypeName="EnVisageModel.ProjectAccess">
<MappingFragment StoreEntitySet="ProjectAccess">
<ScalarProperty Name="Write" ColumnName="Write" />
<ScalarProperty Name="Read" ColumnName="Read" />
<ScalarProperty Name="ProjectId" ColumnName="ProjectId" />
<ScalarProperty Name="PrincipalId" ColumnName="PrincipalId" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="FiscalCalendars">
<EntityTypeMapping TypeName="EnVisageModel.FiscalCalendar">
<MappingFragment StoreEntitySet="FiscalCalendar">
<ScalarProperty Name="NonWorking" ColumnName="NonWorking" />
<ScalarProperty Name="AdjustingPeriod" ColumnName="AdjustingPeriod" />
<ScalarProperty Name="SystemName" ColumnName="SystemName" />
<ScalarProperty Name="EndDate" ColumnName="EndDate" />
<ScalarProperty Name="StartDate" ColumnName="StartDate" />
<ScalarProperty Name="PeriodInt" ColumnName="PeriodInt" />
<ScalarProperty Name="QuarterInt" ColumnName="QuarterInt" />
<ScalarProperty Name="YearInt" ColumnName="YearInt" />
<ScalarProperty Name="Type" ColumnName="Type" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="SystemSettings">
<EntityTypeMapping TypeName="EnVisageModel.SystemSetting">
<MappingFragment StoreEntitySet="SystemSettings">
<ScalarProperty Name="Value" ColumnName="Value" />
<ScalarProperty Name="Type" ColumnName="Type" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Holidays">
<EntityTypeMapping TypeName="EnVisageModel.Holiday">
<MappingFragment StoreEntitySet="Holiday">
<ScalarProperty Name="CreatedAt" ColumnName="CreatedAt" />
<ScalarProperty Name="EffectiveChangeDate" ColumnName="EffectiveChangeDate" />
<ScalarProperty Name="HolidayId" ColumnName="HolidayId" />
<ScalarProperty Name="NonWorkingWeek" ColumnName="NonWorkingWeek" />
<ScalarProperty Name="WorkingDay" ColumnName="WorkingDay" />
<ScalarProperty Name="OccurrenceMonth" ColumnName="OccurrenceMonth" />
<ScalarProperty Name="OccurrenceMonthDay" ColumnName="OccurrenceMonthDay" />
<ScalarProperty Name="OccurrenceWeekDay" ColumnName="OccurrenceWeekDay" />
<ScalarProperty Name="OccurrenceType" ColumnName="OccurrenceType" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Expenditures">
<EntityTypeMapping TypeName="EnVisageModel.Expenditure">
<MappingFragment StoreEntitySet="Expenditure">
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="ExpenditureCategory">
<EntityTypeMapping TypeName="EnVisageModel.ExpenditureCategory">
<MappingFragment StoreEntitySet="ExpenditureCategory">
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="SystemAttributeTwo" ColumnName="SystemAttributeTwo" />
<ScalarProperty Name="SystemAttributeOne" ColumnName="SystemAttributeOne" />
<ScalarProperty Name="WksSubjectToFee" ColumnName="WksSubjectToFee" />
<ScalarProperty Name="CGEFX" ColumnName="CGEFX" />
<ScalarProperty Name="UseType" ColumnName="UseType" />
<ScalarProperty Name="Type" ColumnName="Type" />
<ScalarProperty Name="CreditId" ColumnName="CreditId" />
<ScalarProperty Name="UOMId" ColumnName="UOMId" />
<ScalarProperty Name="GLId" ColumnName="GLId" />
<ScalarProperty Name="ExpenditureId" ColumnName="ExpenditureId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="SystemAttributes">
<EntityTypeMapping TypeName="EnVisageModel.SystemAttribute">
<MappingFragment StoreEntitySet="SystemAttributes">
<ScalarProperty Name="Type" ColumnName="Type" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Expenditure2Expenditure">
<EntityTypeMapping TypeName="EnVisageModel.Expenditure2Expenditure">
<MappingFragment StoreEntitySet="Expenditure2Expenditure">
<ScalarProperty Name="ProcessOrder" ColumnName="ProcessOrder" />
<ScalarProperty Name="FactorInt" ColumnName="FactorInt" />
<ScalarProperty Name="FactorType" ColumnName="FactorType" />
<ScalarProperty Name="ChildId" ColumnName="ChildId" />
<ScalarProperty Name="ParentId" ColumnName="ParentId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="FeeCalculation">
<EntityTypeMapping TypeName="EnVisageModel.FeeCalculation">
<MappingFragment StoreEntitySet="FeeCalculation">
<ScalarProperty Name="Quantity" ColumnName="Quantity" />
<ScalarProperty Name="MaxShot" ColumnName="MaxShot" />
<ScalarProperty Name="MinShot" ColumnName="MinShot" />
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Securities">
<EntityTypeMapping TypeName="EnVisageModel.Security">
<MappingFragment StoreEntitySet="Security">
<ScalarProperty Name="SecurityObject" ColumnName="SecurityObject" />
<ScalarProperty Name="Write" ColumnName="Write" />
<ScalarProperty Name="Read" ColumnName="Read" />
<ScalarProperty Name="PrincipalId" ColumnName="PrincipalId" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="VW_ExpCategoriesInScenario">
<EntityTypeMapping TypeName="EnVisageModel.VW_ExpCategoriesInScenario">
<MappingFragment StoreEntitySet="VW_ExpCategoriesInScenario">
<ScalarProperty Name="ExpCategoryWithCcName" ColumnName="ExpCategoryWithCcName" />
<ScalarProperty Name="ExpenditureCategoryName" ColumnName="ExpenditureCategoryName" />
<ScalarProperty Name="ExpenditureName" ColumnName="ExpenditureName" />
<ScalarProperty Name="GLId" ColumnName="GLId" />
<ScalarProperty Name="UseType" ColumnName="UseType" />
<ScalarProperty Name="SortOrder" ColumnName="SortOrder" />
<ScalarProperty Name="ScenarioName" ColumnName="ScenarioName" />
<ScalarProperty Name="ScenarioID" ColumnName="ScenarioID" />
<ScalarProperty Name="ScenarioType" ColumnName="ScenarioType" />
<ScalarProperty Name="ECType" ColumnName="ECType" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="VW_Expenditure2Category">
<EntityTypeMapping TypeName="EnVisageModel.VW_Expenditure2Category">
<MappingFragment StoreEntitySet="VW_Expenditure2Category">
<ScalarProperty Name="ExpCategoryWithCcName" ColumnName="ExpCategoryWithCcName" />
<ScalarProperty Name="ExpenditureCategoryName" ColumnName="ExpenditureCategoryName" />
<ScalarProperty Name="SystemAttributeTypeTwo" ColumnName="SystemAttributeTypeTwo" />
<ScalarProperty Name="SystemAttributeNameTwo" ColumnName="SystemAttributeNameTwo" />
<ScalarProperty Name="SystemAttributeTypeOne" ColumnName="SystemAttributeTypeOne" />
<ScalarProperty Name="SystemAttributeNameOne" ColumnName="SystemAttributeNameOne" />
<ScalarProperty Name="WksSubjectToFee" ColumnName="WksSubjectToFee" />
<ScalarProperty Name="CreditName" ColumnName="CreditName" />
<ScalarProperty Name="SystemAttributeTwo" ColumnName="SystemAttributeTwo" />
<ScalarProperty Name="SystemAttributeOne" ColumnName="SystemAttributeOne" />
<ScalarProperty Name="CreditId" ColumnName="CreditId" />
<ScalarProperty Name="UOMName" ColumnName="UOMName" />
<ScalarProperty Name="GLName" ColumnName="GLName" />
<ScalarProperty Name="GLNumber" ColumnName="GLNumber" />
<ScalarProperty Name="ExpenditureName" ColumnName="ExpenditureName" />
<ScalarProperty Name="SortOrder" ColumnName="SortOrder" />
<ScalarProperty Name="CGEFX" ColumnName="CGEFX" />
<ScalarProperty Name="UseType" ColumnName="UseType" />
<ScalarProperty Name="Type" ColumnName="Type" />
<ScalarProperty Name="UOMId" ColumnName="UOMId" />
<ScalarProperty Name="GLId" ColumnName="GLId" />
<ScalarProperty Name="ExpenditureId" ColumnName="ExpenditureId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="VW_Expenditure2Calculation">
<EntityTypeMapping TypeName="EnVisageModel.VW_Expenditure2Calculation">
<MappingFragment StoreEntitySet="VW_Expenditure2Calculation">
<ScalarProperty Name="ExpCategoryWithCcName" ColumnName="ExpCategoryWithCcName" />
<ScalarProperty Name="ExpenditureCategoryName" ColumnName="ExpenditureCategoryName" />
<ScalarProperty Name="WksSubjectToFee" ColumnName="WksSubjectToFee" />
<ScalarProperty Name="CreditId" ColumnName="CreditId" />
<ScalarProperty Name="ParentId" ColumnName="ParentId" />
<ScalarProperty Name="ProcessOrder" ColumnName="ProcessOrder" />
<ScalarProperty Name="FactorInt" ColumnName="FactorInt" />
<ScalarProperty Name="FactorType" ColumnName="FactorType" />
<ScalarProperty Name="ExpenditureName" ColumnName="ExpenditureName" />
<ScalarProperty Name="SystemAttributeTwo" ColumnName="SystemAttributeTwo" />
<ScalarProperty Name="SystemAttributeOne" ColumnName="SystemAttributeOne" />
<ScalarProperty Name="SortOrder" ColumnName="SortOrder" />
<ScalarProperty Name="CGEFX" ColumnName="CGEFX" />
<ScalarProperty Name="UseType" ColumnName="UseType" />
<ScalarProperty Name="Type" ColumnName="Type" />
<ScalarProperty Name="UOMId" ColumnName="UOMId" />
<ScalarProperty Name="GLId" ColumnName="GLId" />
<ScalarProperty Name="ExpenditureCategoryID" ColumnName="ExpenditureCategoryID" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="VW_ScenarioAndProxyDetails">
<EntityTypeMapping TypeName="EnVisageModel.VW_ScenarioAndProxyDetails">
<MappingFragment StoreEntitySet="VW_ScenarioAndProxyDetails">
<ScalarProperty Name="ExpCategoryWithCcName" ColumnName="ExpCategoryWithCcName" />
<ScalarProperty Name="ExpenditureName" ColumnName="ExpenditureName" />
<ScalarProperty Name="SortOrder" ColumnName="SortOrder" />
<ScalarProperty Name="SystemAttributeTwo" ColumnName="SystemAttributeTwo" />
<ScalarProperty Name="SystemAttributeOne" ColumnName="SystemAttributeOne" />
<ScalarProperty Name="CGEFX" ColumnName="CGEFX" />
<ScalarProperty Name="UseType" ColumnName="UseType" />
<ScalarProperty Name="Type" ColumnName="Type" />
<ScalarProperty Name="CreditId" ColumnName="CreditId" />
<ScalarProperty Name="UOMId" ColumnName="UOMId" />
<ScalarProperty Name="GLId" ColumnName="GLId" />
<ScalarProperty Name="ExpenditureCategoryName" ColumnName="ExpenditureCategoryName" />
<ScalarProperty Name="Cost" ColumnName="Cost" />
<ScalarProperty Name="WeekOrdinal" ColumnName="WeekOrdinal" />
<ScalarProperty Name="LastUpdate" ColumnName="LastUpdate" />
<ScalarProperty Name="Quantity" ColumnName="Quantity" />
<ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
<ScalarProperty Name="ParentID" ColumnName="ParentID" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="VW_Expenditure2FeeCalculation">
<EntityTypeMapping TypeName="EnVisageModel.VW_Expenditure2FeeCalculation">
<MappingFragment StoreEntitySet="VW_Expenditure2FeeCalculation">
<ScalarProperty Name="WksSubjectToFee" ColumnName="WksSubjectToFee" />
<ScalarProperty Name="Quantity" ColumnName="Quantity" />
<ScalarProperty Name="MaxShot" ColumnName="MaxShot" />
<ScalarProperty Name="MinShot" ColumnName="MinShot" />
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Rates">
<EntityTypeMapping TypeName="EnVisageModel.Rate">
<MappingFragment StoreEntitySet="Rate">
<ScalarProperty Name="DerivedId" ColumnName="DerivedId" />
<ScalarProperty Name="Type" ColumnName="Type" />
<ScalarProperty Name="FreezeRate" ColumnName="FreezeRate" />
<ScalarProperty Name="EndDate" ColumnName="EndDate" />
<ScalarProperty Name="StartDate" ColumnName="StartDate" />
<ScalarProperty Name="Rate1" ColumnName="Rate" />
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
<ScalarProperty Name="ParentId" ColumnName="ParentId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="SC_TotalCGSeatsAcrossProject">
<EntityTypeMapping TypeName="EnVisageModel.SC_TotalCGSeatsAcrossProject">
<MappingFragment StoreEntitySet="SC_TotalCGSeatsAcrossProject">
<ScalarProperty Name="SystemAttributeObjectID" ColumnName="SystemAttributeObjectID" />
<ScalarProperty Name="Status" ColumnName="Status" />
<ScalarProperty Name="ScenarioColor" ColumnName="ScenarioColor" />
<ScalarProperty Name="ProjectColor" ColumnName="ProjectColor" />
<ScalarProperty Name="Probability" ColumnName="Probability" />
<ScalarProperty Name="ProjectStatusName" ColumnName="ProjectStatusName" />
<ScalarProperty Name="ShowStatusId" ColumnName="ShowStatusId" />
<ScalarProperty Name="ProjectTypeId" ColumnName="ProjectTypeId" />
<ScalarProperty Name="ProjectName" ColumnName="ProjectName" />
<ScalarProperty Name="ProjectObjectId" ColumnName="ProjectObjectId" />
<ScalarProperty Name="ScenarioName" ColumnName="ScenarioName" />
<ScalarProperty Name="ScenarioType" ColumnName="ScenarioType" />
<ScalarProperty Name="CGEFX" ColumnName="CGEFX" />
<ScalarProperty Name="Cost" ColumnName="Cost" />
<ScalarProperty Name="Quantity" ColumnName="Quantity" />
<ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
<ScalarProperty Name="ScenarioId" ColumnName="ScenarioId" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Company2Client">
<EntityTypeMapping TypeName="EnVisageModel.Company2Client">
<MappingFragment StoreEntitySet="Company2Client">
<ScalarProperty Name="ClientId" ColumnName="ClientId" />
<ScalarProperty Name="CompanyId" ColumnName="CompanyId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="ScenarioDetail">
<EntityTypeMapping TypeName="EnVisageModel.ScenarioDetail">
<MappingFragment StoreEntitySet="ScenarioDetail">
<ScalarProperty Name="Cost" ColumnName="Cost" />
<ScalarProperty Name="WeekOrdinal" ColumnName="WeekOrdinal" />
<ScalarProperty Name="LastUpdate" ColumnName="LastUpdate" />
<ScalarProperty Name="Quantity" ColumnName="Quantity" />
<ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
<ScalarProperty Name="ParentID" ColumnName="ParentID" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Scenario2Group">
<EntityTypeMapping TypeName="EnVisageModel.Scenario2Group">
<MappingFragment StoreEntitySet="Scenario2Group">
<ScalarProperty Name="GroupId" ColumnName="GroupId" />
<ScalarProperty Name="ScenarioId" ColumnName="ScenarioId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Status">
<EntityTypeMapping TypeName="EnVisageModel.Status">
<MappingFragment StoreEntitySet="Status">
<ScalarProperty Name="Probability100" ColumnName="Probability100" />
<ScalarProperty Name="IsSystem" ColumnName="IsSystem" />
<ScalarProperty Name="Color" ColumnName="Color" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Notes">
<EntityTypeMapping TypeName="EnVisageModel.Note">
<MappingFragment StoreEntitySet="Note">
<ScalarProperty Name="Title" ColumnName="Title" />
<ScalarProperty Name="SystemAttributeId" ColumnName="SystemAttributeId" />
<ScalarProperty Name="DomainId" ColumnName="DomainId" />
<ScalarProperty Name="NoteDetail" ColumnName="NoteDetail" />
<ScalarProperty Name="DateAdded" ColumnName="DateAdded" />
<ScalarProperty Name="UserId" ColumnName="UserId" />
<ScalarProperty Name="ParentId" ColumnName="ParentId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Scenarios">
<EntityTypeMapping TypeName="EnVisageModel.Scenario">
<MappingFragment StoreEntitySet="Scenario">
<ScalarProperty Name="ROIDate" ColumnName="ROIDate" />
<ScalarProperty Name="CostSavingsDescription" ColumnName="CostSavingsDescription" />
<ScalarProperty Name="CostSavingsType" ColumnName="CostSavingsType" />
<ScalarProperty Name="CostSavingsEndDate" ColumnName="CostSavingsEndDate" />
<ScalarProperty Name="CostSavingsStartDate" ColumnName="CostSavingsStartDate" />
<ScalarProperty Name="CostSavings" ColumnName="CostSavings" />
<ScalarProperty Name="ProjectedExpense" ColumnName="ProjectedExpense" />
<ScalarProperty Name="SystemAttributeObjectID" ColumnName="SystemAttributeObjectID" />
<ScalarProperty Name="Actuals_BUDirectCosts_LM" ColumnName="Actuals_BUDirectCosts_LM" />
<ScalarProperty Name="Actuals_BUDirectCosts" ColumnName="Actuals_BUDirectCosts" />
<ScalarProperty Name="GrowthScenario" ColumnName="GrowthScenario" />
<ScalarProperty Name="EntryTimeStamp" ColumnName="EntryTimeStamp" />
<ScalarProperty Name="ShotStartDate" ColumnName="ShotStartDate" />
<ScalarProperty Name="BURevenueShot_LM" ColumnName="BURevenueShot_LM" />
<ScalarProperty Name="BUDirectCosts_LM" ColumnName="BUDirectCosts_LM" />
<ScalarProperty Name="TDDirectCosts_LM" ColumnName="TDDirectCosts_LM" />
<ScalarProperty Name="CalculatedGrossMargin_LM" ColumnName="CalculatedGrossMargin_LM" />
<ScalarProperty Name="ExpectedGrossMargin_LM" ColumnName="ExpectedGrossMargin_LM" />
<ScalarProperty Name="UseLMMargin" ColumnName="UseLMMargin" />
<ScalarProperty Name="Status" ColumnName="Status" />
<ScalarProperty Name="Color" ColumnName="Color" />
<ScalarProperty Name="LastUpdate" ColumnName="LastUpdate" />
<ScalarProperty Name="FreezeRevenue" ColumnName="FreezeRevenue" />
<ScalarProperty Name="BURevenueShot" ColumnName="BURevenueShot" />
<ScalarProperty Name="TDRevenueShot" ColumnName="TDRevenueShot" />
<ScalarProperty Name="Shots" ColumnName="Shots" />
<ScalarProperty Name="BUDirectCosts" ColumnName="BUDirectCosts" />
<ScalarProperty Name="TDDirectCosts" ColumnName="TDDirectCosts" />
<ScalarProperty Name="Duration" ColumnName="Duration" />
<ScalarProperty Name="EndDate" ColumnName="EndDate" />
<ScalarProperty Name="StartDate" ColumnName="StartDate" />
<ScalarProperty Name="EFXSplit" ColumnName="EFXSplit" />
<ScalarProperty Name="CGSplit" ColumnName="CGSplit" />
<ScalarProperty Name="CalculatedGrossMargin" ColumnName="CalculatedGrossMargin" />
<ScalarProperty Name="ExpectedGrossMargin" ColumnName="ExpectedGrossMargin" />
<ScalarProperty Name="ProjectedRevenue" ColumnName="ProjectedRevenue" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Type" ColumnName="Type" />
<ScalarProperty Name="TemplateId" ColumnName="TemplateId" />
<ScalarProperty Name="ParentId" ColumnName="ParentId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="SC_TotalSeatsAcrossExpCats">
<EntityTypeMapping TypeName="EnVisageModel.SC_TotalSeatsAcrossExpCats">
<MappingFragment StoreEntitySet="SC_TotalSeatsAcrossExpCats">
<ScalarProperty Name="SystemAttributeTwo" ColumnName="SystemAttributeTwo" />
<ScalarProperty Name="SystemAttributeOne" ColumnName="SystemAttributeOne" />
<ScalarProperty Name="GroupId" ColumnName="GroupId" />
<ScalarProperty Name="SystemAttributeObjectID" ColumnName="SystemAttributeObjectID" />
<ScalarProperty Name="Status" ColumnName="Status" />
<ScalarProperty Name="ExpenditureCatObjectID" ColumnName="ExpenditureCatObjectID" />
<ScalarProperty Name="ScenarioColor" ColumnName="ScenarioColor" />
<ScalarProperty Name="ShowColor" ColumnName="ShowColor" />
<ScalarProperty Name="Probability" ColumnName="Probability" />
<ScalarProperty Name="ShowStatusName" ColumnName="ShowStatusName" />
<ScalarProperty Name="ShowStatusObjectID" ColumnName="ShowStatusObjectID" />
<ScalarProperty Name="ShowTypeObjectID" ColumnName="ShowTypeObjectID" />
<ScalarProperty Name="ShowName" ColumnName="ShowName" />
<ScalarProperty Name="ShowObjectID" ColumnName="ShowObjectID" />
<ScalarProperty Name="ScenarioName" ColumnName="ScenarioName" />
<ScalarProperty Name="ScenarioType" ColumnName="ScenarioType" />
<ScalarProperty Name="CGEFX" ColumnName="CGEFX" />
<ScalarProperty Name="Cost" ColumnName="Cost" />
<ScalarProperty Name="Quantity" ColumnName="Quantity" />
<ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
<ScalarProperty Name="ScenarioObjectID" ColumnName="ScenarioObjectID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="PeopleResources">
<EntityTypeMapping TypeName="EnVisageModel.PeopleResource">
<MappingFragment StoreEntitySet="PeopleResource">
<ScalarProperty Name="EmployeeID" ColumnName="EmployeeID" />
<ScalarProperty Name="EndDate" ColumnName="EndDate" />
<ScalarProperty Name="StartDate" ColumnName="StartDate" />
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
<ScalarProperty Name="IsActiveEmployee" ColumnName="IsActiveEmployee" />
<ScalarProperty Name="LastName" ColumnName="LastName" />
<ScalarProperty Name="FirstName" ColumnName="FirstName" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Team2Project">
<EntityTypeMapping TypeName="EnVisageModel.Team2Project">
<MappingFragment StoreEntitySet="Team2Project">
<ScalarProperty Name="ProjectId" ColumnName="ProjectId" />
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="PeopleResourceVacations">
<EntityTypeMapping TypeName="EnVisageModel.PeopleResourceVacation">
<MappingFragment StoreEntitySet="PeopleResourceVacation">
<ScalarProperty Name="LastUpdate" ColumnName="LastUpdate" />
<ScalarProperty Name="HoursOff" ColumnName="HoursOff" />
<ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
<ScalarProperty Name="VacationId" ColumnName="VacationId" />
<ScalarProperty Name="PeopleResourceId" ColumnName="PeopleResourceId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Vacations">
<EntityTypeMapping TypeName="EnVisageModel.Vacation">
<MappingFragment StoreEntitySet="Vacation">
<ScalarProperty Name="Weekends" ColumnName="Weekends" />
<ScalarProperty Name="HoursOff" ColumnName="HoursOff" />
<ScalarProperty Name="PeopleResourceId" ColumnName="PeopleResourceId" />
<ScalarProperty Name="EndDate" ColumnName="EndDate" />
<ScalarProperty Name="StartDate" ColumnName="StartDate" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="PeopleResourceAllocations">
<EntityTypeMapping TypeName="EnVisageModel.PeopleResourceAllocation">
<MappingFragment StoreEntitySet="PeopleResourceAllocation">
<ScalarProperty Name="LastUpdate" ColumnName="LastUpdate" />
<ScalarProperty Name="Quantity" ColumnName="Quantity" />
<ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
<ScalarProperty Name="PeopleResourceId" ColumnName="PeopleResourceId" />
<ScalarProperty Name="ScenarioId" ColumnName="ScenarioId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="GLAccounts">
<EntityTypeMapping TypeName="EnVisageModel.GLAccount">
<MappingFragment StoreEntitySet="GLAccount">
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="GLNumber" ColumnName="GLNumber" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="PeopleResourceTrainings">
<EntityTypeMapping TypeName="EnVisageModel.PeopleResourceTraining">
<MappingFragment StoreEntitySet="PeopleResourceTraining">
<ScalarProperty Name="HoursOff" ColumnName="HoursOff" />
<ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
<ScalarProperty Name="PeopleResourceId" ColumnName="PeopleResourceId" />
<ScalarProperty Name="TrainingId" ColumnName="TrainingId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Trainings">
<EntityTypeMapping TypeName="EnVisageModel.Training">
<MappingFragment StoreEntitySet="Training">
<ScalarProperty Name="Weekends" ColumnName="Weekends" />
<ScalarProperty Name="PercentAllocated" ColumnName="PercentAllocated" />
<ScalarProperty Name="Cost" ColumnName="Cost" />
<ScalarProperty Name="TrainingTypeId" ColumnName="TrainingTypeId" />
<ScalarProperty Name="EndDate" ColumnName="EndDate" />
<ScalarProperty Name="StartDate" ColumnName="StartDate" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TrainingTypes">
<EntityTypeMapping TypeName="EnVisageModel.TrainingType">
<MappingFragment StoreEntitySet="TrainingType">
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="PasswordResetRequests">
<EntityTypeMapping TypeName="EnVisageModel.PasswordResetRequest">
<MappingFragment StoreEntitySet="PasswordResetRequest">
<ScalarProperty Name="ValidUntil" ColumnName="ValidUntil" />
<ScalarProperty Name="Token" ColumnName="Token" />
<ScalarProperty Name="UserId" ColumnName="UserId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="User2Team">
<EntityTypeMapping TypeName="EnVisageModel.User2Team">
<MappingFragment StoreEntitySet="User2Team">
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
<ScalarProperty Name="UserId" ColumnName="UserId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Clients">
<EntityTypeMapping TypeName="EnVisageModel.Client">
<MappingFragment StoreEntitySet="Client">
<ScalarProperty Name="GLAccountId" ColumnName="GLAccountId" />
<ScalarProperty Name="ClientNumber" ColumnName="ClientNumber" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Type2TypeGroup">
<EntityTypeMapping TypeName="EnVisageModel.Type2TypeGroup">
<MappingFragment StoreEntitySet="Type2TypeGroup">
<ScalarProperty Name="TypeGroupId" ColumnName="TypeGroupId" />
<ScalarProperty Name="TypeId" ColumnName="TypeId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TypeGroups">
<EntityTypeMapping TypeName="EnVisageModel.TypeGroup">
<MappingFragment StoreEntitySet="TypeGroup">
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Company2View">
<EntityTypeMapping TypeName="EnVisageModel.Company2View">
<MappingFragment StoreEntitySet="Company2View">
<ScalarProperty Name="ViewId" ColumnName="ViewId" />
<ScalarProperty Name="CompanyId" ColumnName="CompanyId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="User2View">
<EntityTypeMapping TypeName="EnVisageModel.User2View">
<MappingFragment StoreEntitySet="User2View">
<ScalarProperty Name="ViewId" ColumnName="ViewId" />
<ScalarProperty Name="UserId" ColumnName="UserId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Team2View">
<EntityTypeMapping TypeName="EnVisageModel.Team2View">
<MappingFragment StoreEntitySet="Team2View">
<ScalarProperty Name="ViewId" ColumnName="ViewId" />
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Views">
<EntityTypeMapping TypeName="EnVisageModel.View">
<MappingFragment StoreEntitySet="View">
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Team2Scenario">
<EntityTypeMapping TypeName="EnVisageModel.Team2Scenario">
<MappingFragment StoreEntitySet="Team2Scenario">
<ScalarProperty Name="Allocation" ColumnName="Allocation" />
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
<ScalarProperty Name="ScenarioId" ColumnName="ScenarioId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="VW_Scenario2Project">
<EntityTypeMapping TypeName="EnVisageModel.VW_Scenario2Project">
<MappingFragment StoreEntitySet="VW_Scenario2Project">
<ScalarProperty Name="ParentProjectColor" ColumnName="ParentProjectColor" />
<ScalarProperty Name="ParentProjectName" ColumnName="ParentProjectName" />
<ScalarProperty Name="ParentProjectId" ColumnName="ParentProjectId" />
<ScalarProperty Name="CostSavings" ColumnName="CostSavings" />
<ScalarProperty Name="GroupId" ColumnName="GroupId" />
<ScalarProperty Name="SystemAttributeObjectID" ColumnName="SystemAttributeObjectID" />
<ScalarProperty Name="Actuals_BUDirectCosts_LM" ColumnName="Actuals_BUDirectCosts_LM" />
<ScalarProperty Name="Actuals_BUDirectCosts" ColumnName="Actuals_BUDirectCosts" />
<ScalarProperty Name="GrowthScenario" ColumnName="GrowthScenario" />
<ScalarProperty Name="EntryTimeStamp" ColumnName="EntryTimeStamp" />
<ScalarProperty Name="ShotStartDate" ColumnName="ShotStartDate" />
<ScalarProperty Name="BURevenueShot_LM" ColumnName="BURevenueShot_LM" />
<ScalarProperty Name="BUDirectCosts_LM" ColumnName="BUDirectCosts_LM" />
<ScalarProperty Name="TDDirectCosts_LM" ColumnName="TDDirectCosts_LM" />
<ScalarProperty Name="CalculatedGrossMargin_LM" ColumnName="CalculatedGrossMargin_LM" />
<ScalarProperty Name="ExpectedGrossMargin_LM" ColumnName="ExpectedGrossMargin_LM" />
<ScalarProperty Name="UseLMMargin" ColumnName="UseLMMargin" />
<ScalarProperty Name="Status" ColumnName="Status" />
<ScalarProperty Name="Color" ColumnName="Color" />
<ScalarProperty Name="StatusId" ColumnName="StatusId" />
<ScalarProperty Name="TypeId" ColumnName="TypeId" />
<ScalarProperty Name="ClientId" ColumnName="ClientId" />
<ScalarProperty Name="CompanyId" ColumnName="CompanyId" />
<ScalarProperty Name="ShowName" ColumnName="ShowName" />
<ScalarProperty Name="ShowObjectID" ColumnName="ShowObjectID" />
<ScalarProperty Name="LastUpdate" ColumnName="LastUpdate" />
<ScalarProperty Name="FreezeRevenue" ColumnName="FreezeRevenue" />
<ScalarProperty Name="BURevenueShot" ColumnName="BURevenueShot" />
<ScalarProperty Name="TDRevenueShot" ColumnName="TDRevenueShot" />
<ScalarProperty Name="Shots" ColumnName="Shots" />
<ScalarProperty Name="BUDirectCosts" ColumnName="BUDirectCosts" />
<ScalarProperty Name="TDDirectCosts" ColumnName="TDDirectCosts" />
<ScalarProperty Name="Probability" ColumnName="Probability" />
<ScalarProperty Name="Priority" ColumnName="Priority" />
<ScalarProperty Name="Duration" ColumnName="Duration" />
<ScalarProperty Name="EndDate" ColumnName="EndDate" />
<ScalarProperty Name="StartDate" ColumnName="StartDate" />
<ScalarProperty Name="EFXSplit" ColumnName="EFXSplit" />
<ScalarProperty Name="CGSplit" ColumnName="CGSplit" />
<ScalarProperty Name="CalculatedGrossMargin" ColumnName="CalculatedGrossMargin" />
<ScalarProperty Name="ExpectedGrossMargin" ColumnName="ExpectedGrossMargin" />
<ScalarProperty Name="ProjectedRevenue" ColumnName="ProjectedRevenue" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Type" ColumnName="Type" />
<ScalarProperty Name="TemplateId" ColumnName="TemplateId" />
<ScalarProperty Name="ParentId" ColumnName="ParentId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TemplateGroups">
<EntityTypeMapping TypeName="EnVisageModel.TemplateGroup">
<MappingFragment StoreEntitySet="TemplateGroup">
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Template2TemplateGroup">
<EntityTypeMapping TypeName="EnVisageModel.Template2TemplateGroup">
<MappingFragment StoreEntitySet="Template2TemplateGroup">
<ScalarProperty Name="TemplateGroupId" ColumnName="TemplateGroupId" />
<ScalarProperty Name="TemplateId" ColumnName="TemplateId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Teams">
<EntityTypeMapping TypeName="EnVisageModel.Team">
<MappingFragment StoreEntitySet="Team">
<ScalarProperty Name="ActualCapacityScenarioId" ColumnName="ActualCapacityScenarioId" />
<ScalarProperty Name="PlannedCapacityScenarioId" ColumnName="PlannedCapacityScenarioId" />
<ScalarProperty Name="ReportsTo" ColumnName="ReportsTo" />
<ScalarProperty Name="CostCenterId" ColumnName="CostCenterId" />
<ScalarProperty Name="CompanyId" ColumnName="CompanyId" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="VW_ProjectAccess">
<EntityTypeMapping TypeName="EnVisageModel.VW_ProjectAccess">
<MappingFragment StoreEntitySet="VW_ProjectAccess">
<ScalarProperty Name="Write" ColumnName="Write" />
<ScalarProperty Name="Read" ColumnName="Read" />
<ScalarProperty Name="ProjectId" ColumnName="ProjectId" />
<ScalarProperty Name="UserId" ColumnName="UserId" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TeamAllocations">
<EntityTypeMapping TypeName="EnVisageModel.TeamAllocation">
<MappingFragment StoreEntitySet="TeamAllocation">
<ScalarProperty Name="LastUpdate" ColumnName="LastUpdate" />
<ScalarProperty Name="Quantity" ColumnName="Quantity" />
<ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
<ScalarProperty Name="ScenarioId" ColumnName="ScenarioId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="VW_ScenarioPerformance">
<EntityTypeMapping TypeName="EnVisageModel.VW_ScenarioPerformance">
<MappingFragment StoreEntitySet="VW_ScenarioPerformance">
<ScalarProperty Name="VariationPercent" ColumnName="VariationPercent" />
<ScalarProperty Name="ActualsTotalCost" ColumnName="ActualsTotalCost" />
<ScalarProperty Name="ForecastTotalCost" ColumnName="ForecastTotalCost" />
<ScalarProperty Name="ForecastScenarioType" ColumnName="ForecastScenarioType" />
<ScalarProperty Name="ActualsScenarioId" ColumnName="ActualsScenarioId" />
<ScalarProperty Name="ForecastScenarioId" ColumnName="ForecastScenarioId" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="AspNetUsers">
<EntityTypeMapping TypeName="EnVisageModel.AspNetUser">
<MappingFragment StoreEntitySet="AspNetUsers">
<ScalarProperty Name="LastName" ColumnName="LastName" />
<ScalarProperty Name="FirstName" ColumnName="FirstName" />
<ScalarProperty Name="PreferredTotalsDisplaying" ColumnName="PreferredTotalsDisplaying" />
<ScalarProperty Name="PreferredResourceAllocation" ColumnName="PreferredResourceAllocation" />
<ScalarProperty Name="Type" ColumnName="Type" />
<ScalarProperty Name="Phone" ColumnName="Phone" />
<ScalarProperty Name="Email" ColumnName="Email" />
<ScalarProperty Name="Discriminator" ColumnName="Discriminator" />
<ScalarProperty Name="SecurityStamp" ColumnName="SecurityStamp" />
<ScalarProperty Name="PasswordHash" ColumnName="PasswordHash" />
<ScalarProperty Name="UserName" ColumnName="UserName" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<AssociationSetMapping Name="AspNetUserRoles" TypeName="EnVisageModel.AspNetUserRoles" StoreEntitySet="AspNetUserRoles">
<EndProperty Name="AspNetUser">
<ScalarProperty Name="Id" ColumnName="UserId" />
</EndProperty>
<EndProperty Name="AspNetRole">
<ScalarProperty Name="Id" ColumnName="RoleId" />
</EndProperty>
</AssociationSetMapping>
<EntitySetMapping Name="UserPreferences">
<EntityTypeMapping TypeName="EnVisageModel.UserPreference">
<MappingFragment StoreEntitySet="UserPreferences">
<ScalarProperty Name="Section" ColumnName="Section" />
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="Data" ColumnName="Data" />
<ScalarProperty Name="Url" ColumnName="Url" />
<ScalarProperty Name="UserId" ColumnName="UserId" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Projects">
<EntityTypeMapping TypeName="EnVisageModel.Project">
<MappingFragment StoreEntitySet="Project">
<ScalarProperty Name="DateEdited" ColumnName="DateEdited" />
<ScalarProperty Name="PartNum" ColumnName="PartNum" />
<ScalarProperty Name="PerformanceYellowThreshold" ColumnName="PerformanceYellowThreshold" />
<ScalarProperty Name="PerformanceRedThreshold" ColumnName="PerformanceRedThreshold" />
<ScalarProperty Name="HasChildren" ColumnName="HasChildren" />
<ScalarProperty Name="ParentProjectId" ColumnName="ParentProjectId" />
<ScalarProperty Name="Deadline" ColumnName="Deadline" />
<ScalarProperty Name="IsRevenueGenerating" ColumnName="IsRevenueGenerating" />
<ScalarProperty Name="Probability" ColumnName="Probability" />
<ScalarProperty Name="Priority" ColumnName="Priority" />
<ScalarProperty Name="Details" ColumnName="Details" />
<ScalarProperty Name="Color" ColumnName="Color" />
<ScalarProperty Name="ProjectNumber" ColumnName="ProjectNumber" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="StatusId" ColumnName="StatusId" />
<ScalarProperty Name="TypeId" ColumnName="TypeId" />
<ScalarProperty Name="ClientId" ColumnName="ClientId" />
<ScalarProperty Name="CompanyId" ColumnName="CompanyId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Types">
<EntityTypeMapping TypeName="EnVisageModel.Type">
<MappingFragment StoreEntitySet="Type">
<ScalarProperty Name="PerformanceYellowThreshold" ColumnName="PerformanceYellowThreshold" />
<ScalarProperty Name="PerformanceRedThreshold" ColumnName="PerformanceRedThreshold" />
<ScalarProperty Name="IsSystem" ColumnName="IsSystem" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="VW_ProjectAccessByUser">
<EntityTypeMapping TypeName="EnVisageModel.VW_ProjectAccessByUser">
<MappingFragment StoreEntitySet="VW_ProjectAccessByUser">
<ScalarProperty Name="DateEdited" ColumnName="DateEdited" />
<ScalarProperty Name="Teams" ColumnName="Teams" />
<ScalarProperty Name="Write" ColumnName="Write" />
<ScalarProperty Name="Read" ColumnName="Read" />
<ScalarProperty Name="ActiveScenarioName" ColumnName="ActiveScenarioName" />
<ScalarProperty Name="ActiveScenarioId" ColumnName="ActiveScenarioId" />
<ScalarProperty Name="TypeName" ColumnName="TypeName" />
<ScalarProperty Name="ClientName" ColumnName="ClientName" />
<ScalarProperty Name="CompanyName" ColumnName="CompanyName" />
<ScalarProperty Name="StatusName" ColumnName="StatusName" />
<ScalarProperty Name="UserId" ColumnName="UserId" />
<ScalarProperty Name="PartNum" ColumnName="PartNum" />
<ScalarProperty Name="PerformanceYellowThreshold" ColumnName="PerformanceYellowThreshold" />
<ScalarProperty Name="PerformanceRedThreshold" ColumnName="PerformanceRedThreshold" />
<ScalarProperty Name="HasChildren" ColumnName="HasChildren" />
<ScalarProperty Name="ParentProjectId" ColumnName="ParentProjectId" />
<ScalarProperty Name="Deadline" ColumnName="Deadline" />
<ScalarProperty Name="IsRevenueGenerating" ColumnName="IsRevenueGenerating" />
<ScalarProperty Name="Probability" ColumnName="Probability" />
<ScalarProperty Name="Priority" ColumnName="Priority" />
<ScalarProperty Name="Details" ColumnName="Details" />
<ScalarProperty Name="Color" ColumnName="Color" />
<ScalarProperty Name="ProjectNumber" ColumnName="ProjectNumber" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="StatusId" ColumnName="StatusId" />
<ScalarProperty Name="TypeId" ColumnName="TypeId" />
<ScalarProperty Name="ClientId" ColumnName="ClientId" />
<ScalarProperty Name="CompanyId" ColumnName="CompanyId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="VW_ExpenditureCategory">
<EntityTypeMapping TypeName="EnVisageModel.VW_ExpenditureCategory">
<MappingFragment StoreEntitySet="VW_ExpenditureCategory">
<ScalarProperty Name="ExpCategoryWithCcName" ColumnName="ExpCategoryWithCcName" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="SystemAttributeTwo" ColumnName="SystemAttributeTwo" />
<ScalarProperty Name="SystemAttributeOne" ColumnName="SystemAttributeOne" />
<ScalarProperty Name="WksSubjectToFee" ColumnName="WksSubjectToFee" />
<ScalarProperty Name="SortOrder" ColumnName="SortOrder" />
<ScalarProperty Name="CGEFX" ColumnName="CGEFX" />
<ScalarProperty Name="UseType" ColumnName="UseType" />
<ScalarProperty Name="Type" ColumnName="Type" />
<ScalarProperty Name="CreditId" ColumnName="CreditId" />
<ScalarProperty Name="UOMId" ColumnName="UOMId" />
<ScalarProperty Name="GLId" ColumnName="GLId" />
<ScalarProperty Name="ExpenditureId" ColumnName="ExpenditureId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="BLL_Objects">
<EntityTypeMapping TypeName="IsTypeOf(EnVisageModel.BLL_Objects)">
<MappingFragment StoreEntitySet="BLL_Objects">
<ScalarProperty Name="EntityName" ColumnName="EntityName" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="supt_tbl_ProjectIds">
<EntityTypeMapping TypeName="EnVisageModel.supt_tbl_ProjectIds">
<MappingFragment StoreEntitySet="supt_tbl_ProjectIds">
<ScalarProperty Name="isTask" ColumnName="isTask" />
<ScalarProperty Name="ProjectValue" ColumnName="ProjectValue" />
<ScalarProperty Name="ParentId" ColumnName="ParentId" />
<ScalarProperty Name="ProjectID" ColumnName="ProjectID" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="supt_tbl_RecParser">
<EntityTypeMapping TypeName="EnVisageModel.supt_tbl_RecParser">
<MappingFragment StoreEntitySet="supt_tbl_RecParser">
<ScalarProperty Name="ForeignKey" ColumnName="ForeignKey" />
<ScalarProperty Name="TableOrder" ColumnName="TableOrder" />
<ScalarProperty Name="DBFieldFormat" ColumnName="DBFieldFormat" />
<ScalarProperty Name="Overlay" ColumnName="Overlay" />
<ScalarProperty Name="AdditionalFormat" ColumnName="AdditionalFormat" />
<ScalarProperty Name="Delimitor" ColumnName="Delimitor" />
<ScalarProperty Name="isDelimited" ColumnName="isDelimited" />
<ScalarProperty Name="index" ColumnName="index" />
<ScalarProperty Name="Length" ColumnName="Length" />
<ScalarProperty Name="StartPos" ColumnName="StartPos" />
<ScalarProperty Name="ToField" ColumnName="ToField" />
<ScalarProperty Name="ToName" ColumnName="ToName" />
<ScalarProperty Name="ToType" ColumnName="ToType" />
<ScalarProperty Name="ProcessID" ColumnName="ProcessID" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Attachments">
<EntityTypeMapping TypeName="EnVisageModel.Attachment">
<MappingFragment StoreEntitySet="Attachments">
<ScalarProperty Name="Created" ColumnName="Created" />
<ScalarProperty Name="FileSize" ColumnName="FileSize" />
<ScalarProperty Name="ContentType" ColumnName="ContentType" />
<ScalarProperty Name="FileName" ColumnName="FileName" />
<ScalarProperty Name="SourceFileName" ColumnName="SourceFileName" />
<ScalarProperty Name="ParentType" ColumnName="ParentType" />
<ScalarProperty Name="ParentId" ColumnName="ParentId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="VW_ProjectPerformance">
<EntityTypeMapping TypeName="EnVisageModel.VW_ProjectPerformance">
<MappingFragment StoreEntitySet="VW_ProjectPerformance">
<ScalarProperty Name="ScenarioGroupId" ColumnName="ScenarioGroupId" />
<ScalarProperty Name="FiscalPeriodId" ColumnName="FiscalPeriodId" />
<ScalarProperty Name="ProjectWeight" ColumnName="ProjectWeight" />
<ScalarProperty Name="ActualsCostVariation" ColumnName="ActualsCostVariation" />
<ScalarProperty Name="ActualsCostForecasted" ColumnName="ActualsCostForecasted" />
<ScalarProperty Name="ProjectPriority" ColumnName="ProjectPriority" />
<ScalarProperty Name="ProjectTypeName" ColumnName="ProjectTypeName" />
<ScalarProperty Name="ProjectTypeId" ColumnName="ProjectTypeId" />
<ScalarProperty Name="ScenarioEndDate" ColumnName="ScenarioEndDate" />
<ScalarProperty Name="BUDirectCosts" ColumnName="BUDirectCosts" />
<ScalarProperty Name="Status" ColumnName="Status" />
<ScalarProperty Name="ProjectName" ColumnName="ProjectName" />
<ScalarProperty Name="ProjectId" ColumnName="ProjectId" />
<ScalarProperty Name="VariationPercent" ColumnName="VariationPercent" />
<ScalarProperty Name="ActualsTotalCost" ColumnName="ActualsTotalCost" />
<ScalarProperty Name="ForecastTotalCost" ColumnName="ForecastTotalCost" />
<ScalarProperty Name="ForecastScenarioType" ColumnName="ForecastScenarioType" />
<ScalarProperty Name="ActualsScenarioId" ColumnName="ActualsScenarioId" />
<ScalarProperty Name="ForecastScenarioId" ColumnName="ForecastScenarioId" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="UserQuickLinks">
<EntityTypeMapping TypeName="EnVisageModel.UserQuickLink">
<MappingFragment StoreEntitySet="UserQuickLink">
<ScalarProperty Name="PageState" ColumnName="PageState" />
<ScalarProperty Name="Url" ColumnName="Url" />
<ScalarProperty Name="UserId" ColumnName="UserId" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="StrategicGoals">
<EntityTypeMapping TypeName="EnVisageModel.StrategicGoal">
<MappingFragment StoreEntitySet="StrategicGoal">
<ScalarProperty Name="Color" ColumnName="Color" />
<ScalarProperty Name="EndDate" ColumnName="EndDate" />
<ScalarProperty Name="StartDate" ColumnName="StartDate" />
<ScalarProperty Name="Description" ColumnName="Description" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="StrategicGoal2Company">
<EntityTypeMapping TypeName="EnVisageModel.StrategicGoal2Company">
<MappingFragment StoreEntitySet="StrategicGoal2Company">
<ScalarProperty Name="CompanyId" ColumnName="CompanyId" />
<ScalarProperty Name="StrategicGoalId" ColumnName="StrategicGoalId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="StrategicGoal2Project">
<EntityTypeMapping TypeName="EnVisageModel.StrategicGoal2Project">
<MappingFragment StoreEntitySet="StrategicGoal2Project">
<ScalarProperty Name="StrategicGoalId" ColumnName="StrategicGoalId" />
<ScalarProperty Name="ProjectId" ColumnName="ProjectId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="CostSavings">
<EntityTypeMapping TypeName="EnVisageModel.CostSaving">
<MappingFragment StoreEntitySet="CostSaving">
<ScalarProperty Name="Cost" ColumnName="Cost" />
<ScalarProperty Name="Month" ColumnName="Month" />
<ScalarProperty Name="Year" ColumnName="Year" />
<ScalarProperty Name="ScenarioId" ColumnName="ScenarioId" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="supt_tbl_MongoDBBackup">
<EntityTypeMapping TypeName="EnVisageModel.supt_tbl_MongoDBBackup">
<MappingFragment StoreEntitySet="supt_tbl_MongoDBBackup">
<ScalarProperty Name="CollectionName" ColumnName="CollectionName" />
<ScalarProperty Name="BackupData" ColumnName="BackupData" />
<ScalarProperty Name="BackupedBy" ColumnName="BackupedBy" />
<ScalarProperty Name="BackupDate" ColumnName="BackupDate" />
<ScalarProperty Name="id" ColumnName="id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="GLAccountClientsCounts">
<EntityTypeMapping TypeName="EnVisageModel.GLAccountClientsCount">
<MappingFragment StoreEntitySet="GLAccountClientsCount">
<ScalarProperty Name="ClientCount" ColumnName="ClientCount" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="GLAccountExpCatsCounts">
<EntityTypeMapping TypeName="EnVisageModel.GLAccountExpCatsCount">
<MappingFragment StoreEntitySet="GLAccountExpCatsCount">
<ScalarProperty Name="ExpCatCount" ColumnName="ExpCatCount" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="FiscalCalendarSettings">
<EntityTypeMapping TypeName="EnVisageModel.FiscalCalendarSetting">
<MappingFragment StoreEntitySet="FiscalCalendarSettings">
<ScalarProperty Name="EffectiveChangeDate" ColumnName="EffectiveChangeDate" />
<ScalarProperty Name="CreatedAt" ColumnName="CreatedAt" />
<ScalarProperty Name="UseAdjustingPeriod" ColumnName="UseAdjustingPeriod" />
<ScalarProperty Name="YearType" ColumnName="YearType" />
<ScalarProperty Name="WeekendingDay" ColumnName="WeekendingDay" />
<ScalarProperty Name="StartingPoint" ColumnName="StartingPoint" />
<ScalarProperty Name="CalendarType" ColumnName="CalendarType" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
</EntityContainerMapping>
</Mapping>
</edmx:Mappings>
</edmx:Runtime>
<!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
<edmx:Designer>
<edmx:Connection>
<edmx:DesignerInfoPropertySet>
<edmx:DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
</edmx:DesignerInfoPropertySet>
</edmx:Connection>
<edmx:Options>
<edmx:DesignerInfoPropertySet>
<edmx:DesignerProperty Name="ValidateOnBuild" Value="true" />
<edmx:DesignerProperty Name="EnablePluralization" Value="true" />
<edmx:DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
<edmx:DesignerProperty Name="UseLegacyProvider" Value="false" />
<edmx:DesignerProperty Name="CodeGenerationStrategy" Value="None" />
</edmx:DesignerInfoPropertySet>
</edmx:Options>
<!-- Diagram content (shape and connector positions) -->
<edmx:Diagrams />
</edmx:Designer>
</edmx:Edmx>