10109 lines
602 KiB
XML
10109 lines
602 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="2012" 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="AspNetUserClaims">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
<Property Name="ClaimType" Type="nvarchar" MaxLength="4000" />
|
|
<Property Name="ClaimValue" Type="nvarchar" MaxLength="4000" />
|
|
<Property Name="UserId" Type="nvarchar" MaxLength="128" Nullable="false" />
|
|
</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="PhoneNumber" 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" />
|
|
<Property Name="LastLoginDate" Type="datetime" />
|
|
<Property Name="LoginDate" Type="datetime" />
|
|
<Property Name="OverUnderCoefficient" Type="decimal" Precision="6" Scale="4" Nullable="false" />
|
|
<Property Name="ShowAutomaticViews" Type="bit" Nullable="false" />
|
|
<Property Name="EmailConfirmed" Type="bit" Nullable="false" />
|
|
<Property Name="PhoneNumberConfirmed" Type="bit" Nullable="false" />
|
|
<Property Name="TwoFactorEnabled" Type="bit" Nullable="false" />
|
|
<Property Name="LockoutEndDateUtc" Type="datetime" />
|
|
<Property Name="LockoutEnabled" Type="bit" Nullable="false" />
|
|
<Property Name="AccessFailedCount" Type="int" Nullable="false" />
|
|
</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" />
|
|
<Property Name="Link" Type="nvarchar" MaxLength="400" />
|
|
</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" Nullable="false" />
|
|
</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="EmailRouting">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Message" Type="nvarchar(max)" Nullable="false" />
|
|
<Property Name="Status" Type="int" Nullable="false" />
|
|
<Property Name="SubmitDate" Type="datetime" Nullable="false" />
|
|
<Property Name="SubmittedBy" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="DateSent" Type="datetime" />
|
|
</EntityType>
|
|
<EntityType Name="EmailTemplates">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="TemplateId" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="Template" Type="nvarchar(max)" Nullable="false" />
|
|
<Property Name="ProcessType" Type="int" Nullable="false" />
|
|
<Property Name="isDefault" Type="bit" Nullable="false" />
|
|
<Property Name="isActive" Type="bit" Nullable="false" />
|
|
<Property Name="CreatedBy" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="DateCreated" Type="datetime" Nullable="false" />
|
|
<Property Name="DateUpdated" Type="datetime" />
|
|
<Property Name="UpdatedBy" Type="uniqueidentifier" />
|
|
</EntityType>
|
|
<EntityType Name="Expenditure">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Name" Type="nvarchar" MaxLength="800" />
|
|
<Property Name="jobcode" Type="nvarchar" MaxLength="25" />
|
|
</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" />
|
|
<Property Name="AllowResourceAssignment" Type="bit" 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="datetime" Nullable="false" />
|
|
<Property Name="ModifiedBy" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="EntityType" Type="nvarchar" MaxLength="200" />
|
|
<Property Name="ModificationType" Type="nvarchar" MaxLength="40" />
|
|
<Property Name="Version" Type="smallint" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="Holiday">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Name" Type="nvarchar" MaxLength="2040" />
|
|
<Property Name="WorkingDays" Type="bit" Nullable="false" />
|
|
<Property Name="HolidayGroupId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="EffectiveChangeDate" Type="datetime" Nullable="false" />
|
|
<Property Name="CreatedAt" Type="datetime" Nullable="false" />
|
|
<Property Name="Options" Type="nvarchar(max)" />
|
|
<Property Name="StartDate" Type="datetime" Nullable="false" />
|
|
<Property Name="EndDate" Type="datetime" />
|
|
<Property Name="CompanyImpact" Type="bit" Nullable="false" />
|
|
<Property Name="IsInclude" Type="bit" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="Holiday2ExpenditureCategory">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="HolidayId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ExpenditureCategoryId" Type="uniqueidentifier" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="Holiday2PeopleResource">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="HolidayId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ResourceId" Type="uniqueidentifier" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="Holiday2Team">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="HolidayId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="TeamId" Type="uniqueidentifier" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="HolidayAllocation">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="HolidayId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="HolidayGroupId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="WeekEndingDate" Type="datetime" Nullable="false" />
|
|
<Property Name="Monday" Type="bit" Nullable="false" />
|
|
<Property Name="Tuesday" Type="bit" Nullable="false" />
|
|
<Property Name="Wednesday" Type="bit" Nullable="false" />
|
|
<Property Name="Thursday" Type="bit" Nullable="false" />
|
|
<Property Name="Friday" Type="bit" Nullable="false" />
|
|
<Property Name="Saturday" Type="bit" Nullable="false" />
|
|
<Property Name="Sunday" Type="bit" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="Integration2Prevu">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="ClientInfoId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="EntityName" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="FieldName" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="FieldType" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="PrevuName" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="PrevuEntityName" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="TriggerType" Type="nchar" MaxLength="10" Nullable="false" />
|
|
<Property Name="DefaultValue" Type="nvarchar" MaxLength="100" />
|
|
</EntityType>
|
|
<EntityType Name="IntegrationConnectionInfo">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="ClientInfoId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Url" Type="nvarchar(max)" Nullable="false" />
|
|
<Property Name="UserId" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="Password" Type="nvarchar" MaxLength="200" Nullable="false" />
|
|
<Property Name="AccessClass" Type="nvarchar" MaxLength="200" Nullable="false" />
|
|
<Property Name="Type" Type="int" Nullable="false" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.MenuNavigation' 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="MenuNavigation">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="Display" />
|
|
<PropertyRef Name="Link" />
|
|
<PropertyRef Name="Value" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Display" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="Link" Type="nvarchar" MaxLength="200" Nullable="false" />
|
|
<Property Name="Value" Type="int" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="NonProjectTime">
|
|
<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" />
|
|
<Property Name="NonProjectTimeCategoryId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Cost" Type="decimal" Precision="15" Scale="4" Nullable="false" />
|
|
<Property Name="Details" Type="nvarchar" MaxLength="500" />
|
|
<Property Name="Permanent" Type="bit" Nullable="false" />
|
|
<Property Name="IsPercentsMode" Type="bit" Nullable="false" />
|
|
<Property Name="IsTeamMode" Type="bit" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="NonProjectTime2Resource">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="NonProjectTimeId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="PeopleResourceId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Position" Type="int" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="NonProjectTime2Team">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="NonProjectTimeId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="TeamId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Position" Type="int" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="NonProjectTimeCategory">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Name" Type="nvarchar" MaxLength="255" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="NonProjectTimeResourceAllocation">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="WeekEndingDate" Type="datetime" Nullable="false" />
|
|
<Property Name="HoursOff" Type="int" Nullable="false" />
|
|
<Property Name="NonProjectTime2ResourceId" Type="uniqueidentifier" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="NonProjectTimeTeamAllocation">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="WeekEndingDate" Type="datetime" Nullable="false" />
|
|
<Property Name="HoursOff" Type="int" Nullable="false" />
|
|
<Property Name="NonProjectTime2TeamId" Type="uniqueidentifier" 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" />
|
|
<Property Name="NoteType" Type="int" />
|
|
</EntityType>
|
|
<EntityType Name="Notification">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ParentId" Type="uniqueidentifier" />
|
|
<Property Name="Description" Type="nvarchar" MaxLength="200" Nullable="false" />
|
|
<Property Name="Title" Type="nvarchar" MaxLength="200" Nullable="false" />
|
|
<Property Name="Link" Type="nvarchar(max)" />
|
|
<Property Name="NotificationGroup" Type="int" Nullable="false" />
|
|
<Property Name="NotificationType" Type="int" Nullable="false" />
|
|
<Property Name="NotificationDate" Type="datetime" Nullable="false" />
|
|
<Property Name="NotificationViewed" Type="bit" Nullable="false" />
|
|
<Property Name="IdinLink" Type="uniqueidentifier" />
|
|
<Property Name="WorkFlowState" Type="nvarchar" MaxLength="50" />
|
|
<Property Name="WorkFlowLinkName" Type="nvarchar" MaxLength="200" />
|
|
<Property Name="WorkFlowEntityName" Type="nvarchar" MaxLength="50" />
|
|
<Property Name="DeleteOnPageView" Type="bit" />
|
|
<Property Name="ExpiresOnDate" Type="datetime" />
|
|
</EntityType>
|
|
<EntityType Name="NotificationControl">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="NotificationType" Type="int" Nullable="false" />
|
|
<Property Name="HowtoSend" Type="int" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="NotificationToWorkFlowState">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="State" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="WorkFlowContactId" Type="uniqueidentifier" Nullable="false" />
|
|
</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="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" />
|
|
<Property Name="Email" Type="nvarchar" MaxLength="320" />
|
|
<Property Name="WorkWeekId" Type="uniqueidentifier" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="PeopleResource2Team">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="PeopleResourceId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="TeamId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="StartDate" Type="date" Nullable="false" />
|
|
<Property Name="EndDate" Type="date" />
|
|
<Property Name="Allocation" Type="smallint" Nullable="false" />
|
|
<Property Name="DateCreated" Type="datetime" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="PeopleResourceActuals">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="PeopleResourceId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ParentId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Quantity" Type="decimal" Precision="18" Scale="6" Nullable="false" />
|
|
<Property Name="Cost" Type="decimal" Precision="15" Scale="4" Nullable="false" />
|
|
<Property Name="RowCreateDate" Type="datetime" Nullable="false" />
|
|
</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" Nullable="false" />
|
|
<Property Name="Quantity" Type="decimal" Precision="18" Scale="6" Nullable="false" />
|
|
<Property Name="TeamId" Type="uniqueidentifier" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="PeopleResourceExpCatChange">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="PeopleResourceId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="OldExpenditureCategoryId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="NewExpenditureCategoryId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="DateOfChange" Type="datetime" 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" />
|
|
</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="decimal" Precision="5" Scale="2" 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="EditTimestamp" 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="ProjectDependency">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="SourceProjectId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="TargetProjectId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Type" Type="smallint" 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="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" />
|
|
<Property Name="EditTimestamp" Type="timestamp" StoreGeneratedPattern="Computed" Nullable="false" />
|
|
<Property Name="DateCreated" Type="datetime" />
|
|
<Property Name="IsBottomUp" Type="bit" Nullable="false" />
|
|
</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="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="Skill">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="DateCreated" Type="datetime" Nullable="false" />
|
|
<Property Name="Name" Type="nvarchar" MaxLength="512" Nullable="false" />
|
|
<Property Name="EditTimestamp" Type="timestamp" StoreGeneratedPattern="Computed" Nullable="false" />
|
|
<Property Name="ParentId" Type="uniqueidentifier" />
|
|
<Property Name="HasChildren" Type="bit" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="Skill2Resource">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Type" Type="smallint" Nullable="false" />
|
|
<Property Name="EffectiveDate" Type="datetime" Nullable="false" />
|
|
<Property Name="SkillId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ResourceId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Level" Type="smallint" />
|
|
<Property Name="Interested" Type="bit" Nullable="false" />
|
|
<Property Name="DateCreated" Type="datetime" 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" />
|
|
<Property Name="NotifyOnProjectChange" Type="bit" />
|
|
<Property Name="WorkFlowSchemaId" Type="nvarchar" MaxLength="50" />
|
|
<Property Name="WorkFlowState" Type="nvarchar" MaxLength="50" />
|
|
<Property Name="NotifyOnProjectCreate" Type="bit" />
|
|
<Property Name="NotifyOnProjectDelete" Type="bit" />
|
|
<Property Name="ResetScenariosToInactive" Type="bit" />
|
|
</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_ImportMessages">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="GroupID" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="MessageType" Type="int" Nullable="false" />
|
|
<Property Name="ProcessID" Type="nvarchar" MaxLength="100" Nullable="false" />
|
|
<Property Name="RecordNbr" Type="int" Nullable="false" />
|
|
<Property Name="Message" Type="nvarchar" MaxLength="1500" Nullable="false" />
|
|
<Property Name="DateTimeProcessed" Type="datetime" 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="Tag">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="TagType" Type="int" Nullable="false" />
|
|
<Property Name="TagName" Type="nvarchar" MaxLength="100" Nullable="false" />
|
|
<Property Name="TagColor" Type="nvarchar" MaxLength="128" />
|
|
<Property Name="timestamp" Type="timestamp" StoreGeneratedPattern="Computed" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="TagGroup">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="TagGroupName" Type="nvarchar" MaxLength="100" Nullable="false" />
|
|
<Property Name="TagGroupColor" Type="nvarchar" MaxLength="128" />
|
|
<Property Name="EditTimestamp" Type="timestamp" StoreGeneratedPattern="Computed" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="TagLink">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="TagID" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="TagGroupID" Type="uniqueidentifier" />
|
|
<Property Name="ParentID" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="TagLinkType" Type="int" Nullable="false" />
|
|
<Property Name="timestamp" Type="timestamp" StoreGeneratedPattern="Computed" Nullable="false" />
|
|
</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" />
|
|
<Property Name="ProjectAddNotification" Type="bit" />
|
|
</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="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" />
|
|
</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="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" />
|
|
<Property Name="WorkFlowScheme" Type="nvarchar" MaxLength="50" />
|
|
<Property Name="NotifyOnProjectCreate" Type="bit" />
|
|
<Property Name="NotifyOnProjectDelete" Type="bit" />
|
|
<Property Name="NotifyOnProjectChange" Type="bit" />
|
|
</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>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.Type2WorkFlowScheme' 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="Type2WorkFlowScheme">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="ProjectTypeId" />
|
|
<PropertyRef Name="WorkFlowSchemeId" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ProjectTypeId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="WorkFlowSchemeId" 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="User2Company">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="UserId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="CompanyId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="RelationType" Type="int" 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="User2WorkFlowRole">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="RoleId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="UserId" Type="nvarchar" MaxLength="128" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="UserDefinedField">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="DomainId" Type="int" Nullable="false" />
|
|
<Property Name="CreatorId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Type" Type="int" Nullable="false" />
|
|
<Property Name="Status" Type="bit" Nullable="false" />
|
|
<Property Name="Required" Type="bit" Nullable="false" />
|
|
<Property Name="LastUpdate" Type="datetime" Nullable="false" />
|
|
<Property Name="ModifiedById" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Name" Type="nvarchar" MaxLength="100" Nullable="false" />
|
|
<Property Name="Description" Type="nvarchar" MaxLength="500" />
|
|
<Property Name="Label" Type="nvarchar" MaxLength="500" Nullable="false" />
|
|
<Property Name="SortOrder" Type="int" Nullable="false" />
|
|
<Property Name="DefaultValue" Type="nvarchar" MaxLength="2000" />
|
|
</EntityType>
|
|
<EntityType Name="UserDefinedValue">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="CreatorId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="UserDefinedFieldId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ParentId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="EntryTimeStamp" Type="datetime" Nullable="false" />
|
|
<Property Name="LastUpdate" Type="datetime" Nullable="false" />
|
|
<Property Name="ModifiedById" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Status" Type="bit" Nullable="false" />
|
|
<Property Name="Value" Type="nvarchar" MaxLength="2000" />
|
|
</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" />
|
|
</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>
|
|
<EntityType Name="WorkFlowContacts">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="PartentId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ContactId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ContactType" Type="int" Nullable="false" />
|
|
<Property Name="NotificationType" Type="int" />
|
|
</EntityType>
|
|
<EntityType Name="WorkFlowEmailStore">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Who" Type="nvarchar" MaxLength="200" Nullable="false" />
|
|
<Property Name="subject" Type="nvarchar" MaxLength="200" Nullable="false" />
|
|
<Property Name="Body" Type="nvarchar(max)" Nullable="false" />
|
|
<Property Name="DateTimeCreated" Type="datetime" Nullable="false" />
|
|
<Property Name="Sent" Type="bit" Nullable="false" />
|
|
<Property Name="WorkFlowState" Type="nvarchar" MaxLength="100" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="WorkFlowEmailStoreLinks">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="WorkFlowEmailStoreId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Link" Type="nvarchar" MaxLength="500" Nullable="false" />
|
|
<Property Name="LinkText" Type="nvarchar" MaxLength="500" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="WorkflowGlobalParameter">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Type" Type="nvarchar(max)" Nullable="false" />
|
|
<Property Name="Name" Type="nvarchar(max)" Nullable="false" />
|
|
<Property Name="Value" Type="nvarchar(max)" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="WorkflowInbox">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ProcessId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="IdentityId" Type="uniqueidentifier" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="WorkFlowParallelApprovals">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ProcessId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="UserId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="StepName" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="Approved" Type="bit" />
|
|
<Property Name="DateApproved" Type="datetime" />
|
|
<Property Name="IsActive" Type="bit" Nullable="false" />
|
|
<Property Name="GroupId" Type="uniqueidentifier" />
|
|
</EntityType>
|
|
<EntityType Name="WorkflowProcessInstance">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="StateName" Type="nvarchar(max)" />
|
|
<Property Name="ActivityName" Type="nvarchar(max)" Nullable="false" />
|
|
<Property Name="SchemeId" Type="uniqueidentifier" />
|
|
<Property Name="PreviousState" Type="nvarchar(max)" />
|
|
<Property Name="PreviousStateForDirect" Type="nvarchar(max)" />
|
|
<Property Name="PreviousStateForReverse" Type="nvarchar(max)" />
|
|
<Property Name="PreviousActivity" Type="nvarchar(max)" />
|
|
<Property Name="PreviousActivityForDirect" Type="nvarchar(max)" />
|
|
<Property Name="PreviousActivityForReverse" Type="nvarchar(max)" />
|
|
<Property Name="ParentProcessId" Type="uniqueidentifier" />
|
|
<Property Name="RootProcessId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="IsDeterminingParametersChanged" Type="bit" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="WorkflowProcessInstancePersistence">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ProcessId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ParameterName" Type="nvarchar(max)" Nullable="false" />
|
|
<Property Name="Value" Type="ntext" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="WorkflowProcessInstanceStatus">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Status" Type="tinyint" Nullable="false" />
|
|
<Property Name="Lock" Type="uniqueidentifier" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="WorkflowProcessScheme">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Scheme" Type="ntext" Nullable="false" />
|
|
<Property Name="DefiningParameters" Type="ntext" Nullable="false" />
|
|
<Property Name="DefiningParametersHash" Type="nvarchar" MaxLength="1024" Nullable="false" />
|
|
<Property Name="SchemeCode" Type="nvarchar(max)" Nullable="false" />
|
|
<Property Name="IsObsolete" Type="bit" Nullable="false" />
|
|
<Property Name="RootSchemeCode" Type="nvarchar(max)" />
|
|
<Property Name="RootSchemeId" Type="uniqueidentifier" />
|
|
<Property Name="AllowedActivities" Type="nvarchar(max)" />
|
|
<Property Name="StartingTransition" Type="nvarchar(max)" />
|
|
</EntityType>
|
|
<EntityType Name="WorkflowProcessTimer">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ProcessId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Name" Type="nvarchar(max)" Nullable="false" />
|
|
<Property Name="NextExecutionDateTime" Type="datetime" Nullable="false" />
|
|
<Property Name="Ignore" Type="bit" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="WorkFlowRoles">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="RoleName" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="WorkflowScheme">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Name" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="Code" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="ProcessType" Type="int" Nullable="false" />
|
|
<Property Name="isDefault" Type="bit" Nullable="false" />
|
|
<Property Name="CreatedBy" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="DateCreated" Type="datetime" Nullable="false" />
|
|
<Property Name="UpdatedBy" Type="uniqueidentifier" />
|
|
<Property Name="UpdateDate" Type="datetime" />
|
|
<Property Name="isActive" Type="bit" Nullable="false" />
|
|
<Property Name="Scheme" Type="nvarchar(max)" />
|
|
<Property Name="isTemplate" Type="bit" />
|
|
</EntityType>
|
|
<EntityType Name="WorkWeek">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Name" Type="nvarchar" MaxLength="200" Nullable="false" />
|
|
<Property Name="Monday" Type="bit" Nullable="false" />
|
|
<Property Name="Tuesday" Type="bit" Nullable="false" />
|
|
<Property Name="Wednesday" Type="bit" Nullable="false" />
|
|
<Property Name="Thursday" Type="bit" Nullable="false" />
|
|
<Property Name="Friday" Type="bit" Nullable="false" />
|
|
<Property Name="Saturday" Type="bit" Nullable="false" />
|
|
<Property Name="Sunday" Type="bit" Nullable="false" />
|
|
<Property Name="IsDefault" Type="bit" Nullable="false" />
|
|
<Property Name="IsSystem" Type="bit" 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.VW_ActualCapacityAdjusted' 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_ActualCapacityAdjusted">
|
|
<Key>
|
|
<PropertyRef Name="PeopleResourceId" />
|
|
<PropertyRef Name="TeamId" />
|
|
<PropertyRef Name="ExpenditureCategoryId" />
|
|
<PropertyRef Name="WeekEndingDate" />
|
|
|
|
|
|
|
|
|
|
|
|
</Key>
|
|
<Property Name="PeopleResourceId" 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="QuantityDirect" Type="decimal" Precision="15" Scale="4" Nullable="false" />
|
|
<Property Name="CostDirect" Type="decimal" Precision="31" Scale="8" Nullable="false" />
|
|
<Property Name="QuantityAdjusted" Type="decimal" Precision="38" Scale="21" Nullable="false" />
|
|
<Property Name="CostAdjusted" Type="decimal" Precision="38" Scale="9" Nullable="false" />
|
|
<Property Name="AdjustmentKoeff" Type="decimal" Precision="30" Scale="25" Nullable="false" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.VW_ActualCapacityAdjustmentByExpCats' 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_ActualCapacityAdjustmentByExpCats">
|
|
<Key>
|
|
<PropertyRef Name="WeekEndingDate" />
|
|
<PropertyRef Name="ActualCapacityScenarioId" />
|
|
<PropertyRef Name="ExpenditureCategoryId" />
|
|
<PropertyRef Name="TeamId" />
|
|
</Key>
|
|
<Property Name="ResourcesTotalOffHrs" Type="decimal" Precision="38" Scale="20" />
|
|
<Property Name="ResourcesTotalOffCost" Type="decimal" Precision="38" Scale="6" />
|
|
<Property Name="ActualCapacityScenarioId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ExpenditureCategoryId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="TeamId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="WeekEndingDate" Type="datetime" Nullable="false" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.VW_ActualCapacityByTeamsAdjusted' 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_ActualCapacityByTeamsAdjusted">
|
|
<Key>
|
|
<PropertyRef Name="TeamId" />
|
|
<PropertyRef Name="ExpenditureCategoryId" />
|
|
<PropertyRef Name="WeekEndingDate" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Key>
|
|
<Property Name="TeamId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ExpenditureCategoryId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="WeekEndingDate" Type="datetime" Nullable="false" />
|
|
<Property Name="QuantityDirect" Type="decimal" Precision="38" Scale="4" Nullable="false" />
|
|
<Property Name="CostDirect" Type="decimal" Precision="38" Scale="8" Nullable="false" />
|
|
<Property Name="QuantityAdjusted" Type="decimal" Precision="38" Scale="21" Nullable="false" />
|
|
<Property Name="CostAdjusted" Type="decimal" Precision="38" Scale="9" Nullable="false" />
|
|
<Property Name="ResourcesDirect" Type="int" Nullable="false" />
|
|
<Property Name="ResourcesAdjusted" Type="decimal" Precision="38" Scale="25" Nullable="false" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.VW_ActualCapacityByTeamsDirect' 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_ActualCapacityByTeamsDirect">
|
|
<Key>
|
|
<PropertyRef Name="TeamId" />
|
|
<PropertyRef Name="ExpenditureCategoryId" />
|
|
<PropertyRef Name="WeekEndingDate" />
|
|
|
|
|
|
|
|
</Key>
|
|
<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="38" Scale="4" Nullable="false" />
|
|
<Property Name="Cost" Type="decimal" Precision="38" Scale="8" Nullable="false" />
|
|
<Property Name="Resources" Type="int" Nullable="false" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.VW_ActualCapacityDirect' 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_ActualCapacityDirect">
|
|
<Key>
|
|
<PropertyRef Name="PeopleResourceId" />
|
|
<PropertyRef Name="TeamId" />
|
|
<PropertyRef Name="ExpenditureCategoryId" />
|
|
<PropertyRef Name="WeekEndingDate" />
|
|
|
|
|
|
|
|
</Key>
|
|
<Property Name="PeopleResourceId" 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="15" Scale="4" Nullable="false" />
|
|
<Property Name="Cost" Type="decimal" Precision="31" Scale="8" Nullable="false" />
|
|
<Property Name="Rate" Type="decimal" Precision="15" Scale="4" Nullable="false" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.VW_Company2View' 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_Company2View">
|
|
<Key>
|
|
<PropertyRef Name="CompanyId" />
|
|
<PropertyRef Name="ViewId" />
|
|
</Key>
|
|
<Property Name="CompanyId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ViewId" Type="uniqueidentifier" Nullable="false" />
|
|
</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" />
|
|
|
|
<PropertyRef Name="AllowResourceAssignment" />
|
|
</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" />
|
|
<Property Name="AllowResourceAssignment" Type="bit" Nullable="false" />
|
|
</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" 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="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" Nullable="false" />
|
|
<Property Name="WksSubjectToFee" Type="int" />
|
|
<Property Name="ExpCategoryWithCcName" Type="nvarchar" MaxLength="1603" />
|
|
<Property Name="AllowResourceAssignment" Type="bit" Nullable="false" />
|
|
</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" />
|
|
<Property Name="AllowResourceAssignment" Type="bit" Nullable="false" />
|
|
</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="UOMValue" />
|
|
<PropertyRef Name="CreditId" />
|
|
<PropertyRef Name="Name" />
|
|
<PropertyRef Name="AllowResourceAssignment" />
|
|
</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="UOMName" Type="nvarchar" MaxLength="400" />
|
|
<Property Name="UOMValue" Type="decimal" Precision="15" Scale="4" 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="AllowResourceAssignment" Type="bit" Nullable="false" />
|
|
<Property Name="ExpCategoryWithCcName" Type="nvarchar" MaxLength="1603" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.VW_ExpendituresWithAdjustmentFactor' 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_ExpendituresWithAdjustmentFactor">
|
|
<Key>
|
|
<PropertyRef Name="WeekEndingDate" />
|
|
</Key>
|
|
<Property Name="ExpenditureCategoryId" Type="uniqueidentifier" />
|
|
<Property Name="WeekEndingDate" Type="datetime" Nullable="false" />
|
|
<Property Name="AdjustmentFactor" Type="decimal" Precision="30" Scale="25" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.VW_Holiday' 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_Holiday">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Name" Type="nvarchar" MaxLength="2040" />
|
|
<Property Name="WorkingDays" Type="bit" Nullable="false" />
|
|
<Property Name="HolidayGroupId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="EffectiveChangeDate" Type="datetime" Nullable="false" />
|
|
<Property Name="CreatedAt" Type="datetime" Nullable="false" />
|
|
<Property Name="Options" Type="nvarchar(max)" />
|
|
<Property Name="StartDate" Type="datetime" Nullable="false" />
|
|
<Property Name="EndDate" Type="datetime" />
|
|
<Property Name="CompanyImpact" Type="bit" Nullable="false" />
|
|
<Property Name="IsInclude" Type="bit" Nullable="false" />
|
|
<Property Name="ValidTo" Type="datetime" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.VW_HolidayAllocation' 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_HolidayAllocation">
|
|
<Key>
|
|
<PropertyRef Name="WeekEndingDate" />
|
|
<PropertyRef Name="AdjustmentKoeff" />
|
|
</Key>
|
|
<Property Name="PeopleResourceId" Type="uniqueidentifier" />
|
|
<Property Name="ExpenditureCategoryId" Type="uniqueidentifier" />
|
|
<Property Name="TeamId" Type="uniqueidentifier" />
|
|
<Property Name="WeekEndingDate" Type="datetime" Nullable="false" />
|
|
<Property Name="AdjustmentKoeff" Type="decimal" Precision="30" Scale="25" Nullable="false" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.VW_NonProjectTimeAllocation' 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_NonProjectTimeAllocation">
|
|
<Key>
|
|
<PropertyRef Name="NonProjectTimeId" />
|
|
|
|
|
|
<PropertyRef Name="PeopleResourceId" />
|
|
<PropertyRef Name="WeekEndingDate" />
|
|
|
|
|
|
|
|
|
|
|
|
<PropertyRef Name="Rate" />
|
|
</Key>
|
|
<Property Name="NonProjectTimeId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="NonProjectTimeName" Type="nvarchar" MaxLength="255" Nullable="false" />
|
|
<Property Name="TeamId" 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" />
|
|
<Property Name="ExpenditureCategoryId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="NonProjectTimeCategoryId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="NonProjectTimeCategoryName" Type="nvarchar" MaxLength="255" Nullable="false" />
|
|
<Property Name="IsTeamNonProjectTime" Type="bit" Nullable="false" />
|
|
<Property Name="Rate" Type="decimal" Precision="15" Scale="4" Nullable="false" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.VW_NonProjectTimeInvalidItems' 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_NonProjectTimeInvalidItems">
|
|
<Key>
|
|
<PropertyRef Name="NonProjectTimeId" />
|
|
<PropertyRef Name="NonProjectTimeName" />
|
|
<PropertyRef Name="StartDate" />
|
|
<PropertyRef Name="PeopleResourceId" />
|
|
<PropertyRef Name="ExpenditureCategoryId" />
|
|
<PropertyRef Name="NonProjectTimeCategoryId" />
|
|
<PropertyRef Name="NonProjectTimeCategoryName" />
|
|
</Key>
|
|
<Property Name="NonProjectTimeId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="NonProjectTimeName" Type="nvarchar" MaxLength="255" Nullable="false" />
|
|
<Property Name="StartDate" Type="datetime" Nullable="false" />
|
|
<Property Name="EndDate" Type="datetime" />
|
|
<Property Name="PeopleResourceId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ExpenditureCategoryId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="NonProjectTimeCategoryId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="NonProjectTimeCategoryName" Type="nvarchar" MaxLength="255" Nullable="false" />
|
|
<Property Name="Details" Type="nvarchar" MaxLength="500" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.VW_PeopleResourceAllocationsInfo' 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_PeopleResourceAllocationsInfo">
|
|
<Key>
|
|
<PropertyRef Name="PeopleResourceId" />
|
|
<PropertyRef Name="Type" />
|
|
</Key>
|
|
<Property Name="PeopleResourceId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Type" Type="int" Nullable="false" />
|
|
<Property Name="MinDate" Type="datetime" />
|
|
<Property Name="MaxDate" Type="datetime" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.VW_PlanningCapacityAdjusted' 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_PlanningCapacityAdjusted">
|
|
<Key>
|
|
<PropertyRef Name="ScenarioId" />
|
|
<PropertyRef Name="AdjustmentKoeff" />
|
|
</Key>
|
|
<Property Name="ScenarioId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ExpenditureCategoryId" Type="uniqueidentifier" />
|
|
<Property Name="TeamId" Type="uniqueidentifier" />
|
|
<Property Name="WeekEndingDate" Type="datetime" />
|
|
<Property Name="AdjustmentKoeff" Type="decimal" Precision="30" Scale="25" Nullable="false" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.VW_ProjectAccessByUserExtended' 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_ProjectAccessByUserExtended">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="TypeId" />
|
|
<PropertyRef Name="StatusId" />
|
|
<PropertyRef Name="Priority" />
|
|
<PropertyRef Name="Probability" />
|
|
<PropertyRef Name="IsRevenueGenerating" />
|
|
<PropertyRef Name="HasChildren" />
|
|
<PropertyRef Name="EditTimestamp" />
|
|
<PropertyRef Name="UserId" />
|
|
<PropertyRef Name="StatusName" />
|
|
<PropertyRef Name="CompanyName" />
|
|
<PropertyRef Name="ClientName" />
|
|
<PropertyRef Name="TypeName" />
|
|
<PropertyRef Name="ActiveScenarioName" />
|
|
</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="decimal" Precision="5" Scale="2" 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="EditTimestamp" 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="Read" Type="int" />
|
|
<Property Name="Write" Type="int" />
|
|
<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_ProjectDependencies' 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_ProjectDependencies">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="SourceProjectId" />
|
|
<PropertyRef Name="TargetProjectId" />
|
|
<PropertyRef Name="Type" />
|
|
|
|
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="SourceProjectId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="TargetProjectId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Type" Type="smallint" Nullable="false" />
|
|
<Property Name="SourceProjectName" Type="nvarchar" MaxLength="1602" />
|
|
<Property Name="TargetProjectName" Type="nvarchar" MaxLength="1602" />
|
|
<Property Name="SourceStartDate" Type="datetime" />
|
|
<Property Name="SourceEndDate" Type="datetime" />
|
|
<Property Name="TargetStartDate" Type="datetime" />
|
|
<Property Name="TargetEndDate" Type="datetime" />
|
|
<Property Name="SourceDeadline" Type="datetime" />
|
|
<Property Name="TargetDeadline" Type="datetime" />
|
|
<Property Name="SourceHasActuals" Type="bit" Nullable="false" />
|
|
<Property Name="TargetHasActuals" Type="bit" Nullable="false" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.VW_ProjectNeedUnassigned' 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_ProjectNeedUnassigned">
|
|
<Key>
|
|
<PropertyRef Name="ProjectId" />
|
|
<PropertyRef Name="ScenarioId" />
|
|
<PropertyRef Name="RemainingQuantity" />
|
|
</Key>
|
|
<Property Name="ProjectId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ScenarioId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ExpenditureCategoryId" Type="uniqueidentifier" />
|
|
<Property Name="WeekEndingDate" Type="datetime" />
|
|
<Property Name="RemainingQuantity" Type="decimal" Precision="38" Scale="6" 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="StatusId" />
|
|
<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="ForecastTotalQuantity" Type="decimal" Precision="38" Scale="6" />
|
|
<Property Name="ActualsTotalQuantity" Type="decimal" Precision="38" Scale="6" />
|
|
<Property Name="VariationQuantityPercent" Type="decimal" Precision="38" Scale="6" />
|
|
<Property Name="Status" Type="int" />
|
|
<Property Name="BUDirectCosts" Type="decimal" Precision="15" Scale="4" />
|
|
<Property Name="ScenarioEndDate" Type="datetime" />
|
|
<Property Name="ScenarioStartDate" Type="datetime" />
|
|
<Property Name="ProjectId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ProjectName" Type="nvarchar" MaxLength="800" />
|
|
<Property Name="ProjectTypeId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ProjectPriority" Type="decimal" Precision="5" Scale="2" Nullable="false" />
|
|
<Property Name="StatusId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ClientId" Type="uniqueidentifier" />
|
|
<Property Name="ProjectTypeName" Type="nvarchar" MaxLength="200" />
|
|
<Property Name="StrategicGoalId" Type="uniqueidentifier" />
|
|
<Property Name="TagID" Type="uniqueidentifier" />
|
|
<Property Name="ActualsCostForecasted" Type="decimal" Precision="38" Scale="4" />
|
|
<Property Name="ActualsCostVariation" Type="decimal" Precision="38" Scale="4" />
|
|
<Property Name="ActualsQuantityVariation" Type="decimal" Precision="38" Scale="6" />
|
|
<Property Name="ProjectWeight" Type="numeric" Precision="23" Scale="10" />
|
|
<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_ProjectTeamsResourceAllocated' 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_ProjectTeamsResourceAllocated">
|
|
<Key>
|
|
<PropertyRef Name="ProjectId" />
|
|
<PropertyRef Name="ScenarioId" />
|
|
<PropertyRef Name="ScenarioType" />
|
|
<PropertyRef Name="TeamId" />
|
|
</Key>
|
|
<Property Name="ProjectId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ScenarioId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ScenarioType" Type="int" Nullable="false" />
|
|
<Property Name="TeamId" Type="uniqueidentifier" Nullable="false" />
|
|
</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" />
|
|
</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="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="decimal" Precision="5" Scale="2" />
|
|
<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="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="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" />
|
|
<Property Name="AllowResourceAssignment" Type="bit" Nullable="false" />
|
|
</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="ForecastTotalQuantity" Type="decimal" Precision="38" Scale="6" />
|
|
<Property Name="ActualsTotalQuantity" Type="decimal" Precision="38" Scale="6" />
|
|
<Property Name="VariationPercent" Type="decimal" Precision="38" Scale="6" />
|
|
<Property Name="VariationQuantityPercent" Type="decimal" Precision="38" Scale="6" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.VW_Skill2Resource' 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_Skill2Resource">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="Type" />
|
|
<PropertyRef Name="EffectiveDate" />
|
|
<PropertyRef Name="SkillId" />
|
|
<PropertyRef Name="ResourceId" />
|
|
<PropertyRef Name="Interested" />
|
|
<PropertyRef Name="DateCreated" />
|
|
<PropertyRef Name="SkillGroupId" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Type" Type="smallint" Nullable="false" />
|
|
<Property Name="EffectiveDate" Type="datetime" Nullable="false" />
|
|
<Property Name="SkillId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="ResourceId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Level" Type="smallint" />
|
|
<Property Name="Interested" Type="bit" Nullable="false" />
|
|
<Property Name="DateCreated" Type="datetime" Nullable="false" />
|
|
<Property Name="SkillGroupId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="AssignedToGroup" Type="bit" />
|
|
<Property Name="PastYearDateOffset" Type="int" />
|
|
<Property Name="FutureYearDateOffset" Type="int" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.VW_Team2View' 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_Team2View">
|
|
<Key>
|
|
<PropertyRef Name="ViewId" />
|
|
<PropertyRef Name="TeamId" />
|
|
</Key>
|
|
<Property Name="ViewId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="TeamId" Type="uniqueidentifier" Nullable="false" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.VW_TeamResource' 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_TeamResource">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="IsActiveEmployee" />
|
|
<PropertyRef Name="ExpenditureCategoryId" />
|
|
<PropertyRef Name="StartDate" />
|
|
<PropertyRef Name="EndDate" />
|
|
<PropertyRef Name="WorkWeekId" />
|
|
<PropertyRef Name="TeamId" />
|
|
<PropertyRef Name="TeamStartDate" />
|
|
<PropertyRef Name="Allocation" />
|
|
</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="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" />
|
|
<Property Name="Email" Type="nvarchar" MaxLength="320" />
|
|
<Property Name="WorkWeekId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="TeamId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="TeamStartDate" Type="date" Nullable="false" />
|
|
<Property Name="TeamEndDate" Type="date" />
|
|
<Property Name="Allocation" Type="smallint" Nullable="false" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.VW_User2Company' 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_User2Company">
|
|
<Key>
|
|
<PropertyRef Name="UserId" />
|
|
<PropertyRef Name="CompanyId" />
|
|
|
|
|
|
</Key>
|
|
<Property Name="UserId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="CompanyId" 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_User2Company4Display' 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_User2Company4Display">
|
|
<Key>
|
|
<PropertyRef Name="UserId" />
|
|
<PropertyRef Name="CompanyId" />
|
|
<PropertyRef Name="Read" />
|
|
<PropertyRef Name="Write" />
|
|
</Key>
|
|
<Property Name="UserId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="CompanyId" 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_User2Team' 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_User2Team">
|
|
<Key>
|
|
<PropertyRef Name="UserId" />
|
|
<PropertyRef Name="TeamId" />
|
|
<PropertyRef Name="Read" />
|
|
<PropertyRef Name="Write" />
|
|
</Key>
|
|
<Property Name="UserId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="TeamId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="TeamName" Type="nvarchar" MaxLength="400" />
|
|
<Property Name="CompanyId" Type="uniqueidentifier" />
|
|
<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_User2Team2WorkflowRoleContactInfo' 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_User2Team2WorkflowRoleContactInfo">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="TeamId" />
|
|
<PropertyRef Name="RoleName" />
|
|
</Key>
|
|
<Property Name="Id" Type="nvarchar" MaxLength="128" Nullable="false" />
|
|
<Property Name="UserName" Type="nvarchar" MaxLength="4000" />
|
|
<Property Name="FirstName" Type="nvarchar" MaxLength="40" />
|
|
<Property Name="LastName" Type="nvarchar" MaxLength="40" />
|
|
<Property Name="Email" Type="nvarchar" MaxLength="2048" />
|
|
<Property Name="TeamId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Name" Type="nvarchar" MaxLength="400" />
|
|
<Property Name="RoleName" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.vw_User2WorkFlowRoles' 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_User2WorkFlowRoles">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="RoleName" />
|
|
</Key>
|
|
<Property Name="Id" Type="nvarchar" MaxLength="128" Nullable="false" />
|
|
<Property Name="UserName" Type="nvarchar" MaxLength="4000" />
|
|
<Property Name="FirstName" Type="nvarchar" MaxLength="40" />
|
|
<Property Name="LastName" Type="nvarchar" MaxLength="40" />
|
|
<Property Name="Email" Type="nvarchar" MaxLength="2048" />
|
|
<Property Name="RoleName" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.vw_WorkflowApprovalHistoryInfo' 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_WorkflowApprovalHistoryInfo">
|
|
<Key>
|
|
<PropertyRef Name="ScenarioId" />
|
|
<PropertyRef Name="StepName" />
|
|
</Key>
|
|
<Property Name="FirstName" Type="nvarchar" MaxLength="40" />
|
|
<Property Name="LastName" Type="nvarchar" MaxLength="40" />
|
|
<Property Name="ScenarioName" Type="nvarchar" MaxLength="800" />
|
|
<Property Name="ScenarioId" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="TeamName" Type="nvarchar" MaxLength="400" />
|
|
<Property Name="Approved" Type="bit" />
|
|
<Property Name="DateApproved" Type="datetime" />
|
|
<Property Name="StepName" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.VW_WorkflowModelView' 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_WorkflowModelView">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="Name" />
|
|
<PropertyRef Name="Code" />
|
|
<PropertyRef Name="ProcessType" />
|
|
<PropertyRef Name="isDefault" />
|
|
<PropertyRef Name="CreatedBy" />
|
|
<PropertyRef Name="DateCreated" />
|
|
<PropertyRef Name="isActive" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="Name" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="Code" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="ProcessType" Type="int" Nullable="false" />
|
|
<Property Name="isDefault" Type="bit" Nullable="false" />
|
|
<Property Name="CreatedBy" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="DateCreated" Type="datetime" Nullable="false" />
|
|
<Property Name="UpdatedBy" Type="uniqueidentifier" />
|
|
<Property Name="UpdateDate" Type="datetime" />
|
|
<Property Name="isActive" Type="bit" Nullable="false" />
|
|
<Property Name="Scheme" Type="nvarchar(max)" />
|
|
<Property Name="isTemplate" Type="bit" />
|
|
<Property Name="totalRecordInWorkFlow" Type="int" />
|
|
</EntityType>
|
|
<!--Errors Found During Generation:
|
|
warning 6002: The table/view 'EnVisage.dbo.VW_WorkflowRoleModelView' 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_WorkflowRoleModelView">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="RoleName" />
|
|
</Key>
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
<Property Name="RoleName" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
<Property Name="UsersInRole" Type="int" />
|
|
</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">
|
|
<OnDelete Action="Cascade" />
|
|
</End>
|
|
<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_Company2View_CompanyId">
|
|
<End Role="Company" Type="Self.Company" Multiplicity="1">
|
|
<OnDelete Action="Cascade" />
|
|
</End>
|
|
<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_Company2View_ViewId">
|
|
<End Role="View" Type="Self.View" Multiplicity="1">
|
|
<OnDelete Action="Cascade" />
|
|
</End>
|
|
<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_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_AspNetUserClaims_dbo_AspNetUsers_User_Id">
|
|
<End Role="AspNetUsers" Type="Self.AspNetUsers" Multiplicity="1">
|
|
<OnDelete Action="Cascade" />
|
|
</End>
|
|
<End Role="AspNetUserClaims" Type="Self.AspNetUserClaims" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="AspNetUsers">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="AspNetUserClaims">
|
|
<PropertyRef Name="UserId" />
|
|
</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_Holiday2ExpenditureCategory_ExpenditureCategory">
|
|
<End Role="ExpenditureCategory" Type="Self.ExpenditureCategory" Multiplicity="1" />
|
|
<End Role="Holiday2ExpenditureCategory" Type="Self.Holiday2ExpenditureCategory" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="ExpenditureCategory">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="Holiday2ExpenditureCategory">
|
|
<PropertyRef Name="ExpenditureCategoryId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_Holiday2ExpenditureCategory_Holiday">
|
|
<End Role="Holiday" Type="Self.Holiday" Multiplicity="1" />
|
|
<End Role="Holiday2ExpenditureCategory" Type="Self.Holiday2ExpenditureCategory" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Holiday">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="Holiday2ExpenditureCategory">
|
|
<PropertyRef Name="HolidayId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_Holiday2PeopleResource_Holiday">
|
|
<End Role="Holiday" Type="Self.Holiday" Multiplicity="1" />
|
|
<End Role="Holiday2PeopleResource" Type="Self.Holiday2PeopleResource" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Holiday">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="Holiday2PeopleResource">
|
|
<PropertyRef Name="HolidayId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_Holiday2PeopleResource_PeopleResource">
|
|
<End Role="PeopleResource" Type="Self.PeopleResource" Multiplicity="1" />
|
|
<End Role="Holiday2PeopleResource" Type="Self.Holiday2PeopleResource" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="PeopleResource">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="Holiday2PeopleResource">
|
|
<PropertyRef Name="ResourceId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_Holiday2Team_Holiday">
|
|
<End Role="Holiday" Type="Self.Holiday" Multiplicity="1" />
|
|
<End Role="Holiday2Team" Type="Self.Holiday2Team" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Holiday">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="Holiday2Team">
|
|
<PropertyRef Name="HolidayId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_Holiday2Team_Team">
|
|
<End Role="Team" Type="Self.Team" Multiplicity="1" />
|
|
<End Role="Holiday2Team" Type="Self.Holiday2Team" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Team">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="Holiday2Team">
|
|
<PropertyRef Name="TeamId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_HolidayAllocation_Holiday">
|
|
<End Role="Holiday" Type="Self.Holiday" Multiplicity="1" />
|
|
<End Role="HolidayAllocation" Type="Self.HolidayAllocation" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Holiday">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="HolidayAllocation">
|
|
<PropertyRef Name="HolidayId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_NonProjectTime_NonProjectTimeCategory">
|
|
<End Role="NonProjectTimeCategory" Type="Self.NonProjectTimeCategory" Multiplicity="1" />
|
|
<End Role="NonProjectTime" Type="Self.NonProjectTime" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="NonProjectTimeCategory">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="NonProjectTime">
|
|
<PropertyRef Name="NonProjectTimeCategoryId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_NonProjectTime2Resource_NonProjectTime2Resource">
|
|
<End Role="NonProjectTime" Type="Self.NonProjectTime" Multiplicity="1" />
|
|
<End Role="NonProjectTime2Resource" Type="Self.NonProjectTime2Resource" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="NonProjectTime">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="NonProjectTime2Resource">
|
|
<PropertyRef Name="NonProjectTimeId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_NonProjectTime2Resource_PeopleResource">
|
|
<End Role="PeopleResource" Type="Self.PeopleResource" Multiplicity="1" />
|
|
<End Role="NonProjectTime2Resource" Type="Self.NonProjectTime2Resource" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="PeopleResource">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="NonProjectTime2Resource">
|
|
<PropertyRef Name="PeopleResourceId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_NonProjectTime2Team_NonProjectTime">
|
|
<End Role="NonProjectTime" Type="Self.NonProjectTime" Multiplicity="1" />
|
|
<End Role="NonProjectTime2Team" Type="Self.NonProjectTime2Team" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="NonProjectTime">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="NonProjectTime2Team">
|
|
<PropertyRef Name="NonProjectTimeId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_NonProjectTime2Team_Team">
|
|
<End Role="Team" Type="Self.Team" Multiplicity="1" />
|
|
<End Role="NonProjectTime2Team" Type="Self.NonProjectTime2Team" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Team">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="NonProjectTime2Team">
|
|
<PropertyRef Name="TeamId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_NonProjectTimeResourceAllocation_NonProjectTime2Resource">
|
|
<End Role="NonProjectTime2Resource" Type="Self.NonProjectTime2Resource" Multiplicity="1" />
|
|
<End Role="NonProjectTimeResourceAllocation" Type="Self.NonProjectTimeResourceAllocation" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="NonProjectTime2Resource">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="NonProjectTimeResourceAllocation">
|
|
<PropertyRef Name="NonProjectTime2ResourceId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_NonProjectTimeTeamAllocation_NonProjectTime2Team">
|
|
<End Role="NonProjectTime2Team" Type="Self.NonProjectTime2Team" Multiplicity="1" />
|
|
<End Role="NonProjectTimeTeamAllocation" Type="Self.NonProjectTimeTeamAllocation" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="NonProjectTime2Team">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="NonProjectTimeTeamAllocation">
|
|
<PropertyRef Name="NonProjectTime2TeamId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_NotificationToWorkFlowState_WorkFlowContacts">
|
|
<End Role="WorkFlowContacts" Type="Self.WorkFlowContacts" Multiplicity="1" />
|
|
<End Role="NotificationToWorkFlowState" Type="Self.NotificationToWorkFlowState" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="WorkFlowContacts">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="NotificationToWorkFlowState">
|
|
<PropertyRef Name="WorkFlowContactId" />
|
|
</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_PeopleResource_WorkWeekId">
|
|
<End Role="WorkWeek" Type="Self.WorkWeek" Multiplicity="1" />
|
|
<End Role="PeopleResource" Type="Self.PeopleResource" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="WorkWeek">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="PeopleResource">
|
|
<PropertyRef Name="WorkWeekId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_PeopleResource2Team_PeopleResource">
|
|
<End Role="PeopleResource" Type="Self.PeopleResource" Multiplicity="1" />
|
|
<End Role="PeopleResource2Team" Type="Self.PeopleResource2Team" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="PeopleResource">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="PeopleResource2Team">
|
|
<PropertyRef Name="PeopleResourceId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_PeopleResource2Team_Team">
|
|
<End Role="Team" Type="Self.Team" Multiplicity="1" />
|
|
<End Role="PeopleResource2Team" Type="Self.PeopleResource2Team" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Team">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="PeopleResource2Team">
|
|
<PropertyRef Name="TeamId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_PeopleResourceActuals_PeopleResource">
|
|
<End Role="PeopleResource" Type="Self.PeopleResource" Multiplicity="1">
|
|
<OnDelete Action="Cascade" />
|
|
</End>
|
|
<End Role="PeopleResourceActuals" Type="Self.PeopleResourceActuals" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="PeopleResource">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="PeopleResourceActuals">
|
|
<PropertyRef Name="PeopleResourceId" />
|
|
</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_PeopleResourceAllocation_Team">
|
|
<End Role="Team" Type="Self.Team" Multiplicity="1" />
|
|
<End Role="PeopleResourceAllocation" Type="Self.PeopleResourceAllocation" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Team">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="PeopleResourceAllocation">
|
|
<PropertyRef Name="TeamId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_PeopleResourceExpCatChanges_ExpenditureCategory">
|
|
<End Role="ExpenditureCategory" Type="Self.ExpenditureCategory" Multiplicity="1">
|
|
<OnDelete Action="Cascade" />
|
|
</End>
|
|
<End Role="PeopleResourceExpCatChange" Type="Self.PeopleResourceExpCatChange" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="ExpenditureCategory">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="PeopleResourceExpCatChange">
|
|
<PropertyRef Name="OldExpenditureCategoryId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_PeopleResourceExpCatChanges_PeopleResource">
|
|
<End Role="PeopleResource" Type="Self.PeopleResource" Multiplicity="1">
|
|
<OnDelete Action="Cascade" />
|
|
</End>
|
|
<End Role="PeopleResourceExpCatChange" Type="Self.PeopleResourceExpCatChange" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="PeopleResource">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="PeopleResourceExpCatChange">
|
|
<PropertyRef Name="PeopleResourceId" />
|
|
</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_ProjectDependency_Source">
|
|
<End Role="Project" Type="Self.Project" Multiplicity="1" />
|
|
<End Role="ProjectDependency" Type="Self.ProjectDependency" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Project">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="ProjectDependency">
|
|
<PropertyRef Name="SourceProjectId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_ProjectDependency_Target">
|
|
<End Role="Project" Type="Self.Project" Multiplicity="1" />
|
|
<End Role="ProjectDependency" Type="Self.ProjectDependency" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Project">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="ProjectDependency">
|
|
<PropertyRef Name="TargetProjectId" />
|
|
</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_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_Skill_Skill">
|
|
<End Role="Skill" Type="Self.Skill" Multiplicity="0..1" />
|
|
<End Role="Skill1" Type="Self.Skill" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Skill">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="Skill1">
|
|
<PropertyRef Name="ParentId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_Skill2Resource_ResourceId">
|
|
<End Role="PeopleResource" Type="Self.PeopleResource" Multiplicity="1" />
|
|
<End Role="Skill2Resource" Type="Self.Skill2Resource" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="PeopleResource">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="Skill2Resource">
|
|
<PropertyRef Name="ResourceId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_Skill2Resource_SkillId">
|
|
<End Role="Skill" Type="Self.Skill" Multiplicity="1" />
|
|
<End Role="Skill2Resource" Type="Self.Skill2Resource" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Skill">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="Skill2Resource">
|
|
<PropertyRef Name="SkillId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_StrategicGoal2Company_Company">
|
|
<End Role="Company" Type="Self.Company" Multiplicity="1">
|
|
<OnDelete Action="Cascade" />
|
|
</End>
|
|
<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_Team2View_TeamId">
|
|
<End Role="Team" Type="Self.Team" Multiplicity="1">
|
|
<OnDelete Action="Cascade" />
|
|
</End>
|
|
<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_ViewId">
|
|
<End Role="View" Type="Self.View" Multiplicity="1">
|
|
<OnDelete Action="Cascade" />
|
|
</End>
|
|
<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_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_User2Company_Company">
|
|
<End Role="Company" Type="Self.Company" Multiplicity="1">
|
|
<OnDelete Action="Cascade" />
|
|
</End>
|
|
<End Role="User2Company" Type="Self.User2Company" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Company">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="User2Company">
|
|
<PropertyRef Name="CompanyId" />
|
|
</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_User2WorkFlowRole_AspNetUsers">
|
|
<End Role="AspNetUsers" Type="Self.AspNetUsers" Multiplicity="1" />
|
|
<End Role="User2WorkFlowRole" Type="Self.User2WorkFlowRole" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="AspNetUsers">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="User2WorkFlowRole">
|
|
<PropertyRef Name="UserId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_User2WorkFlowRole_WorkFlowRoles">
|
|
<End Role="WorkFlowRoles" Type="Self.WorkFlowRoles" Multiplicity="1" />
|
|
<End Role="User2WorkFlowRole" Type="Self.User2WorkFlowRole" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="WorkFlowRoles">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="User2WorkFlowRole">
|
|
<PropertyRef Name="RoleId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_UserDefinedValue_UserDefinedField">
|
|
<End Role="UserDefinedField" Type="Self.UserDefinedField" Multiplicity="1" />
|
|
<End Role="UserDefinedValue" Type="Self.UserDefinedValue" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="UserDefinedField">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="UserDefinedValue">
|
|
<PropertyRef Name="UserDefinedFieldId" />
|
|
</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>
|
|
<Function Name="DropWorkflowInbox" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
|
|
<Parameter Name="processId" Type="uniqueidentifier" Mode="In" />
|
|
</Function>
|
|
<Function Name="DropWorkflowProcess" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
|
|
<Parameter Name="id" Type="uniqueidentifier" Mode="In" />
|
|
</Function>
|
|
<Function Name="DropWorkflowProcesses" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo" />
|
|
<Function Name="resourceAvailability_f" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="true" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
|
|
<Parameter Name="StartDate" Type="datetime" Mode="In" />
|
|
<Parameter Name="EndDate" Type="datetime" Mode="In" />
|
|
<Parameter Name="Per" Type="char" Mode="In" />
|
|
<Parameter Name="AvailableHours" Type="float" Mode="In" />
|
|
<Parameter Name="DisregardNPTime" Type="bit" Mode="In" />
|
|
<ReturnType>
|
|
<CollectionType>
|
|
<RowType>
|
|
<Property Name="FirstName" Type="nvarchar" MaxLength="1000" />
|
|
<Property Name="LastName" Type="nvarchar" MaxLength="1000" />
|
|
<Property Name="ExpenditureCategory" Type="nvarchar" MaxLength="800" />
|
|
<Property Name="AvailableHours" Type="float" />
|
|
<Property Name="AllocatedHours" Type="float" />
|
|
<Property Name="NonProjectTimeHours" Type="float" />
|
|
<Property Name="ResourceAvailability" Type="float" />
|
|
<Property Name="TeamName" Type="nvarchar" MaxLength="400" />
|
|
<Property Name="TeamId" Type="varchar" MaxLength="36" />
|
|
<Property Name="ExpenditureCategoryId" Type="varchar" MaxLength="36" />
|
|
</RowType>
|
|
</CollectionType>
|
|
</ReturnType>
|
|
</Function>
|
|
<Function Name="sp_ProjectSearch" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
|
|
<Parameter Name="UserId" Type="uniqueidentifier" Mode="In" />
|
|
<Parameter Name="searchString" Type="nvarchar" Mode="In" />
|
|
<Parameter Name="offset" Type="int" Mode="In" />
|
|
<Parameter Name="pageSize" Type="int" Mode="In" />
|
|
<Parameter Name="orderBy" Type="nvarchar" Mode="In" />
|
|
<Parameter Name="orderAsc" Type="bit" Mode="In" />
|
|
<Parameter Name="totalCount" Type="int" Mode="InOut" />
|
|
</Function>
|
|
<EntityContainer Name="EnVisageModelStoreContainer">
|
|
<EntitySet Name="AspNetRoles" EntityType="Self.AspNetRoles" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="AspNetUserClaims" EntityType="Self.AspNetUserClaims" 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="EmailRouting" EntityType="Self.EmailRouting" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="EmailTemplates" EntityType="Self.EmailTemplates" 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="Holiday2ExpenditureCategory" EntityType="Self.Holiday2ExpenditureCategory" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Holiday2PeopleResource" EntityType="Self.Holiday2PeopleResource" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Holiday2Team" EntityType="Self.Holiday2Team" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="HolidayAllocation" EntityType="Self.HolidayAllocation" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Integration2Prevu" EntityType="Self.Integration2Prevu" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="IntegrationConnectionInfo" EntityType="Self.IntegrationConnectionInfo" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="NonProjectTime" EntityType="Self.NonProjectTime" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="NonProjectTime2Resource" EntityType="Self.NonProjectTime2Resource" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="NonProjectTime2Team" EntityType="Self.NonProjectTime2Team" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="NonProjectTimeCategory" EntityType="Self.NonProjectTimeCategory" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="NonProjectTimeResourceAllocation" EntityType="Self.NonProjectTimeResourceAllocation" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="NonProjectTimeTeamAllocation" EntityType="Self.NonProjectTimeTeamAllocation" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Note" EntityType="Self.Note" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Notification" EntityType="Self.Notification" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="NotificationControl" EntityType="Self.NotificationControl" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="NotificationToWorkFlowState" EntityType="Self.NotificationToWorkFlowState" 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="PeopleResource2Team" EntityType="Self.PeopleResource2Team" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="PeopleResourceActuals" EntityType="Self.PeopleResourceActuals" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="PeopleResourceAllocation" EntityType="Self.PeopleResourceAllocation" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="PeopleResourceExpCatChange" EntityType="Self.PeopleResourceExpCatChange" 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="ProjectDependency" EntityType="Self.ProjectDependency" 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="Skill" EntityType="Self.Skill" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="Skill2Resource" EntityType="Self.Skill2Resource" 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_ImportMessages" EntityType="Self.supt_ImportMessages" 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="Tag" EntityType="Self.Tag" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="TagGroup" EntityType="Self.TagGroup" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="TagLink" EntityType="Self.TagLink" 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="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="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="User2Company" EntityType="Self.User2Company" 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="User2WorkFlowRole" EntityType="Self.User2WorkFlowRole" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="UserDefinedField" EntityType="Self.UserDefinedField" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="UserDefinedValue" EntityType="Self.UserDefinedValue" 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="WorkFlowContacts" EntityType="Self.WorkFlowContacts" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="WorkFlowEmailStore" EntityType="Self.WorkFlowEmailStore" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="WorkFlowEmailStoreLinks" EntityType="Self.WorkFlowEmailStoreLinks" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="WorkflowGlobalParameter" EntityType="Self.WorkflowGlobalParameter" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="WorkflowInbox" EntityType="Self.WorkflowInbox" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="WorkFlowParallelApprovals" EntityType="Self.WorkFlowParallelApprovals" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="WorkflowProcessInstance" EntityType="Self.WorkflowProcessInstance" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="WorkflowProcessInstancePersistence" EntityType="Self.WorkflowProcessInstancePersistence" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="WorkflowProcessInstanceStatus" EntityType="Self.WorkflowProcessInstanceStatus" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="WorkflowProcessScheme" EntityType="Self.WorkflowProcessScheme" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="WorkflowProcessTimer" EntityType="Self.WorkflowProcessTimer" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="WorkFlowRoles" EntityType="Self.WorkFlowRoles" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="WorkflowScheme" EntityType="Self.WorkflowScheme" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="WorkWeek" EntityType="Self.WorkWeek" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="MenuNavigation" EntityType="Self.MenuNavigation" store:Type="Tables" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[MenuNavigation].[Id] AS [Id],
|
|
[MenuNavigation].[Display] AS [Display],
|
|
[MenuNavigation].[Link] AS [Link],
|
|
[MenuNavigation].[Value] AS [Value]
|
|
FROM [dbo].[MenuNavigation] AS [MenuNavigation]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="Type2WorkFlowScheme" EntityType="Self.Type2WorkFlowScheme" store:Type="Tables" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[Type2WorkFlowScheme].[Id] AS [Id],
|
|
[Type2WorkFlowScheme].[ProjectTypeId] AS [ProjectTypeId],
|
|
[Type2WorkFlowScheme].[WorkFlowSchemeId] AS [WorkFlowSchemeId]
|
|
FROM [dbo].[Type2WorkFlowScheme] AS [Type2WorkFlowScheme]</DefiningQuery>
|
|
</EntitySet>
|
|
<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="VW_ActualCapacityAdjusted" EntityType="Self.VW_ActualCapacityAdjusted" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_ActualCapacityAdjusted].[PeopleResourceId] AS [PeopleResourceId],
|
|
[VW_ActualCapacityAdjusted].[TeamId] AS [TeamId],
|
|
[VW_ActualCapacityAdjusted].[ExpenditureCategoryId] AS [ExpenditureCategoryId],
|
|
[VW_ActualCapacityAdjusted].[WeekEndingDate] AS [WeekEndingDate],
|
|
[VW_ActualCapacityAdjusted].[QuantityDirect] AS [QuantityDirect],
|
|
[VW_ActualCapacityAdjusted].[CostDirect] AS [CostDirect],
|
|
[VW_ActualCapacityAdjusted].[QuantityAdjusted] AS [QuantityAdjusted],
|
|
[VW_ActualCapacityAdjusted].[CostAdjusted] AS [CostAdjusted],
|
|
[VW_ActualCapacityAdjusted].[AdjustmentKoeff] AS [AdjustmentKoeff]
|
|
FROM [dbo].[VW_ActualCapacityAdjusted] AS [VW_ActualCapacityAdjusted]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_ActualCapacityAdjustmentByExpCats" EntityType="Self.VW_ActualCapacityAdjustmentByExpCats" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_ActualCapacityAdjustmentByExpCats].[ResourcesTotalOffHrs] AS [ResourcesTotalOffHrs],
|
|
[VW_ActualCapacityAdjustmentByExpCats].[ResourcesTotalOffCost] AS [ResourcesTotalOffCost],
|
|
[VW_ActualCapacityAdjustmentByExpCats].[ActualCapacityScenarioId] AS [ActualCapacityScenarioId],
|
|
[VW_ActualCapacityAdjustmentByExpCats].[ExpenditureCategoryId] AS [ExpenditureCategoryId],
|
|
[VW_ActualCapacityAdjustmentByExpCats].[TeamId] AS [TeamId],
|
|
[VW_ActualCapacityAdjustmentByExpCats].[WeekEndingDate] AS [WeekEndingDate]
|
|
FROM [dbo].[VW_ActualCapacityAdjustmentByExpCats] AS [VW_ActualCapacityAdjustmentByExpCats]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_ActualCapacityByTeamsAdjusted" EntityType="Self.VW_ActualCapacityByTeamsAdjusted" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_ActualCapacityByTeamsAdjusted].[TeamId] AS [TeamId],
|
|
[VW_ActualCapacityByTeamsAdjusted].[ExpenditureCategoryId] AS [ExpenditureCategoryId],
|
|
[VW_ActualCapacityByTeamsAdjusted].[WeekEndingDate] AS [WeekEndingDate],
|
|
[VW_ActualCapacityByTeamsAdjusted].[QuantityDirect] AS [QuantityDirect],
|
|
[VW_ActualCapacityByTeamsAdjusted].[CostDirect] AS [CostDirect],
|
|
[VW_ActualCapacityByTeamsAdjusted].[QuantityAdjusted] AS [QuantityAdjusted],
|
|
[VW_ActualCapacityByTeamsAdjusted].[CostAdjusted] AS [CostAdjusted],
|
|
[VW_ActualCapacityByTeamsAdjusted].[ResourcesDirect] AS [ResourcesDirect],
|
|
[VW_ActualCapacityByTeamsAdjusted].[ResourcesAdjusted] AS [ResourcesAdjusted]
|
|
FROM [dbo].[VW_ActualCapacityByTeamsAdjusted] AS [VW_ActualCapacityByTeamsAdjusted]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_ActualCapacityByTeamsDirect" EntityType="Self.VW_ActualCapacityByTeamsDirect" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_ActualCapacityByTeamsDirect].[TeamId] AS [TeamId],
|
|
[VW_ActualCapacityByTeamsDirect].[ExpenditureCategoryId] AS [ExpenditureCategoryId],
|
|
[VW_ActualCapacityByTeamsDirect].[WeekEndingDate] AS [WeekEndingDate],
|
|
[VW_ActualCapacityByTeamsDirect].[Quantity] AS [Quantity],
|
|
[VW_ActualCapacityByTeamsDirect].[Cost] AS [Cost],
|
|
[VW_ActualCapacityByTeamsDirect].[Resources] AS [Resources]
|
|
FROM [dbo].[VW_ActualCapacityByTeamsDirect] AS [VW_ActualCapacityByTeamsDirect]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_ActualCapacityDirect" EntityType="Self.VW_ActualCapacityDirect" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_ActualCapacityDirect].[PeopleResourceId] AS [PeopleResourceId],
|
|
[VW_ActualCapacityDirect].[TeamId] AS [TeamId],
|
|
[VW_ActualCapacityDirect].[ExpenditureCategoryId] AS [ExpenditureCategoryId],
|
|
[VW_ActualCapacityDirect].[WeekEndingDate] AS [WeekEndingDate],
|
|
[VW_ActualCapacityDirect].[Quantity] AS [Quantity],
|
|
[VW_ActualCapacityDirect].[Cost] AS [Cost],
|
|
[VW_ActualCapacityDirect].[Rate] AS [Rate]
|
|
FROM [dbo].[VW_ActualCapacityDirect] AS [VW_ActualCapacityDirect]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_Company2View" EntityType="Self.VW_Company2View" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_Company2View].[CompanyId] AS [CompanyId],
|
|
[VW_Company2View].[ViewId] AS [ViewId]
|
|
FROM [dbo].[VW_Company2View] AS [VW_Company2View]</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],
|
|
[VW_ExpCategoriesInScenario].[AllowResourceAssignment] AS [AllowResourceAssignment]
|
|
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],
|
|
[VW_Expenditure2Calculation].[AllowResourceAssignment] AS [AllowResourceAssignment]
|
|
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],
|
|
[VW_Expenditure2Category].[AllowResourceAssignment] AS [AllowResourceAssignment]
|
|
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].[UOMName] AS [UOMName],
|
|
[VW_ExpenditureCategory].[UOMValue] AS [UOMValue],
|
|
[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].[AllowResourceAssignment] AS [AllowResourceAssignment],
|
|
[VW_ExpenditureCategory].[ExpCategoryWithCcName] AS [ExpCategoryWithCcName]
|
|
FROM [dbo].[VW_ExpenditureCategory] AS [VW_ExpenditureCategory]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_ExpendituresWithAdjustmentFactor" EntityType="Self.VW_ExpendituresWithAdjustmentFactor" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_ExpendituresWithAdjustmentFactor].[ExpenditureCategoryId] AS [ExpenditureCategoryId],
|
|
[VW_ExpendituresWithAdjustmentFactor].[WeekEndingDate] AS [WeekEndingDate],
|
|
[VW_ExpendituresWithAdjustmentFactor].[AdjustmentFactor] AS [AdjustmentFactor]
|
|
FROM [dbo].[VW_ExpendituresWithAdjustmentFactor] AS [VW_ExpendituresWithAdjustmentFactor]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_Holiday" EntityType="Self.VW_Holiday" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_Holiday].[Id] AS [Id],
|
|
[VW_Holiday].[Name] AS [Name],
|
|
[VW_Holiday].[WorkingDays] AS [WorkingDays],
|
|
[VW_Holiday].[HolidayGroupId] AS [HolidayGroupId],
|
|
[VW_Holiday].[EffectiveChangeDate] AS [EffectiveChangeDate],
|
|
[VW_Holiday].[CreatedAt] AS [CreatedAt],
|
|
[VW_Holiday].[Options] AS [Options],
|
|
[VW_Holiday].[StartDate] AS [StartDate],
|
|
[VW_Holiday].[EndDate] AS [EndDate],
|
|
[VW_Holiday].[CompanyImpact] AS [CompanyImpact],
|
|
[VW_Holiday].[IsInclude] AS [IsInclude],
|
|
[VW_Holiday].[ValidTo] AS [ValidTo]
|
|
FROM [dbo].[VW_Holiday] AS [VW_Holiday]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_HolidayAllocation" EntityType="Self.VW_HolidayAllocation" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_HolidayAllocation].[PeopleResourceId] AS [PeopleResourceId],
|
|
[VW_HolidayAllocation].[ExpenditureCategoryId] AS [ExpenditureCategoryId],
|
|
[VW_HolidayAllocation].[TeamId] AS [TeamId],
|
|
[VW_HolidayAllocation].[WeekEndingDate] AS [WeekEndingDate],
|
|
[VW_HolidayAllocation].[AdjustmentKoeff] AS [AdjustmentKoeff]
|
|
FROM [dbo].[VW_HolidayAllocation] AS [VW_HolidayAllocation]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_NonProjectTimeAllocation" EntityType="Self.VW_NonProjectTimeAllocation" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_NonProjectTimeAllocation].[NonProjectTimeId] AS [NonProjectTimeId],
|
|
[VW_NonProjectTimeAllocation].[NonProjectTimeName] AS [NonProjectTimeName],
|
|
[VW_NonProjectTimeAllocation].[TeamId] AS [TeamId],
|
|
[VW_NonProjectTimeAllocation].[PeopleResourceId] AS [PeopleResourceId],
|
|
[VW_NonProjectTimeAllocation].[WeekEndingDate] AS [WeekEndingDate],
|
|
[VW_NonProjectTimeAllocation].[HoursOff] AS [HoursOff],
|
|
[VW_NonProjectTimeAllocation].[ExpenditureCategoryId] AS [ExpenditureCategoryId],
|
|
[VW_NonProjectTimeAllocation].[NonProjectTimeCategoryId] AS [NonProjectTimeCategoryId],
|
|
[VW_NonProjectTimeAllocation].[NonProjectTimeCategoryName] AS [NonProjectTimeCategoryName],
|
|
[VW_NonProjectTimeAllocation].[IsTeamNonProjectTime] AS [IsTeamNonProjectTime],
|
|
[VW_NonProjectTimeAllocation].[Rate] AS [Rate]
|
|
FROM [dbo].[VW_NonProjectTimeAllocation] AS [VW_NonProjectTimeAllocation]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_NonProjectTimeInvalidItems" EntityType="Self.VW_NonProjectTimeInvalidItems" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_NonProjectTimeInvalidItems].[NonProjectTimeId] AS [NonProjectTimeId],
|
|
[VW_NonProjectTimeInvalidItems].[NonProjectTimeName] AS [NonProjectTimeName],
|
|
[VW_NonProjectTimeInvalidItems].[StartDate] AS [StartDate],
|
|
[VW_NonProjectTimeInvalidItems].[EndDate] AS [EndDate],
|
|
[VW_NonProjectTimeInvalidItems].[PeopleResourceId] AS [PeopleResourceId],
|
|
[VW_NonProjectTimeInvalidItems].[ExpenditureCategoryId] AS [ExpenditureCategoryId],
|
|
[VW_NonProjectTimeInvalidItems].[NonProjectTimeCategoryId] AS [NonProjectTimeCategoryId],
|
|
[VW_NonProjectTimeInvalidItems].[NonProjectTimeCategoryName] AS [NonProjectTimeCategoryName],
|
|
[VW_NonProjectTimeInvalidItems].[Details] AS [Details]
|
|
FROM [dbo].[VW_NonProjectTimeInvalidItems] AS [VW_NonProjectTimeInvalidItems]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_PeopleResourceAllocationsInfo" EntityType="Self.VW_PeopleResourceAllocationsInfo" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_PeopleResourceAllocationsInfo].[PeopleResourceId] AS [PeopleResourceId],
|
|
[VW_PeopleResourceAllocationsInfo].[Type] AS [Type],
|
|
[VW_PeopleResourceAllocationsInfo].[MinDate] AS [MinDate],
|
|
[VW_PeopleResourceAllocationsInfo].[MaxDate] AS [MaxDate]
|
|
FROM [dbo].[VW_PeopleResourceAllocationsInfo] AS [VW_PeopleResourceAllocationsInfo]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_PlanningCapacityAdjusted" EntityType="Self.VW_PlanningCapacityAdjusted" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_PlanningCapacityAdjusted].[ScenarioId] AS [ScenarioId],
|
|
[VW_PlanningCapacityAdjusted].[ExpenditureCategoryId] AS [ExpenditureCategoryId],
|
|
[VW_PlanningCapacityAdjusted].[TeamId] AS [TeamId],
|
|
[VW_PlanningCapacityAdjusted].[WeekEndingDate] AS [WeekEndingDate],
|
|
[VW_PlanningCapacityAdjusted].[AdjustmentKoeff] AS [AdjustmentKoeff]
|
|
FROM [dbo].[VW_PlanningCapacityAdjusted] AS [VW_PlanningCapacityAdjusted]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_ProjectAccessByUserExtended" EntityType="Self.VW_ProjectAccessByUserExtended" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_ProjectAccessByUserExtended].[Id] AS [Id],
|
|
[VW_ProjectAccessByUserExtended].[CompanyId] AS [CompanyId],
|
|
[VW_ProjectAccessByUserExtended].[ClientId] AS [ClientId],
|
|
[VW_ProjectAccessByUserExtended].[TypeId] AS [TypeId],
|
|
[VW_ProjectAccessByUserExtended].[StatusId] AS [StatusId],
|
|
[VW_ProjectAccessByUserExtended].[Name] AS [Name],
|
|
[VW_ProjectAccessByUserExtended].[ProjectNumber] AS [ProjectNumber],
|
|
[VW_ProjectAccessByUserExtended].[Color] AS [Color],
|
|
[VW_ProjectAccessByUserExtended].[Details] AS [Details],
|
|
[VW_ProjectAccessByUserExtended].[Priority] AS [Priority],
|
|
[VW_ProjectAccessByUserExtended].[Probability] AS [Probability],
|
|
[VW_ProjectAccessByUserExtended].[IsRevenueGenerating] AS [IsRevenueGenerating],
|
|
[VW_ProjectAccessByUserExtended].[Deadline] AS [Deadline],
|
|
[VW_ProjectAccessByUserExtended].[ParentProjectId] AS [ParentProjectId],
|
|
[VW_ProjectAccessByUserExtended].[HasChildren] AS [HasChildren],
|
|
[VW_ProjectAccessByUserExtended].[PerformanceRedThreshold] AS [PerformanceRedThreshold],
|
|
[VW_ProjectAccessByUserExtended].[PerformanceYellowThreshold] AS [PerformanceYellowThreshold],
|
|
[VW_ProjectAccessByUserExtended].[PartNum] AS [PartNum],
|
|
[VW_ProjectAccessByUserExtended].[EditTimestamp] AS [EditTimestamp],
|
|
[VW_ProjectAccessByUserExtended].[UserId] AS [UserId],
|
|
[VW_ProjectAccessByUserExtended].[StatusName] AS [StatusName],
|
|
[VW_ProjectAccessByUserExtended].[CompanyName] AS [CompanyName],
|
|
[VW_ProjectAccessByUserExtended].[ClientName] AS [ClientName],
|
|
[VW_ProjectAccessByUserExtended].[TypeName] AS [TypeName],
|
|
[VW_ProjectAccessByUserExtended].[ActiveScenarioId] AS [ActiveScenarioId],
|
|
[VW_ProjectAccessByUserExtended].[ActiveScenarioName] AS [ActiveScenarioName],
|
|
[VW_ProjectAccessByUserExtended].[Read] AS [Read],
|
|
[VW_ProjectAccessByUserExtended].[Write] AS [Write],
|
|
[VW_ProjectAccessByUserExtended].[ParentProjectName] AS [ParentProjectName],
|
|
[VW_ProjectAccessByUserExtended].[ParentProjectColor] AS [ParentProjectColor]
|
|
FROM [dbo].[VW_ProjectAccessByUserExtended] AS [VW_ProjectAccessByUserExtended]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_ProjectDependencies" EntityType="Self.VW_ProjectDependencies" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_ProjectDependencies].[Id] AS [Id],
|
|
[VW_ProjectDependencies].[SourceProjectId] AS [SourceProjectId],
|
|
[VW_ProjectDependencies].[TargetProjectId] AS [TargetProjectId],
|
|
[VW_ProjectDependencies].[Type] AS [Type],
|
|
[VW_ProjectDependencies].[SourceProjectName] AS [SourceProjectName],
|
|
[VW_ProjectDependencies].[TargetProjectName] AS [TargetProjectName],
|
|
[VW_ProjectDependencies].[SourceStartDate] AS [SourceStartDate],
|
|
[VW_ProjectDependencies].[SourceEndDate] AS [SourceEndDate],
|
|
[VW_ProjectDependencies].[TargetStartDate] AS [TargetStartDate],
|
|
[VW_ProjectDependencies].[TargetEndDate] AS [TargetEndDate],
|
|
[VW_ProjectDependencies].[SourceDeadline] AS [SourceDeadline],
|
|
[VW_ProjectDependencies].[TargetDeadline] AS [TargetDeadline],
|
|
[VW_ProjectDependencies].[SourceHasActuals] AS [SourceHasActuals],
|
|
[VW_ProjectDependencies].[TargetHasActuals] AS [TargetHasActuals]
|
|
FROM [dbo].[VW_ProjectDependencies] AS [VW_ProjectDependencies]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_ProjectNeedUnassigned" EntityType="Self.VW_ProjectNeedUnassigned" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_ProjectNeedUnassigned].[ProjectId] AS [ProjectId],
|
|
[VW_ProjectNeedUnassigned].[ScenarioId] AS [ScenarioId],
|
|
[VW_ProjectNeedUnassigned].[ExpenditureCategoryId] AS [ExpenditureCategoryId],
|
|
[VW_ProjectNeedUnassigned].[WeekEndingDate] AS [WeekEndingDate],
|
|
[VW_ProjectNeedUnassigned].[RemainingQuantity] AS [RemainingQuantity]
|
|
FROM [dbo].[VW_ProjectNeedUnassigned] AS [VW_ProjectNeedUnassigned]</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].[ForecastTotalQuantity] AS [ForecastTotalQuantity],
|
|
[VW_ProjectPerformance].[ActualsTotalQuantity] AS [ActualsTotalQuantity],
|
|
[VW_ProjectPerformance].[VariationQuantityPercent] AS [VariationQuantityPercent],
|
|
[VW_ProjectPerformance].[Status] AS [Status],
|
|
[VW_ProjectPerformance].[BUDirectCosts] AS [BUDirectCosts],
|
|
[VW_ProjectPerformance].[ScenarioEndDate] AS [ScenarioEndDate],
|
|
[VW_ProjectPerformance].[ScenarioStartDate] AS [ScenarioStartDate],
|
|
[VW_ProjectPerformance].[ProjectId] AS [ProjectId],
|
|
[VW_ProjectPerformance].[ProjectName] AS [ProjectName],
|
|
[VW_ProjectPerformance].[ProjectTypeId] AS [ProjectTypeId],
|
|
[VW_ProjectPerformance].[ProjectPriority] AS [ProjectPriority],
|
|
[VW_ProjectPerformance].[StatusId] AS [StatusId],
|
|
[VW_ProjectPerformance].[ClientId] AS [ClientId],
|
|
[VW_ProjectPerformance].[ProjectTypeName] AS [ProjectTypeName],
|
|
[VW_ProjectPerformance].[StrategicGoalId] AS [StrategicGoalId],
|
|
[VW_ProjectPerformance].[TagID] AS [TagID],
|
|
[VW_ProjectPerformance].[ActualsCostForecasted] AS [ActualsCostForecasted],
|
|
[VW_ProjectPerformance].[ActualsCostVariation] AS [ActualsCostVariation],
|
|
[VW_ProjectPerformance].[ActualsQuantityVariation] AS [ActualsQuantityVariation],
|
|
[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_ProjectTeamsResourceAllocated" EntityType="Self.VW_ProjectTeamsResourceAllocated" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_ProjectTeamsResourceAllocated].[ProjectId] AS [ProjectId],
|
|
[VW_ProjectTeamsResourceAllocated].[ScenarioId] AS [ScenarioId],
|
|
[VW_ProjectTeamsResourceAllocated].[ScenarioType] AS [ScenarioType],
|
|
[VW_ProjectTeamsResourceAllocated].[TeamId] AS [TeamId]
|
|
FROM [dbo].[VW_ProjectTeamsResourceAllocated] AS [VW_ProjectTeamsResourceAllocated]</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].[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].[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],
|
|
[VW_ScenarioAndProxyDetails].[AllowResourceAssignment] AS [AllowResourceAssignment]
|
|
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].[ForecastTotalQuantity] AS [ForecastTotalQuantity],
|
|
[VW_ScenarioPerformance].[ActualsTotalQuantity] AS [ActualsTotalQuantity],
|
|
[VW_ScenarioPerformance].[VariationPercent] AS [VariationPercent],
|
|
[VW_ScenarioPerformance].[VariationQuantityPercent] AS [VariationQuantityPercent]
|
|
FROM [dbo].[VW_ScenarioPerformance] AS [VW_ScenarioPerformance]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_Skill2Resource" EntityType="Self.VW_Skill2Resource" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_Skill2Resource].[Id] AS [Id],
|
|
[VW_Skill2Resource].[Type] AS [Type],
|
|
[VW_Skill2Resource].[EffectiveDate] AS [EffectiveDate],
|
|
[VW_Skill2Resource].[SkillId] AS [SkillId],
|
|
[VW_Skill2Resource].[ResourceId] AS [ResourceId],
|
|
[VW_Skill2Resource].[Level] AS [Level],
|
|
[VW_Skill2Resource].[Interested] AS [Interested],
|
|
[VW_Skill2Resource].[DateCreated] AS [DateCreated],
|
|
[VW_Skill2Resource].[SkillGroupId] AS [SkillGroupId],
|
|
[VW_Skill2Resource].[AssignedToGroup] AS [AssignedToGroup],
|
|
[VW_Skill2Resource].[PastYearDateOffset] AS [PastYearDateOffset],
|
|
[VW_Skill2Resource].[FutureYearDateOffset] AS [FutureYearDateOffset]
|
|
FROM [dbo].[VW_Skill2Resource] AS [VW_Skill2Resource]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_Team2View" EntityType="Self.VW_Team2View" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_Team2View].[ViewId] AS [ViewId],
|
|
[VW_Team2View].[TeamId] AS [TeamId]
|
|
FROM [dbo].[VW_Team2View] AS [VW_Team2View]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_TeamResource" EntityType="Self.VW_TeamResource" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_TeamResource].[Id] AS [Id],
|
|
[VW_TeamResource].[FirstName] AS [FirstName],
|
|
[VW_TeamResource].[LastName] AS [LastName],
|
|
[VW_TeamResource].[IsActiveEmployee] AS [IsActiveEmployee],
|
|
[VW_TeamResource].[ExpenditureCategoryId] AS [ExpenditureCategoryId],
|
|
[VW_TeamResource].[StartDate] AS [StartDate],
|
|
[VW_TeamResource].[EndDate] AS [EndDate],
|
|
[VW_TeamResource].[EmployeeID] AS [EmployeeID],
|
|
[VW_TeamResource].[Email] AS [Email],
|
|
[VW_TeamResource].[WorkWeekId] AS [WorkWeekId],
|
|
[VW_TeamResource].[TeamId] AS [TeamId],
|
|
[VW_TeamResource].[TeamStartDate] AS [TeamStartDate],
|
|
[VW_TeamResource].[TeamEndDate] AS [TeamEndDate],
|
|
[VW_TeamResource].[Allocation] AS [Allocation]
|
|
FROM [dbo].[VW_TeamResource] AS [VW_TeamResource]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_User2Company" EntityType="Self.VW_User2Company" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_User2Company].[UserId] AS [UserId],
|
|
[VW_User2Company].[CompanyId] AS [CompanyId],
|
|
[VW_User2Company].[Read] AS [Read],
|
|
[VW_User2Company].[Write] AS [Write]
|
|
FROM [dbo].[VW_User2Company] AS [VW_User2Company]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_User2Company4Display" EntityType="Self.VW_User2Company4Display" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_User2Company4Display].[UserId] AS [UserId],
|
|
[VW_User2Company4Display].[CompanyId] AS [CompanyId],
|
|
[VW_User2Company4Display].[Read] AS [Read],
|
|
[VW_User2Company4Display].[Write] AS [Write]
|
|
FROM [dbo].[VW_User2Company4Display] AS [VW_User2Company4Display]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_User2Team" EntityType="Self.VW_User2Team" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_User2Team].[UserId] AS [UserId],
|
|
[VW_User2Team].[TeamId] AS [TeamId],
|
|
[VW_User2Team].[TeamName] AS [TeamName],
|
|
[VW_User2Team].[CompanyId] AS [CompanyId],
|
|
[VW_User2Team].[Read] AS [Read],
|
|
[VW_User2Team].[Write] AS [Write]
|
|
FROM [dbo].[VW_User2Team] AS [VW_User2Team]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="vw_User2Team2WorkflowRoleContactInfo" EntityType="Self.vw_User2Team2WorkflowRoleContactInfo" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[vw_User2Team2WorkflowRoleContactInfo].[Id] AS [Id],
|
|
[vw_User2Team2WorkflowRoleContactInfo].[UserName] AS [UserName],
|
|
[vw_User2Team2WorkflowRoleContactInfo].[FirstName] AS [FirstName],
|
|
[vw_User2Team2WorkflowRoleContactInfo].[LastName] AS [LastName],
|
|
[vw_User2Team2WorkflowRoleContactInfo].[Email] AS [Email],
|
|
[vw_User2Team2WorkflowRoleContactInfo].[TeamId] AS [TeamId],
|
|
[vw_User2Team2WorkflowRoleContactInfo].[Name] AS [Name],
|
|
[vw_User2Team2WorkflowRoleContactInfo].[RoleName] AS [RoleName]
|
|
FROM [dbo].[vw_User2Team2WorkflowRoleContactInfo] AS [vw_User2Team2WorkflowRoleContactInfo]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="vw_User2WorkFlowRoles" EntityType="Self.vw_User2WorkFlowRoles" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[vw_User2WorkFlowRoles].[Id] AS [Id],
|
|
[vw_User2WorkFlowRoles].[UserName] AS [UserName],
|
|
[vw_User2WorkFlowRoles].[FirstName] AS [FirstName],
|
|
[vw_User2WorkFlowRoles].[LastName] AS [LastName],
|
|
[vw_User2WorkFlowRoles].[Email] AS [Email],
|
|
[vw_User2WorkFlowRoles].[RoleName] AS [RoleName]
|
|
FROM [dbo].[vw_User2WorkFlowRoles] AS [vw_User2WorkFlowRoles]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="vw_WorkflowApprovalHistoryInfo" EntityType="Self.vw_WorkflowApprovalHistoryInfo" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[vw_WorkflowApprovalHistoryInfo].[FirstName] AS [FirstName],
|
|
[vw_WorkflowApprovalHistoryInfo].[LastName] AS [LastName],
|
|
[vw_WorkflowApprovalHistoryInfo].[ScenarioName] AS [ScenarioName],
|
|
[vw_WorkflowApprovalHistoryInfo].[ScenarioId] AS [ScenarioId],
|
|
[vw_WorkflowApprovalHistoryInfo].[TeamName] AS [TeamName],
|
|
[vw_WorkflowApprovalHistoryInfo].[Approved] AS [Approved],
|
|
[vw_WorkflowApprovalHistoryInfo].[DateApproved] AS [DateApproved],
|
|
[vw_WorkflowApprovalHistoryInfo].[StepName] AS [StepName]
|
|
FROM [dbo].[vw_WorkflowApprovalHistoryInfo] AS [vw_WorkflowApprovalHistoryInfo]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_WorkflowModelView" EntityType="Self.VW_WorkflowModelView" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_WorkflowModelView].[Id] AS [Id],
|
|
[VW_WorkflowModelView].[Name] AS [Name],
|
|
[VW_WorkflowModelView].[Code] AS [Code],
|
|
[VW_WorkflowModelView].[ProcessType] AS [ProcessType],
|
|
[VW_WorkflowModelView].[isDefault] AS [isDefault],
|
|
[VW_WorkflowModelView].[CreatedBy] AS [CreatedBy],
|
|
[VW_WorkflowModelView].[DateCreated] AS [DateCreated],
|
|
[VW_WorkflowModelView].[UpdatedBy] AS [UpdatedBy],
|
|
[VW_WorkflowModelView].[UpdateDate] AS [UpdateDate],
|
|
[VW_WorkflowModelView].[isActive] AS [isActive],
|
|
[VW_WorkflowModelView].[Scheme] AS [Scheme],
|
|
[VW_WorkflowModelView].[isTemplate] AS [isTemplate],
|
|
[VW_WorkflowModelView].[totalRecordInWorkFlow] AS [totalRecordInWorkFlow]
|
|
FROM [dbo].[VW_WorkflowModelView] AS [VW_WorkflowModelView]</DefiningQuery>
|
|
</EntitySet>
|
|
<EntitySet Name="VW_WorkflowRoleModelView" EntityType="Self.VW_WorkflowRoleModelView" store:Type="Views" store:Schema="dbo">
|
|
<DefiningQuery>SELECT
|
|
[VW_WorkflowRoleModelView].[Id] AS [Id],
|
|
[VW_WorkflowRoleModelView].[RoleName] AS [RoleName],
|
|
[VW_WorkflowRoleModelView].[UsersInRole] AS [UsersInRole]
|
|
FROM [dbo].[VW_WorkflowRoleModelView] AS [VW_WorkflowRoleModelView]</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_Company2View_CompanyId" Association="Self.FK_Company2View_CompanyId">
|
|
<End Role="Company" EntitySet="Company" />
|
|
<End Role="Company2View" EntitySet="Company2View" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Company2View_ViewId" Association="Self.FK_Company2View_ViewId">
|
|
<End Role="View" EntitySet="View" />
|
|
<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_AspNetUserClaims_dbo_AspNetUsers_User_Id" Association="Self.FK_dbo_AspNetUserClaims_dbo_AspNetUsers_User_Id">
|
|
<End Role="AspNetUsers" EntitySet="AspNetUsers" />
|
|
<End Role="AspNetUserClaims" EntitySet="AspNetUserClaims" />
|
|
</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_Holiday2ExpenditureCategory_ExpenditureCategory" Association="Self.FK_Holiday2ExpenditureCategory_ExpenditureCategory">
|
|
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
|
|
<End Role="Holiday2ExpenditureCategory" EntitySet="Holiday2ExpenditureCategory" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Holiday2ExpenditureCategory_Holiday" Association="Self.FK_Holiday2ExpenditureCategory_Holiday">
|
|
<End Role="Holiday" EntitySet="Holiday" />
|
|
<End Role="Holiday2ExpenditureCategory" EntitySet="Holiday2ExpenditureCategory" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Holiday2PeopleResource_Holiday" Association="Self.FK_Holiday2PeopleResource_Holiday">
|
|
<End Role="Holiday" EntitySet="Holiday" />
|
|
<End Role="Holiday2PeopleResource" EntitySet="Holiday2PeopleResource" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Holiday2PeopleResource_PeopleResource" Association="Self.FK_Holiday2PeopleResource_PeopleResource">
|
|
<End Role="PeopleResource" EntitySet="PeopleResource" />
|
|
<End Role="Holiday2PeopleResource" EntitySet="Holiday2PeopleResource" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Holiday2Team_Holiday" Association="Self.FK_Holiday2Team_Holiday">
|
|
<End Role="Holiday" EntitySet="Holiday" />
|
|
<End Role="Holiday2Team" EntitySet="Holiday2Team" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Holiday2Team_Team" Association="Self.FK_Holiday2Team_Team">
|
|
<End Role="Team" EntitySet="Team" />
|
|
<End Role="Holiday2Team" EntitySet="Holiday2Team" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_HolidayAllocation_Holiday" Association="Self.FK_HolidayAllocation_Holiday">
|
|
<End Role="Holiday" EntitySet="Holiday" />
|
|
<End Role="HolidayAllocation" EntitySet="HolidayAllocation" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_NonProjectTime_NonProjectTimeCategory" Association="Self.FK_NonProjectTime_NonProjectTimeCategory">
|
|
<End Role="NonProjectTimeCategory" EntitySet="NonProjectTimeCategory" />
|
|
<End Role="NonProjectTime" EntitySet="NonProjectTime" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_NonProjectTime2Resource_NonProjectTime2Resource" Association="Self.FK_NonProjectTime2Resource_NonProjectTime2Resource">
|
|
<End Role="NonProjectTime" EntitySet="NonProjectTime" />
|
|
<End Role="NonProjectTime2Resource" EntitySet="NonProjectTime2Resource" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_NonProjectTime2Resource_PeopleResource" Association="Self.FK_NonProjectTime2Resource_PeopleResource">
|
|
<End Role="PeopleResource" EntitySet="PeopleResource" />
|
|
<End Role="NonProjectTime2Resource" EntitySet="NonProjectTime2Resource" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_NonProjectTime2Team_NonProjectTime" Association="Self.FK_NonProjectTime2Team_NonProjectTime">
|
|
<End Role="NonProjectTime" EntitySet="NonProjectTime" />
|
|
<End Role="NonProjectTime2Team" EntitySet="NonProjectTime2Team" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_NonProjectTime2Team_Team" Association="Self.FK_NonProjectTime2Team_Team">
|
|
<End Role="Team" EntitySet="Team" />
|
|
<End Role="NonProjectTime2Team" EntitySet="NonProjectTime2Team" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_NonProjectTimeResourceAllocation_NonProjectTime2Resource" Association="Self.FK_NonProjectTimeResourceAllocation_NonProjectTime2Resource">
|
|
<End Role="NonProjectTime2Resource" EntitySet="NonProjectTime2Resource" />
|
|
<End Role="NonProjectTimeResourceAllocation" EntitySet="NonProjectTimeResourceAllocation" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_NonProjectTimeTeamAllocation_NonProjectTime2Team" Association="Self.FK_NonProjectTimeTeamAllocation_NonProjectTime2Team">
|
|
<End Role="NonProjectTime2Team" EntitySet="NonProjectTime2Team" />
|
|
<End Role="NonProjectTimeTeamAllocation" EntitySet="NonProjectTimeTeamAllocation" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_NotificationToWorkFlowState_WorkFlowContacts" Association="Self.FK_NotificationToWorkFlowState_WorkFlowContacts">
|
|
<End Role="WorkFlowContacts" EntitySet="WorkFlowContacts" />
|
|
<End Role="NotificationToWorkFlowState" EntitySet="NotificationToWorkFlowState" />
|
|
</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_PeopleResource_WorkWeekId" Association="Self.FK_PeopleResource_WorkWeekId">
|
|
<End Role="WorkWeek" EntitySet="WorkWeek" />
|
|
<End Role="PeopleResource" EntitySet="PeopleResource" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_PeopleResource2Team_PeopleResource" Association="Self.FK_PeopleResource2Team_PeopleResource">
|
|
<End Role="PeopleResource" EntitySet="PeopleResource" />
|
|
<End Role="PeopleResource2Team" EntitySet="PeopleResource2Team" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_PeopleResource2Team_Team" Association="Self.FK_PeopleResource2Team_Team">
|
|
<End Role="Team" EntitySet="Team" />
|
|
<End Role="PeopleResource2Team" EntitySet="PeopleResource2Team" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_PeopleResourceActuals_PeopleResource" Association="Self.FK_PeopleResourceActuals_PeopleResource">
|
|
<End Role="PeopleResource" EntitySet="PeopleResource" />
|
|
<End Role="PeopleResourceActuals" EntitySet="PeopleResourceActuals" />
|
|
</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_PeopleResourceAllocation_Team" Association="Self.FK_PeopleResourceAllocation_Team">
|
|
<End Role="Team" EntitySet="Team" />
|
|
<End Role="PeopleResourceAllocation" EntitySet="PeopleResourceAllocation" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_PeopleResourceExpCatChanges_ExpenditureCategory" Association="Self.FK_PeopleResourceExpCatChanges_ExpenditureCategory">
|
|
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
|
|
<End Role="PeopleResourceExpCatChange" EntitySet="PeopleResourceExpCatChange" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_PeopleResourceExpCatChanges_PeopleResource" Association="Self.FK_PeopleResourceExpCatChanges_PeopleResource">
|
|
<End Role="PeopleResource" EntitySet="PeopleResource" />
|
|
<End Role="PeopleResourceExpCatChange" EntitySet="PeopleResourceExpCatChange" />
|
|
</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_ProjectDependency_Source" Association="Self.FK_ProjectDependency_Source">
|
|
<End Role="Project" EntitySet="Project" />
|
|
<End Role="ProjectDependency" EntitySet="ProjectDependency" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_ProjectDependency_Target" Association="Self.FK_ProjectDependency_Target">
|
|
<End Role="Project" EntitySet="Project" />
|
|
<End Role="ProjectDependency" EntitySet="ProjectDependency" />
|
|
</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_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_Skill_Skill" Association="Self.FK_Skill_Skill">
|
|
<End Role="Skill" EntitySet="Skill" />
|
|
<End Role="Skill1" EntitySet="Skill" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Skill2Resource_ResourceId" Association="Self.FK_Skill2Resource_ResourceId">
|
|
<End Role="PeopleResource" EntitySet="PeopleResource" />
|
|
<End Role="Skill2Resource" EntitySet="Skill2Resource" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Skill2Resource_SkillId" Association="Self.FK_Skill2Resource_SkillId">
|
|
<End Role="Skill" EntitySet="Skill" />
|
|
<End Role="Skill2Resource" EntitySet="Skill2Resource" />
|
|
</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_Team2View_TeamId" Association="Self.FK_Team2View_TeamId">
|
|
<End Role="Team" EntitySet="Team" />
|
|
<End Role="Team2View" EntitySet="Team2View" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Team2View_ViewId" Association="Self.FK_Team2View_ViewId">
|
|
<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_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_User2Company_Company" Association="Self.FK_User2Company_Company">
|
|
<End Role="Company" EntitySet="Company" />
|
|
<End Role="User2Company" EntitySet="User2Company" />
|
|
</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_User2WorkFlowRole_AspNetUsers" Association="Self.FK_User2WorkFlowRole_AspNetUsers">
|
|
<End Role="AspNetUsers" EntitySet="AspNetUsers" />
|
|
<End Role="User2WorkFlowRole" EntitySet="User2WorkFlowRole" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_User2WorkFlowRole_WorkFlowRoles" Association="Self.FK_User2WorkFlowRole_WorkFlowRoles">
|
|
<End Role="WorkFlowRoles" EntitySet="WorkFlowRoles" />
|
|
<End Role="User2WorkFlowRole" EntitySet="User2WorkFlowRole" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_UserDefinedValue_UserDefinedField" Association="Self.FK_UserDefinedValue_UserDefinedField">
|
|
<End Role="UserDefinedField" EntitySet="UserDefinedField" />
|
|
<End Role="UserDefinedValue" EntitySet="UserDefinedValue" />
|
|
</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="EnVisageModel.ContactType" 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="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" />
|
|
<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="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="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="Team2Project" EntityType="EnVisageModel.Team2Project" />
|
|
<EntitySet Name="PeopleResourceVacations" EntityType="EnVisageModel.PeopleResourceVacation" />
|
|
<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_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="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="User2View" EntityType="EnVisageModel.User2View" />
|
|
<EntitySet Name="Views" EntityType="EnVisageModel.View" />
|
|
<AssociationSet Name="FK_User2Department_Department" Association="EnVisageModel.FK_User2Department_Department">
|
|
<End Role="View" EntitySet="Views" />
|
|
<End Role="User2View" EntitySet="User2View" />
|
|
</AssociationSet>
|
|
<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_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_User2Team_Team" Association="EnVisageModel.FK_User2Team_Team">
|
|
<End Role="Team" EntitySet="Teams" />
|
|
<End Role="User2Team" EntitySet="User2Team" />
|
|
</AssociationSet>
|
|
<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="UserPreferences" EntityType="EnVisageModel.UserPreference" />
|
|
<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="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_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" />
|
|
<EntitySet Name="NotificationControls" EntityType="EnVisageModel.NotificationControl" />
|
|
<EntitySet Name="Skills" EntityType="EnVisageModel.Skill" />
|
|
<AssociationSet Name="FK_Skill_Skill" Association="EnVisageModel.FK_Skill_Skill">
|
|
<End Role="Skill" EntitySet="Skills" />
|
|
<End Role="Skill1" EntitySet="Skills" />
|
|
</AssociationSet>
|
|
<EntitySet Name="supt_ImportMessages" EntityType="EnVisageModel.supt_ImportMessages" />
|
|
<EntitySet Name="Vacations" EntityType="EnVisageModel.Vacation" />
|
|
<AssociationSet Name="FK_PeopleResourceVacation_Vacation" Association="EnVisageModel.FK_PeopleResourceVacation_Vacation">
|
|
<End Role="Vacation" EntitySet="Vacations" />
|
|
<End Role="PeopleResourceVacation" EntitySet="PeopleResourceVacations" />
|
|
</AssociationSet>
|
|
<EntitySet Name="WorkWeeks" EntityType="EnVisageModel.WorkWeek" />
|
|
<EntitySet Name="PeopleResourceActuals" EntityType="EnVisageModel.PeopleResourceActual" />
|
|
<EntitySet Name="Skill2Resource" EntityType="EnVisageModel.Skill2Resource" />
|
|
<AssociationSet Name="FK_Skill2Resource_SkillId" Association="EnVisageModel.FK_Skill2Resource_SkillId">
|
|
<End Role="Skill" EntitySet="Skills" />
|
|
<End Role="Skill2Resource" EntitySet="Skill2Resource" />
|
|
</AssociationSet>
|
|
<EntitySet Name="VW_Skill2Resource" EntityType="EnVisageModel.VW_Skill2Resource" />
|
|
<EntitySet Name="NonProjectTimeCategories" EntityType="EnVisageModel.NonProjectTimeCategory" />
|
|
<EntitySet Name="Holiday2ExpenditureCategory" EntityType="EnVisageModel.Holiday2ExpenditureCategory" />
|
|
<EntitySet Name="Holiday2PeopleResource" EntityType="EnVisageModel.Holiday2PeopleResource" />
|
|
<EntitySet Name="Holiday2Team" EntityType="EnVisageModel.Holiday2Team" />
|
|
<AssociationSet Name="FK_Holiday2ExpenditureCategory_ExpenditureCategory" Association="EnVisageModel.FK_Holiday2ExpenditureCategory_ExpenditureCategory">
|
|
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
|
|
<End Role="Holiday2ExpenditureCategory" EntitySet="Holiday2ExpenditureCategory" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Holiday2Team_Team" Association="EnVisageModel.FK_Holiday2Team_Team">
|
|
<End Role="Team" EntitySet="Teams" />
|
|
<End Role="Holiday2Team" EntitySet="Holiday2Team" />
|
|
</AssociationSet>
|
|
<EntitySet Name="Holidays" EntityType="EnVisageModel.Holiday" />
|
|
<EntitySet Name="HolidayAllocations" EntityType="EnVisageModel.HolidayAllocation" />
|
|
<AssociationSet Name="FK_Holiday2ExpenditureCategory_Holiday" Association="EnVisageModel.FK_Holiday2ExpenditureCategory_Holiday">
|
|
<End Role="Holiday" EntitySet="Holidays" />
|
|
<End Role="Holiday2ExpenditureCategory" EntitySet="Holiday2ExpenditureCategory" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Holiday2PeopleResource_Holiday" Association="EnVisageModel.FK_Holiday2PeopleResource_Holiday">
|
|
<End Role="Holiday" EntitySet="Holidays" />
|
|
<End Role="Holiday2PeopleResource" EntitySet="Holiday2PeopleResource" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Holiday2Team_Holiday" Association="EnVisageModel.FK_Holiday2Team_Holiday">
|
|
<End Role="Holiday" EntitySet="Holidays" />
|
|
<End Role="Holiday2Team" EntitySet="Holiday2Team" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_HolidayAllocation_Holiday" Association="EnVisageModel.FK_HolidayAllocation_Holiday">
|
|
<End Role="Holiday" EntitySet="Holidays" />
|
|
<End Role="HolidayAllocation" EntitySet="HolidayAllocations" />
|
|
</AssociationSet>
|
|
<EntitySet Name="NonProjectTimes" EntityType="EnVisageModel.NonProjectTime" />
|
|
<AssociationSet Name="FK_NonProjectTime_NonProjectTimeCategory" Association="EnVisageModel.FK_NonProjectTime_NonProjectTimeCategory">
|
|
<End Role="NonProjectTimeCategory" EntitySet="NonProjectTimeCategories" />
|
|
<End Role="NonProjectTime" EntitySet="NonProjectTimes" />
|
|
</AssociationSet>
|
|
<EntitySet Name="VW_HolidayAllocation" EntityType="EnVisageModel.VW_HolidayAllocation" />
|
|
<EntitySet Name="VW_Holiday" EntityType="EnVisageModel.VW_Holiday" />
|
|
<EntitySet Name="VW_PlanningCapacityAdjusted" EntityType="EnVisageModel.VW_PlanningCapacityAdjusted" />
|
|
<EntitySet Name="PeopleResource2Team" EntityType="EnVisageModel.PeopleResource2Team" />
|
|
<AssociationSet Name="FK_PeopleResource2Team_Team" Association="EnVisageModel.FK_PeopleResource2Team_Team">
|
|
<End Role="Team" EntitySet="Teams" />
|
|
<End Role="PeopleResource2Team" EntitySet="PeopleResource2Team" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_PeopleResourceAllocation_Team" Association="EnVisageModel.FK_PeopleResourceAllocation_Team">
|
|
<End Role="Team" EntitySet="Teams" />
|
|
<End Role="PeopleResourceAllocation" EntitySet="PeopleResourceAllocations" />
|
|
</AssociationSet>
|
|
<EntitySet Name="VW_TeamResource" EntityType="EnVisageModel.VW_TeamResource" />
|
|
<EntitySet Name="PeopleResources" EntityType="EnVisageModel.PeopleResource" />
|
|
<AssociationSet Name="FK_Resource_Expenditure_Category" Association="EnVisageModel.FK_Resource_Expenditure_Category">
|
|
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
|
|
<End Role="PeopleResource" EntitySet="PeopleResources" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Holiday2PeopleResource_PeopleResource" Association="EnVisageModel.FK_Holiday2PeopleResource_PeopleResource">
|
|
<End Role="PeopleResource" EntitySet="PeopleResources" />
|
|
<End Role="Holiday2PeopleResource" EntitySet="Holiday2PeopleResource" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_PeopleResource_WorkWeekId" Association="EnVisageModel.FK_PeopleResource_WorkWeekId">
|
|
<End Role="WorkWeek" EntitySet="WorkWeeks" />
|
|
<End Role="PeopleResource" EntitySet="PeopleResources" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_PeopleResource2Team_PeopleResource" Association="EnVisageModel.FK_PeopleResource2Team_PeopleResource">
|
|
<End Role="PeopleResource" EntitySet="PeopleResources" />
|
|
<End Role="PeopleResource2Team" EntitySet="PeopleResource2Team" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_PeopleResourceActuals_PeopleResource" Association="EnVisageModel.FK_PeopleResourceActuals_PeopleResource">
|
|
<End Role="PeopleResource" EntitySet="PeopleResources" />
|
|
<End Role="PeopleResourceActual" EntitySet="PeopleResourceActuals" />
|
|
</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_PeopleResourceVacation_PeopleResource" Association="EnVisageModel.FK_PeopleResourceVacation_PeopleResource">
|
|
<End Role="PeopleResource" EntitySet="PeopleResources" />
|
|
<End Role="PeopleResourceVacation" EntitySet="PeopleResourceVacations" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Skill2Resource_ResourceId" Association="EnVisageModel.FK_Skill2Resource_ResourceId">
|
|
<End Role="PeopleResource" EntitySet="PeopleResources" />
|
|
<End Role="Skill2Resource" EntitySet="Skill2Resource" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Vacation_PeopleResource" Association="EnVisageModel.FK_Vacation_PeopleResource">
|
|
<End Role="PeopleResource" EntitySet="PeopleResources" />
|
|
<End Role="Vacation" EntitySet="Vacations" />
|
|
</AssociationSet>
|
|
<EntitySet Name="VW_ExpendituresWithAdjustmentFactor" EntityType="EnVisageModel.VW_ExpendituresWithAdjustmentFactor" />
|
|
<EntitySet Name="NonProjectTime2Resource" EntityType="EnVisageModel.NonProjectTime2Resource" />
|
|
<AssociationSet Name="FK_NonProjectTime2Resource_NonProjectTime2Resource" Association="EnVisageModel.FK_NonProjectTime2Resource_NonProjectTime2Resource">
|
|
<End Role="NonProjectTime" EntitySet="NonProjectTimes" />
|
|
<End Role="NonProjectTime2Resource" EntitySet="NonProjectTime2Resource" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_NonProjectTime2Resource_PeopleResource" Association="EnVisageModel.FK_NonProjectTime2Resource_PeopleResource">
|
|
<End Role="PeopleResource" EntitySet="PeopleResources" />
|
|
<End Role="NonProjectTime2Resource" EntitySet="NonProjectTime2Resource" />
|
|
</AssociationSet>
|
|
<EntitySet Name="VW_NonProjectTimeAllocation" EntityType="EnVisageModel.VW_NonProjectTimeAllocation" />
|
|
<EntitySet Name="NonProjectTimeResourceAllocations" EntityType="EnVisageModel.NonProjectTimeResourceAllocation" />
|
|
<AssociationSet Name="FK_NonProjectTimeResourceAllocation_NonProjectTime2Resource" Association="EnVisageModel.FK_NonProjectTimeResourceAllocation_NonProjectTime2Resource">
|
|
<End Role="NonProjectTime2Resource" EntitySet="NonProjectTime2Resource" />
|
|
<End Role="NonProjectTimeResourceAllocation" EntitySet="NonProjectTimeResourceAllocations" />
|
|
</AssociationSet>
|
|
<EntitySet Name="NonProjectTime2Team" EntityType="EnVisageModel.NonProjectTime2Team" />
|
|
<EntitySet Name="NonProjectTimeTeamAllocations" EntityType="EnVisageModel.NonProjectTimeTeamAllocation" />
|
|
<AssociationSet Name="FK_NonProjectTime2Team_NonProjectTime" Association="EnVisageModel.FK_NonProjectTime2Team_NonProjectTime">
|
|
<End Role="NonProjectTime" EntitySet="NonProjectTimes" />
|
|
<End Role="NonProjectTime2Team" EntitySet="NonProjectTime2Team" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_NonProjectTime2Team_Team" Association="EnVisageModel.FK_NonProjectTime2Team_Team">
|
|
<End Role="Team" EntitySet="Teams" />
|
|
<End Role="NonProjectTime2Team" EntitySet="NonProjectTime2Team" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_NonProjectTimeTeamAllocation_NonProjectTime2Team" Association="EnVisageModel.FK_NonProjectTimeTeamAllocation_NonProjectTime2Team">
|
|
<End Role="NonProjectTime2Team" EntitySet="NonProjectTime2Team" />
|
|
<End Role="NonProjectTimeTeamAllocation" EntitySet="NonProjectTimeTeamAllocations" />
|
|
</AssociationSet>
|
|
<FunctionImport Name="resourceAvailability_f" IsComposable="true" ReturnType="Collection(EnVisageModel.resourceAvailability_f_Result)">
|
|
<Parameter Name="StartDate" Mode="In" Type="DateTime" />
|
|
<Parameter Name="EndDate" Mode="In" Type="DateTime" />
|
|
<Parameter Name="Per" Mode="In" Type="String" />
|
|
<Parameter Name="AvailableHours" Mode="In" Type="Double" />
|
|
<Parameter Name="DisregardNPTime" Mode="In" Type="Boolean" />
|
|
</FunctionImport>
|
|
<EntitySet Name="VW_ActualCapacityAdjustmentByExpCats" EntityType="EnVisageModel.VW_ActualCapacityAdjustmentByExpCats" />
|
|
<EntitySet Name="VW_ActualCapacityAdjusted" EntityType="EnVisageModel.VW_ActualCapacityAdjusted" />
|
|
<EntitySet Name="VW_ActualCapacityByTeamsAdjusted" EntityType="EnVisageModel.VW_ActualCapacityByTeamsAdjusted" />
|
|
<EntitySet Name="VW_ActualCapacityByTeamsDirect" EntityType="EnVisageModel.VW_ActualCapacityByTeamsDirect" />
|
|
<EntitySet Name="VW_ActualCapacityDirect" EntityType="EnVisageModel.VW_ActualCapacityDirect" />
|
|
<EntitySet Name="VW_NonProjectTimeInvalidItems" EntityType="EnVisageModel.VW_NonProjectTimeInvalidItems" />
|
|
<EntitySet Name="Tags" EntityType="EnVisageModel.Tag" />
|
|
<EntitySet Name="TagGroups" EntityType="EnVisageModel.TagGroup" />
|
|
<EntitySet Name="TagLinks" EntityType="EnVisageModel.TagLink" />
|
|
<AssociationSet Name="FK_TagLink_Tag" Association="EnVisageModel.FK_TagLink_Tag">
|
|
<End Role="Tag" EntitySet="Tags" />
|
|
<End Role="TagLink" EntitySet="TagLinks" />
|
|
</AssociationSet>
|
|
<EntitySet Name="User2Company" EntityType="EnVisageModel.User2Company" />
|
|
<AssociationSet Name="FK_User2Company_Company" Association="EnVisageModel.FK_User2Company_Company">
|
|
<End Role="Company" EntitySet="Companies" />
|
|
<End Role="User2Company" EntitySet="User2Company" />
|
|
</AssociationSet>
|
|
<EntitySet Name="VW_ProjectNeedUnassigned" EntityType="EnVisageModel.VW_ProjectNeedUnassigned" />
|
|
<EntitySet Name="VW_User2Company" EntityType="EnVisageModel.VW_User2Company" />
|
|
<EntitySet Name="VW_User2Company4Display" EntityType="EnVisageModel.VW_User2Company4Display" />
|
|
<EntitySet Name="Company2View" EntityType="EnVisageModel.Company2View" />
|
|
<EntitySet Name="Team2View" EntityType="EnVisageModel.Team2View" />
|
|
<AssociationSet Name="FK_Company2View_CompanyId" Association="EnVisageModel.FK_Company2View_CompanyId">
|
|
<End Role="Company" EntitySet="Companies" />
|
|
<End Role="Company2View" EntitySet="Company2View" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Company2View_ViewId" Association="EnVisageModel.FK_Company2View_ViewId">
|
|
<End Role="View" EntitySet="Views" />
|
|
<End Role="Company2View" EntitySet="Company2View" />
|
|
</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_Team2View_ViewId" Association="EnVisageModel.FK_Team2View_ViewId">
|
|
<End Role="View" EntitySet="Views" />
|
|
<End Role="Team2View" EntitySet="Team2View" />
|
|
</AssociationSet>
|
|
<EntitySet Name="Notes" EntityType="EnVisageModel.Note" />
|
|
<EntitySet Name="UserDefinedFields" EntityType="EnVisageModel.UserDefinedField" />
|
|
<EntitySet Name="UserDefinedValues" EntityType="EnVisageModel.UserDefinedValue" />
|
|
<AssociationSet Name="FK_UserDefinedValue_UserDefinedField" Association="EnVisageModel.FK_UserDefinedValue_UserDefinedField">
|
|
<End Role="UserDefinedField" EntitySet="UserDefinedFields" />
|
|
<End Role="UserDefinedValue" EntitySet="UserDefinedValues" />
|
|
</AssociationSet>
|
|
<EntitySet Name="VW_Company2View" EntityType="EnVisageModel.VW_Company2View" />
|
|
<EntitySet Name="VW_Team2View" EntityType="EnVisageModel.VW_Team2View" />
|
|
<EntitySet Name="VW_ProjectPerformance" EntityType="EnVisageModel.VW_ProjectPerformance" />
|
|
<EntitySet Name="VW_Scenario2Project" EntityType="EnVisageModel.VW_Scenario2Project" />
|
|
<EntitySet Name="Projects" EntityType="EnVisageModel.Project" />
|
|
<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_StrategicGoal2Project_Project" Association="EnVisageModel.FK_StrategicGoal2Project_Project">
|
|
<End Role="Project" EntitySet="Projects" />
|
|
<End Role="StrategicGoal2Project" EntitySet="StrategicGoal2Project" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_Team2Project_Project" Association="EnVisageModel.FK_Team2Project_Project">
|
|
<End Role="Project" EntitySet="Projects" />
|
|
<End Role="Team2Project" EntitySet="Team2Project" />
|
|
</AssociationSet>
|
|
<EntitySet Name="WorkflowGlobalParameters" EntityType="EnVisageModel.WorkflowGlobalParameter" />
|
|
<EntitySet Name="WorkflowInboxes" EntityType="EnVisageModel.WorkflowInbox" />
|
|
<EntitySet Name="WorkflowProcessInstances" EntityType="EnVisageModel.WorkflowProcessInstance" />
|
|
<EntitySet Name="WorkflowProcessInstancePersistences" EntityType="EnVisageModel.WorkflowProcessInstancePersistence" />
|
|
<EntitySet Name="WorkflowProcessInstanceStatus" EntityType="EnVisageModel.WorkflowProcessInstanceStatu" />
|
|
<EntitySet Name="WorkflowProcessSchemes" EntityType="EnVisageModel.WorkflowProcessScheme" />
|
|
<EntitySet Name="WorkflowProcessTimers" EntityType="EnVisageModel.WorkflowProcessTimer" />
|
|
<FunctionImport Name="DropWorkflowInbox">
|
|
<Parameter Name="processId" Mode="In" Type="Guid" />
|
|
</FunctionImport>
|
|
<FunctionImport Name="DropWorkflowProcess">
|
|
<Parameter Name="id" Mode="In" Type="Guid" />
|
|
</FunctionImport>
|
|
<FunctionImport Name="DropWorkflowProcesses" />
|
|
<EntitySet Name="WorkflowSchemes" EntityType="EnVisageModel.WorkflowScheme" />
|
|
<EntitySet Name="VW_WorkflowModelView" EntityType="EnVisageModel.VW_WorkflowModelView" />
|
|
<EntitySet Name="IntegrationConnectionInfoes" EntityType="EnVisageModel.IntegrationConnectionInfo" />
|
|
<EntitySet Name="Type2WorkFlowScheme" EntityType="EnVisageModel.Type2WorkFlowScheme" />
|
|
<EntitySet Name="WorkFlowRoles" EntityType="EnVisageModel.WorkFlowRole" />
|
|
<EntitySet Name="VW_WorkflowRoleModelView" EntityType="EnVisageModel.VW_WorkflowRoleModelView" />
|
|
<EntitySet Name="User2WorkFlowRole" EntityType="EnVisageModel.User2WorkFlowRole" />
|
|
<AssociationSet Name="FK_User2WorkFlowRole_WorkFlowRoles" Association="EnVisageModel.FK_User2WorkFlowRole_WorkFlowRoles">
|
|
<End Role="WorkFlowRole" EntitySet="WorkFlowRoles" />
|
|
<End Role="User2WorkFlowRole" EntitySet="User2WorkFlowRole" />
|
|
</AssociationSet>
|
|
<EntitySet Name="Integration2Prevu" EntityType="EnVisageModel.Integration2Prevu" />
|
|
<EntitySet Name="VW_ProjectTeamsResourceAllocated" EntityType="EnVisageModel.VW_ProjectTeamsResourceAllocated" />
|
|
<EntitySet Name="EmailRoutings" EntityType="EnVisageModel.EmailRouting" />
|
|
<EntitySet Name="EmailTemplates" EntityType="EnVisageModel.EmailTemplate" />
|
|
<EntitySet Name="VW_PeopleResourceAllocationsInfo" EntityType="EnVisageModel.VW_PeopleResourceAllocationsInfo" />
|
|
<EntitySet Name="PeopleResourceExpCatChanges" EntityType="EnVisageModel.PeopleResourceExpCatChange" />
|
|
<AssociationSet Name="FK_PeopleResourceExpCatChanges_ExpenditureCategory" Association="EnVisageModel.FK_PeopleResourceExpCatChanges_ExpenditureCategory">
|
|
<End Role="ExpenditureCategory" EntitySet="ExpenditureCategory" />
|
|
<End Role="PeopleResourceExpCatChange" EntitySet="PeopleResourceExpCatChanges" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_PeopleResourceExpCatChanges_PeopleResource" Association="EnVisageModel.FK_PeopleResourceExpCatChanges_PeopleResource">
|
|
<End Role="PeopleResource" EntitySet="PeopleResources" />
|
|
<End Role="PeopleResourceExpCatChange" EntitySet="PeopleResourceExpCatChanges" />
|
|
</AssociationSet>
|
|
<EntitySet Name="Attachments" EntityType="EnVisageModel.Attachment" />
|
|
<EntitySet Name="WorkFlowEmailStores" EntityType="EnVisageModel.WorkFlowEmailStore" />
|
|
<EntitySet Name="WorkFlowEmailStoreLinks" EntityType="EnVisageModel.WorkFlowEmailStoreLink" />
|
|
<EntitySet Name="vw_User2WorkFlowRoles" EntityType="EnVisageModel.vw_User2WorkFlowRoles" />
|
|
<EntitySet Name="vw_User2Team2WorkflowRoleContactInfo" EntityType="EnVisageModel.vw_User2Team2WorkflowRoleContactInfo" />
|
|
<EntitySet Name="Status" EntityType="EnVisageModel.Status" />
|
|
<EntitySet Name="Types" EntityType="EnVisageModel.Type" />
|
|
<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_Type2TypeGroup_Type" Association="EnVisageModel.FK_Type2TypeGroup_Type">
|
|
<End Role="Type" EntitySet="Types" />
|
|
<End Role="Type2TypeGroup" EntitySet="Type2TypeGroup" />
|
|
</AssociationSet>
|
|
<EntitySet Name="Notifications" EntityType="EnVisageModel.Notification" />
|
|
<EntitySet Name="ProjectDependencies" EntityType="EnVisageModel.ProjectDependency" />
|
|
<EntitySet Name="VW_ProjectDependencies" EntityType="EnVisageModel.VW_ProjectDependencies" />
|
|
<AssociationSet Name="FK_ProjectDependency_Source" Association="EnVisageModel.FK_ProjectDependency_Source">
|
|
<End Role="Project" EntitySet="Projects" />
|
|
<End Role="ProjectDependency" EntitySet="ProjectDependencies" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_ProjectDependency_Target" Association="EnVisageModel.FK_ProjectDependency_Target">
|
|
<End Role="Project" EntitySet="Projects" />
|
|
<End Role="ProjectDependency" EntitySet="ProjectDependencies" />
|
|
</AssociationSet>
|
|
<EntitySet Name="VW_ExpenditureCategory" EntityType="EnVisageModel.VW_ExpenditureCategory" />
|
|
<EntitySet Name="VW_ProjectAccessByUserExtended" EntityType="EnVisageModel.VW_ProjectAccessByUserExtended" />
|
|
<EntitySet Name="VW_User2Team" EntityType="EnVisageModel.VW_User2Team" />
|
|
<EntitySet Name="WorkFlowContacts" EntityType="EnVisageModel.WorkFlowContact" />
|
|
<EntitySet Name="WorkFlowParallelApprovals" EntityType="EnVisageModel.WorkFlowParallelApproval" />
|
|
<EntitySet Name="MenuNavigations" EntityType="EnVisageModel.MenuNavigation" />
|
|
<EntitySet Name="NotificationToWorkFlowStates" EntityType="EnVisageModel.NotificationToWorkFlowState" />
|
|
<AssociationSet Name="FK_NotificationToWorkFlowState_WorkFlowContacts" Association="EnVisageModel.FK_NotificationToWorkFlowState_WorkFlowContacts">
|
|
<End Role="WorkFlowContact" EntitySet="WorkFlowContacts" />
|
|
<End Role="NotificationToWorkFlowState" EntitySet="NotificationToWorkFlowStates" />
|
|
</AssociationSet>
|
|
<FunctionImport Name="sp_ProjectSearch" EntitySet="VW_ProjectAccessByUserExtended" ReturnType="Collection(EnVisageModel.VW_ProjectAccessByUserExtended)">
|
|
<Parameter Name="UserId" Mode="In" Type="Guid" />
|
|
<Parameter Name="searchString" Mode="In" Type="String" />
|
|
<Parameter Name="offset" Mode="In" Type="Int32" />
|
|
<Parameter Name="pageSize" Mode="In" Type="Int32" />
|
|
<Parameter Name="orderBy" Mode="In" Type="String" />
|
|
<Parameter Name="orderAsc" Mode="In" Type="Boolean" />
|
|
<Parameter Name="totalCount" Mode="InOut" Type="Int32" />
|
|
</FunctionImport>
|
|
<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="FK_User2WorkFlowRole_AspNetUsers" Association="EnVisageModel.FK_User2WorkFlowRole_AspNetUsers">
|
|
<End Role="AspNetUser" EntitySet="AspNetUsers" />
|
|
<End Role="User2WorkFlowRole" EntitySet="User2WorkFlowRole" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="AspNetUserRoles" Association="EnVisageModel.AspNetUserRoles">
|
|
<End Role="AspNetRole" EntitySet="AspNetRoles" />
|
|
<End Role="AspNetUser" EntitySet="AspNetUsers" />
|
|
</AssociationSet>
|
|
<EntitySet Name="AspNetUserClaims" EntityType="EnVisageModel.AspNetUserClaim" />
|
|
<AssociationSet Name="FK_dbo_AspNetUserClaims_dbo_AspNetUsers_User_Id" Association="EnVisageModel.FK_dbo_AspNetUserClaims_dbo_AspNetUsers_User_Id">
|
|
<End Role="AspNetUser" EntitySet="AspNetUsers" />
|
|
<End Role="AspNetUserClaim" EntitySet="AspNetUserClaims" />
|
|
</AssociationSet>
|
|
<EntitySet Name="vw_WorkflowApprovalHistoryInfo" EntityType="EnVisageModel.vw_WorkflowApprovalHistoryInfo" />
|
|
</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="3" 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" />
|
|
<Property Name="Version" Type="Int16" Nullable="false" />
|
|
</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="Teams" Relationship="EnVisageModel.FK_Team_Company" FromRole="Company" ToRole="Team" />
|
|
<NavigationProperty Name="StrategicGoal2Company" Relationship="EnVisageModel.FK_StrategicGoal2Company_Company" FromRole="Company" ToRole="StrategicGoal2Company" />
|
|
<NavigationProperty Name="User2Company" Relationship="EnVisageModel.FK_User2Company_Company" FromRole="Company" ToRole="User2Company" />
|
|
<NavigationProperty Name="Company2View" Relationship="EnVisageModel.FK_Company2View_CompanyId" FromRole="Company" ToRole="Company2View" />
|
|
<NavigationProperty Name="Projects" Relationship="EnVisageModel.FK_Show_Studio" FromRole="Company" ToRole="Project" />
|
|
</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="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" />
|
|
<Property Name="jobcode" Type="String" MaxLength="25" FixedLength="false" Unicode="true" />
|
|
</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="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" />
|
|
<NavigationProperty Name="Holiday2ExpenditureCategory" Relationship="EnVisageModel.FK_Holiday2ExpenditureCategory_ExpenditureCategory" FromRole="ExpenditureCategory" ToRole="Holiday2ExpenditureCategory" />
|
|
<NavigationProperty Name="PeopleResources" Relationship="EnVisageModel.FK_Resource_Expenditure_Category" FromRole="ExpenditureCategory" ToRole="PeopleResource" />
|
|
<Property Name="AllowResourceAssignment" Type="Boolean" Nullable="false" />
|
|
<NavigationProperty Name="PeopleResourceExpCatChanges" Relationship="EnVisageModel.FK_PeopleResourceExpCatChanges_ExpenditureCategory" FromRole="ExpenditureCategory" ToRole="PeopleResourceExpCatChange" />
|
|
</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" />
|
|
<PropertyRef Name="AllowResourceAssignment" />
|
|
</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" />
|
|
<Property Name="AllowResourceAssignment" Type="Boolean" Nullable="false" />
|
|
</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" />
|
|
<Property Name="AllowResourceAssignment" Type="Boolean" Nullable="false" />
|
|
</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" 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="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" Nullable="false" />
|
|
<Property Name="WksSubjectToFee" Type="Int32" />
|
|
<Property Name="ExpenditureCategoryName" Type="String" MaxLength="800" FixedLength="false" Unicode="true" Nullable="false" />
|
|
<Property Name="ExpCategoryWithCcName" Type="String" MaxLength="1603" FixedLength="false" Unicode="true" />
|
|
<Property Name="AllowResourceAssignment" Type="Boolean" Nullable="false" />
|
|
</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="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" />
|
|
<Property Name="AllowResourceAssignment" Type="Boolean" Nullable="false" />
|
|
</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="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="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="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="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" />
|
|
<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="TeamAllocations" Relationship="EnVisageModel.FK_TeamAllocation_ScenarioId" FromRole="Scenario" ToRole="TeamAllocation" />
|
|
<NavigationProperty Name="CostSavings1" Relationship="EnVisageModel.FK_CostSaving_Scenario" FromRole="Scenario" ToRole="CostSaving" />
|
|
<Property Name="ROIDate" Type="DateTime" Precision="3" />
|
|
<Property Name="EditTimestamp" Type="Binary" Nullable="false" MaxLength="8" FixedLength="true" annotation:StoreGeneratedPattern="Computed" />
|
|
<Property Name="DateCreated" Type="DateTime" Precision="3" />
|
|
<Property Name="IsBottomUp" Type="Boolean" Nullable="false" />
|
|
<NavigationProperty Name="Project" Relationship="EnVisageModel.FK_Scenario_Project" FromRole="Scenario" ToRole="Project" />
|
|
</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="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" />
|
|
<NavigationProperty Name="Vacation" Relationship="EnVisageModel.FK_PeopleResourceVacation_Vacation" FromRole="PeopleResourceVacation" ToRole="Vacation" />
|
|
<NavigationProperty Name="PeopleResource" Relationship="EnVisageModel.FK_PeopleResourceVacation_PeopleResource" FromRole="PeopleResourceVacation" ToRole="PeopleResource" />
|
|
</EntityType>
|
|
<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" Nullable="false" />
|
|
<Property Name="Quantity" Type="Decimal" Precision="18" Scale="6" Nullable="false" />
|
|
<NavigationProperty Name="ExpenditureCategory" Relationship="EnVisageModel.FK_PeopleResourceAllocation_ExpenditureCategory" FromRole="PeopleResourceAllocation" ToRole="ExpenditureCategory" />
|
|
<NavigationProperty Name="Scenario" Relationship="EnVisageModel.FK_PeopleResourceAllocation_Scenario" FromRole="PeopleResourceAllocation" ToRole="Scenario" />
|
|
<Property Name="TeamId" Type="Guid" Nullable="false" />
|
|
<NavigationProperty Name="Team" Relationship="EnVisageModel.FK_PeopleResourceAllocation_Team" FromRole="PeopleResourceAllocation" ToRole="Team" />
|
|
<NavigationProperty Name="PeopleResource" Relationship="EnVisageModel.FK_PeopleResourceAllocation_PeopleResource" FromRole="PeopleResourceAllocation" ToRole="PeopleResource" />
|
|
</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_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="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="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>
|
|
<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="User2View" Relationship="EnVisageModel.FK_User2Department_Department" FromRole="View" ToRole="User2View" />
|
|
<NavigationProperty Name="Company2View" Relationship="EnVisageModel.FK_Company2View_ViewId" FromRole="View" ToRole="Company2View" />
|
|
<NavigationProperty Name="Team2View" Relationship="EnVisageModel.FK_Team2View_ViewId" FromRole="View" ToRole="Team2View" />
|
|
</EntityType>
|
|
<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="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="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="User2Team" Relationship="EnVisageModel.FK_User2Team_Team" FromRole="Team" ToRole="User2Team" />
|
|
<NavigationProperty Name="TeamAllocations" Relationship="EnVisageModel.FK_TeamAllocation_TeamId" FromRole="Team" ToRole="TeamAllocation" />
|
|
<NavigationProperty Name="Holiday2Team" Relationship="EnVisageModel.FK_Holiday2Team_Team" FromRole="Team" ToRole="Holiday2Team" />
|
|
<NavigationProperty Name="PeopleResource2Team" Relationship="EnVisageModel.FK_PeopleResource2Team_Team" FromRole="Team" ToRole="PeopleResource2Team" />
|
|
<NavigationProperty Name="PeopleResourceAllocations" Relationship="EnVisageModel.FK_PeopleResourceAllocation_Team" FromRole="Team" ToRole="PeopleResourceAllocation" />
|
|
<NavigationProperty Name="NonProjectTime2Team" Relationship="EnVisageModel.FK_NonProjectTime2Team_Team" FromRole="Team" ToRole="NonProjectTime2Team" />
|
|
<NavigationProperty Name="Team2View" Relationship="EnVisageModel.FK_Team2View_TeamId" FromRole="Team" ToRole="Team2View" />
|
|
<Property Name="ProjectAddNotification" Type="Boolean" />
|
|
</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_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_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="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" />
|
|
<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" />
|
|
<Property Name="ForecastTotalQuantity" Type="Decimal" Precision="38" Scale="6" />
|
|
<Property Name="ActualsTotalQuantity" Type="Decimal" Precision="38" Scale="6" />
|
|
<Property Name="VariationQuantityPercent" Type="Decimal" Precision="38" Scale="6" />
|
|
</EntityType>
|
|
<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="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="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="StrategicGoal" Relationship="EnVisageModel.FK_StrategicGoal2Project_StrategicGoal" FromRole="StrategicGoal2Project" ToRole="StrategicGoal" />
|
|
<NavigationProperty Name="Project" Relationship="EnVisageModel.FK_StrategicGoal2Project_Project" FromRole="StrategicGoal2Project" ToRole="Project" />
|
|
</EntityType>
|
|
<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>
|
|
<EntityType Name="NotificationControl">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="NotificationType" Type="Int32" Nullable="false" />
|
|
<Property Name="HowtoSend" Type="Int32" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="Skill">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="DateCreated" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="Name" Type="String" Nullable="false" MaxLength="512" FixedLength="false" Unicode="true" />
|
|
<Property Name="EditTimestamp" Type="Binary" Nullable="false" MaxLength="8" FixedLength="true" annotation:StoreGeneratedPattern="Computed" />
|
|
<Property Name="ParentId" Type="Guid" />
|
|
<Property Name="HasChildren" Type="Boolean" Nullable="false" />
|
|
<NavigationProperty Name="Skills" Relationship="EnVisageModel.FK_Skill_Skill" FromRole="Skill" ToRole="Skill1" />
|
|
<NavigationProperty Name="ParentSkill" Relationship="EnVisageModel.FK_Skill_Skill" FromRole="Skill1" ToRole="Skill" />
|
|
<NavigationProperty Name="Skill2Resource" Relationship="EnVisageModel.FK_Skill2Resource_SkillId" FromRole="Skill" ToRole="Skill2Resource" />
|
|
</EntityType>
|
|
<Association Name="FK_Skill_Skill">
|
|
<End Type="EnVisageModel.Skill" Role="Skill" Multiplicity="0..1" />
|
|
<End Type="EnVisageModel.Skill" Role="Skill1" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Skill">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="Skill1">
|
|
<PropertyRef Name="ParentId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<EntityType Name="supt_ImportMessages">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="MessageType" Type="Int32" Nullable="false" />
|
|
<Property Name="ProcessID" Type="String" Nullable="false" MaxLength="100" FixedLength="false" Unicode="true" />
|
|
<Property Name="RecordNbr" Type="Int32" Nullable="false" />
|
|
<Property Name="Message" Type="String" Nullable="false" MaxLength="1500" FixedLength="false" Unicode="true" />
|
|
<Property Name="DateTimeProcessed" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="GroupID" Type="Guid" Nullable="false" />
|
|
</EntityType>
|
|
<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" />
|
|
<NavigationProperty Name="PeopleResourceVacations" Relationship="EnVisageModel.FK_PeopleResourceVacation_Vacation" FromRole="Vacation" ToRole="PeopleResourceVacation" />
|
|
<NavigationProperty Name="PeopleResource" Relationship="EnVisageModel.FK_Vacation_PeopleResource" FromRole="Vacation" ToRole="PeopleResource" />
|
|
</EntityType>
|
|
<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="WorkWeek">
|
|
<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" />
|
|
<Property Name="Monday" Type="Boolean" Nullable="false" />
|
|
<Property Name="Tuesday" Type="Boolean" Nullable="false" />
|
|
<Property Name="Wednesday" Type="Boolean" Nullable="false" />
|
|
<Property Name="Thursday" Type="Boolean" Nullable="false" />
|
|
<Property Name="Friday" Type="Boolean" Nullable="false" />
|
|
<Property Name="Saturday" Type="Boolean" Nullable="false" />
|
|
<Property Name="Sunday" Type="Boolean" Nullable="false" />
|
|
<Property Name="IsDefault" Type="Boolean" Nullable="false" />
|
|
<Property Name="IsSystem" Type="Boolean" Nullable="false" />
|
|
<NavigationProperty Name="PeopleResources" Relationship="EnVisageModel.FK_PeopleResource_WorkWeekId" FromRole="WorkWeek" ToRole="PeopleResource" />
|
|
</EntityType>
|
|
<EntityType Name="PeopleResourceActual">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="PeopleResourceId" Type="Guid" Nullable="false" />
|
|
<Property Name="ParentId" Type="Guid" Nullable="false" />
|
|
<Property Name="Quantity" Type="Decimal" Nullable="false" Precision="18" Scale="6" />
|
|
<Property Name="Cost" Type="Decimal" Nullable="false" Precision="15" Scale="4" />
|
|
<Property Name="RowCreateDate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<NavigationProperty Name="PeopleResource" Relationship="EnVisageModel.FK_PeopleResourceActuals_PeopleResource" FromRole="PeopleResourceActual" ToRole="PeopleResource" />
|
|
</EntityType>
|
|
<EntityType Name="Skill2Resource">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="Type" Type="Int16" Nullable="false" />
|
|
<Property Name="EffectiveDate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="SkillId" Type="Guid" Nullable="false" />
|
|
<Property Name="ResourceId" Type="Guid" Nullable="false" />
|
|
<Property Name="Level" Type="Int16" />
|
|
<Property Name="DateCreated" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="Interested" Type="Boolean" Nullable="false" />
|
|
<NavigationProperty Name="Skill" Relationship="EnVisageModel.FK_Skill2Resource_SkillId" FromRole="Skill2Resource" ToRole="Skill" />
|
|
<NavigationProperty Name="PeopleResource" Relationship="EnVisageModel.FK_Skill2Resource_ResourceId" FromRole="Skill2Resource" ToRole="PeopleResource" />
|
|
</EntityType>
|
|
<Association Name="FK_Skill2Resource_SkillId">
|
|
<End Type="EnVisageModel.Skill" Role="Skill" Multiplicity="1" />
|
|
<End Type="EnVisageModel.Skill2Resource" Role="Skill2Resource" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Skill">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="Skill2Resource">
|
|
<PropertyRef Name="SkillId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<EntityType Name="VW_Skill2Resource">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="Type" />
|
|
<PropertyRef Name="EffectiveDate" />
|
|
<PropertyRef Name="SkillId" />
|
|
<PropertyRef Name="ResourceId" />
|
|
<PropertyRef Name="DateCreated" />
|
|
<PropertyRef Name="Interested" />
|
|
<PropertyRef Name="SkillGroupId" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="Type" Type="Int16" Nullable="false" />
|
|
<Property Name="EffectiveDate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="SkillId" Type="Guid" Nullable="false" />
|
|
<Property Name="ResourceId" Type="Guid" Nullable="false" />
|
|
<Property Name="Level" Type="Int16" />
|
|
<Property Name="DateCreated" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="Interested" Type="Boolean" Nullable="false" />
|
|
<Property Name="SkillGroupId" Type="Guid" Nullable="false" />
|
|
<Property Name="AssignedToGroup" Type="Boolean" />
|
|
<Property Name="PastYearDateOffset" Type="Int32" />
|
|
<Property Name="FutureYearDateOffset" Type="Int32" />
|
|
</EntityType>
|
|
<EntityType Name="NonProjectTimeCategory">
|
|
<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="NonProjectTimes" Relationship="EnVisageModel.FK_NonProjectTime_NonProjectTimeCategory" FromRole="NonProjectTimeCategory" ToRole="NonProjectTime" />
|
|
</EntityType>
|
|
<EntityType Name="Holiday2ExpenditureCategory">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="HolidayId" Type="Guid" Nullable="false" />
|
|
<Property Name="ExpenditureCategoryId" Type="Guid" Nullable="false" />
|
|
<NavigationProperty Name="ExpenditureCategory" Relationship="EnVisageModel.FK_Holiday2ExpenditureCategory_ExpenditureCategory" FromRole="Holiday2ExpenditureCategory" ToRole="ExpenditureCategory" />
|
|
<NavigationProperty Name="Holiday" Relationship="EnVisageModel.FK_Holiday2ExpenditureCategory_Holiday" FromRole="Holiday2ExpenditureCategory" ToRole="Holiday" />
|
|
</EntityType>
|
|
<EntityType Name="Holiday2PeopleResource">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="HolidayId" Type="Guid" Nullable="false" />
|
|
<Property Name="ResourceId" Type="Guid" Nullable="false" />
|
|
<NavigationProperty Name="Holiday" Relationship="EnVisageModel.FK_Holiday2PeopleResource_Holiday" FromRole="Holiday2PeopleResource" ToRole="Holiday" />
|
|
<NavigationProperty Name="PeopleResource" Relationship="EnVisageModel.FK_Holiday2PeopleResource_PeopleResource" FromRole="Holiday2PeopleResource" ToRole="PeopleResource" />
|
|
</EntityType>
|
|
<EntityType Name="Holiday2Team">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="HolidayId" Type="Guid" Nullable="false" />
|
|
<Property Name="TeamId" Type="Guid" Nullable="false" />
|
|
<NavigationProperty Name="Team" Relationship="EnVisageModel.FK_Holiday2Team_Team" FromRole="Holiday2Team" ToRole="Team" />
|
|
<NavigationProperty Name="Holiday" Relationship="EnVisageModel.FK_Holiday2Team_Holiday" FromRole="Holiday2Team" ToRole="Holiday" />
|
|
</EntityType>
|
|
<Association Name="FK_Holiday2ExpenditureCategory_ExpenditureCategory">
|
|
<End Type="EnVisageModel.ExpenditureCategory" Role="ExpenditureCategory" Multiplicity="1" />
|
|
<End Type="EnVisageModel.Holiday2ExpenditureCategory" Role="Holiday2ExpenditureCategory" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="ExpenditureCategory">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="Holiday2ExpenditureCategory">
|
|
<PropertyRef Name="ExpenditureCategoryId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_Holiday2Team_Team">
|
|
<End Type="EnVisageModel.Team" Role="Team" Multiplicity="1" />
|
|
<End Type="EnVisageModel.Holiday2Team" Role="Holiday2Team" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Team">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="Holiday2Team">
|
|
<PropertyRef Name="TeamId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<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" />
|
|
<Property Name="WorkingDays" Type="Boolean" Nullable="false" />
|
|
<Property Name="HolidayGroupId" Type="Guid" Nullable="false" />
|
|
<Property Name="EffectiveChangeDate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="CreatedAt" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="Options" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="StartDate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="EndDate" Type="DateTime" Precision="3" />
|
|
<Property Name="CompanyImpact" Type="Boolean" Nullable="false" />
|
|
<Property Name="IsInclude" Type="Boolean" Nullable="false" />
|
|
<NavigationProperty Name="Holiday2ExpenditureCategory" Relationship="EnVisageModel.FK_Holiday2ExpenditureCategory_Holiday" FromRole="Holiday" ToRole="Holiday2ExpenditureCategory" />
|
|
<NavigationProperty Name="Holiday2PeopleResource" Relationship="EnVisageModel.FK_Holiday2PeopleResource_Holiday" FromRole="Holiday" ToRole="Holiday2PeopleResource" />
|
|
<NavigationProperty Name="Holiday2Team" Relationship="EnVisageModel.FK_Holiday2Team_Holiday" FromRole="Holiday" ToRole="Holiday2Team" />
|
|
<NavigationProperty Name="HolidayAllocations" Relationship="EnVisageModel.FK_HolidayAllocation_Holiday" FromRole="Holiday" ToRole="HolidayAllocation" />
|
|
</EntityType>
|
|
<EntityType Name="HolidayAllocation">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="HolidayId" Type="Guid" Nullable="false" />
|
|
<Property Name="HolidayGroupId" Type="Guid" Nullable="false" />
|
|
<Property Name="WeekEndingDate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="Monday" Type="Boolean" Nullable="false" />
|
|
<Property Name="Tuesday" Type="Boolean" Nullable="false" />
|
|
<Property Name="Wednesday" Type="Boolean" Nullable="false" />
|
|
<Property Name="Thursday" Type="Boolean" Nullable="false" />
|
|
<Property Name="Friday" Type="Boolean" Nullable="false" />
|
|
<Property Name="Saturday" Type="Boolean" Nullable="false" />
|
|
<Property Name="Sunday" Type="Boolean" Nullable="false" />
|
|
<NavigationProperty Name="Holiday" Relationship="EnVisageModel.FK_HolidayAllocation_Holiday" FromRole="HolidayAllocation" ToRole="Holiday" />
|
|
</EntityType>
|
|
<Association Name="FK_Holiday2ExpenditureCategory_Holiday">
|
|
<End Type="EnVisageModel.Holiday" Role="Holiday" Multiplicity="1" />
|
|
<End Type="EnVisageModel.Holiday2ExpenditureCategory" Role="Holiday2ExpenditureCategory" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Holiday">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="Holiday2ExpenditureCategory">
|
|
<PropertyRef Name="HolidayId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_Holiday2PeopleResource_Holiday">
|
|
<End Type="EnVisageModel.Holiday" Role="Holiday" Multiplicity="1" />
|
|
<End Type="EnVisageModel.Holiday2PeopleResource" Role="Holiday2PeopleResource" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Holiday">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="Holiday2PeopleResource">
|
|
<PropertyRef Name="HolidayId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_Holiday2Team_Holiday">
|
|
<End Type="EnVisageModel.Holiday" Role="Holiday" Multiplicity="1" />
|
|
<End Type="EnVisageModel.Holiday2Team" Role="Holiday2Team" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Holiday">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="Holiday2Team">
|
|
<PropertyRef Name="HolidayId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_HolidayAllocation_Holiday">
|
|
<End Type="EnVisageModel.Holiday" Role="Holiday" Multiplicity="1" />
|
|
<End Type="EnVisageModel.HolidayAllocation" Role="HolidayAllocation" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Holiday">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="HolidayAllocation">
|
|
<PropertyRef Name="HolidayId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<EntityType Name="NonProjectTime">
|
|
<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" Precision="3" />
|
|
<Property Name="NonProjectTimeCategoryId" Type="Guid" Nullable="false" />
|
|
<Property Name="Cost" Type="Decimal" Nullable="false" Precision="15" Scale="4" />
|
|
<Property Name="Details" Type="String" MaxLength="500" FixedLength="false" Unicode="true" />
|
|
<Property Name="Permanent" Type="Boolean" Nullable="false" />
|
|
<NavigationProperty Name="NonProjectTimeCategory" Relationship="EnVisageModel.FK_NonProjectTime_NonProjectTimeCategory" FromRole="NonProjectTime" ToRole="NonProjectTimeCategory" />
|
|
<Property Name="IsPercentsMode" Type="Boolean" Nullable="false" />
|
|
<NavigationProperty Name="NonProjectTime2Resource" Relationship="EnVisageModel.FK_NonProjectTime2Resource_NonProjectTime2Resource" FromRole="NonProjectTime" ToRole="NonProjectTime2Resource" />
|
|
<NavigationProperty Name="NonProjectTime2Team" Relationship="EnVisageModel.FK_NonProjectTime2Team_NonProjectTime" FromRole="NonProjectTime" ToRole="NonProjectTime2Team" />
|
|
<Property Name="IsTeamMode" Type="Boolean" Nullable="false" />
|
|
</EntityType>
|
|
<Association Name="FK_NonProjectTime_NonProjectTimeCategory">
|
|
<End Type="EnVisageModel.NonProjectTimeCategory" Role="NonProjectTimeCategory" Multiplicity="1" />
|
|
<End Type="EnVisageModel.NonProjectTime" Role="NonProjectTime" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="NonProjectTimeCategory">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="NonProjectTime">
|
|
<PropertyRef Name="NonProjectTimeCategoryId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<EntityType Name="VW_HolidayAllocation">
|
|
<Key>
|
|
<PropertyRef Name="WeekEndingDate" />
|
|
<PropertyRef Name="AdjustmentKoeff" />
|
|
</Key>
|
|
<Property Name="PeopleResourceId" Type="Guid" />
|
|
<Property Name="ExpenditureCategoryId" Type="Guid" />
|
|
<Property Name="TeamId" Type="Guid" />
|
|
<Property Name="WeekEndingDate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="AdjustmentKoeff" Type="Decimal" Nullable="false" Precision="30" Scale="25" />
|
|
</EntityType>
|
|
<EntityType Name="VW_PlanningCapacityAdjusted">
|
|
<Key>
|
|
<PropertyRef Name="ScenarioId" />
|
|
<PropertyRef Name="AdjustmentKoeff" />
|
|
</Key>
|
|
<Property Name="ScenarioId" Type="Guid" Nullable="false" />
|
|
<Property Name="WeekEndingDate" Type="DateTime" Precision="3" />
|
|
<Property Name="AdjustmentKoeff" Type="Decimal" Nullable="false" Precision="30" Scale="25" />
|
|
<Property Name="ExpenditureCategoryId" Type="Guid" />
|
|
<Property Name="TeamId" Type="Guid" />
|
|
</EntityType>
|
|
<EntityType Name="VW_Holiday">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="Name" Type="String" MaxLength="2040" FixedLength="false" Unicode="true" />
|
|
<Property Name="WorkingDays" Type="Boolean" Nullable="false" />
|
|
<Property Name="HolidayGroupId" Type="Guid" Nullable="false" />
|
|
<Property Name="EffectiveChangeDate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="CreatedAt" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="Options" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="StartDate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="EndDate" Type="DateTime" Precision="3" />
|
|
<Property Name="CompanyImpact" Type="Boolean" Nullable="false" />
|
|
<Property Name="IsInclude" Type="Boolean" Nullable="false" />
|
|
<Property Name="ValidTo" Type="DateTime" Precision="3" />
|
|
</EntityType>
|
|
<EntityType Name="PeopleResource2Team">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="PeopleResourceId" Type="Guid" Nullable="false" />
|
|
<Property Name="TeamId" Type="Guid" Nullable="false" />
|
|
<Property Name="StartDate" Type="DateTime" Nullable="false" Precision="0" />
|
|
<Property Name="EndDate" Type="DateTime" Precision="0" />
|
|
<Property Name="Allocation" Type="Int16" Nullable="false" />
|
|
<Property Name="DateCreated" Type="DateTime" Nullable="false" Precision="3" />
|
|
<NavigationProperty Name="Team" Relationship="EnVisageModel.FK_PeopleResource2Team_Team" FromRole="PeopleResource2Team" ToRole="Team" />
|
|
<NavigationProperty Name="PeopleResource" Relationship="EnVisageModel.FK_PeopleResource2Team_PeopleResource" FromRole="PeopleResource2Team" ToRole="PeopleResource" />
|
|
</EntityType>
|
|
<Association Name="FK_PeopleResource2Team_Team">
|
|
<End Type="EnVisageModel.Team" Role="Team" Multiplicity="1" />
|
|
<End Type="EnVisageModel.PeopleResource2Team" Role="PeopleResource2Team" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Team">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="PeopleResource2Team">
|
|
<PropertyRef Name="TeamId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_PeopleResourceAllocation_Team">
|
|
<End Type="EnVisageModel.Team" Role="Team" Multiplicity="1" />
|
|
<End Type="EnVisageModel.PeopleResourceAllocation" Role="PeopleResourceAllocation" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Team">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="PeopleResourceAllocation">
|
|
<PropertyRef Name="TeamId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<EntityType Name="VW_TeamResource">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="IsActiveEmployee" />
|
|
<PropertyRef Name="ExpenditureCategoryId" />
|
|
<PropertyRef Name="StartDate" />
|
|
<PropertyRef Name="EndDate" />
|
|
<PropertyRef Name="WorkWeekId" />
|
|
<PropertyRef Name="TeamId" />
|
|
<PropertyRef Name="TeamStartDate" />
|
|
<PropertyRef Name="Allocation" />
|
|
</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="ExpenditureCategoryId" Type="Guid" Nullable="false" />
|
|
<Property Name="StartDate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="EndDate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="EmployeeID" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
|
|
<Property Name="Email" Type="String" MaxLength="320" FixedLength="false" Unicode="true" />
|
|
<Property Name="WorkWeekId" Type="Guid" Nullable="false" />
|
|
<Property Name="TeamId" Type="Guid" Nullable="false" />
|
|
<Property Name="TeamStartDate" Type="DateTime" Nullable="false" Precision="0" />
|
|
<Property Name="TeamEndDate" Type="DateTime" Precision="0" />
|
|
<Property Name="Allocation" Type="Int16" Nullable="false" />
|
|
</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="ExpenditureCategoryId" Type="Guid" Nullable="false" />
|
|
<Property Name="StartDate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="EndDate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="EmployeeID" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
|
|
<Property Name="Email" Type="String" MaxLength="320" FixedLength="false" Unicode="true" />
|
|
<Property Name="WorkWeekId" Type="Guid" Nullable="false" />
|
|
<NavigationProperty Name="ExpenditureCategory" Relationship="EnVisageModel.FK_Resource_Expenditure_Category" FromRole="PeopleResource" ToRole="ExpenditureCategory" />
|
|
<NavigationProperty Name="Holiday2PeopleResource" Relationship="EnVisageModel.FK_Holiday2PeopleResource_PeopleResource" FromRole="PeopleResource" ToRole="Holiday2PeopleResource" />
|
|
<NavigationProperty Name="WorkWeek" Relationship="EnVisageModel.FK_PeopleResource_WorkWeekId" FromRole="PeopleResource" ToRole="WorkWeek" />
|
|
<NavigationProperty Name="PeopleResource2Team" Relationship="EnVisageModel.FK_PeopleResource2Team_PeopleResource" FromRole="PeopleResource" ToRole="PeopleResource2Team" />
|
|
<NavigationProperty Name="PeopleResourceActuals" Relationship="EnVisageModel.FK_PeopleResourceActuals_PeopleResource" FromRole="PeopleResource" ToRole="PeopleResourceActual" />
|
|
<NavigationProperty Name="PeopleResourceAllocations" Relationship="EnVisageModel.FK_PeopleResourceAllocation_PeopleResource" FromRole="PeopleResource" ToRole="PeopleResourceAllocation" />
|
|
<NavigationProperty Name="PeopleResourceVacations" Relationship="EnVisageModel.FK_PeopleResourceVacation_PeopleResource" FromRole="PeopleResource" ToRole="PeopleResourceVacation" />
|
|
<NavigationProperty Name="Skill2Resource" Relationship="EnVisageModel.FK_Skill2Resource_ResourceId" FromRole="PeopleResource" ToRole="Skill2Resource" />
|
|
<NavigationProperty Name="Vacations" Relationship="EnVisageModel.FK_Vacation_PeopleResource" FromRole="PeopleResource" ToRole="Vacation" />
|
|
<NavigationProperty Name="NonProjectTime2Resource" Relationship="EnVisageModel.FK_NonProjectTime2Resource_PeopleResource" FromRole="PeopleResource" ToRole="NonProjectTime2Resource" />
|
|
<NavigationProperty Name="PeopleResourceExpCatChanges" Relationship="EnVisageModel.FK_PeopleResourceExpCatChanges_PeopleResource" FromRole="PeopleResource" ToRole="PeopleResourceExpCatChange" />
|
|
</EntityType>
|
|
<Association Name="FK_Resource_Expenditure_Category">
|
|
<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>
|
|
<Association Name="FK_Holiday2PeopleResource_PeopleResource">
|
|
<End Type="EnVisageModel.PeopleResource" Role="PeopleResource" Multiplicity="1" />
|
|
<End Type="EnVisageModel.Holiday2PeopleResource" Role="Holiday2PeopleResource" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="PeopleResource">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="Holiday2PeopleResource">
|
|
<PropertyRef Name="ResourceId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_PeopleResource_WorkWeekId">
|
|
<End Type="EnVisageModel.WorkWeek" Role="WorkWeek" Multiplicity="1" />
|
|
<End Type="EnVisageModel.PeopleResource" Role="PeopleResource" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="WorkWeek">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="PeopleResource">
|
|
<PropertyRef Name="WorkWeekId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_PeopleResource2Team_PeopleResource">
|
|
<End Type="EnVisageModel.PeopleResource" Role="PeopleResource" Multiplicity="1" />
|
|
<End Type="EnVisageModel.PeopleResource2Team" Role="PeopleResource2Team" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="PeopleResource">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="PeopleResource2Team">
|
|
<PropertyRef Name="PeopleResourceId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_PeopleResourceActuals_PeopleResource">
|
|
<End Type="EnVisageModel.PeopleResource" Role="PeopleResource" Multiplicity="1" />
|
|
<End Type="EnVisageModel.PeopleResourceActual" Role="PeopleResourceActual" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="PeopleResource">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="PeopleResourceActual">
|
|
<PropertyRef Name="PeopleResourceId" />
|
|
</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_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>
|
|
<Association Name="FK_Skill2Resource_ResourceId">
|
|
<End Type="EnVisageModel.PeopleResource" Role="PeopleResource" Multiplicity="1" />
|
|
<End Type="EnVisageModel.Skill2Resource" Role="Skill2Resource" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="PeopleResource">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="Skill2Resource">
|
|
<PropertyRef Name="ResourceId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<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>
|
|
<EntityType Name="VW_ExpendituresWithAdjustmentFactor">
|
|
<Key>
|
|
<PropertyRef Name="WeekEndingDate" />
|
|
</Key>
|
|
<Property Name="ExpenditureCategoryId" Type="Guid" />
|
|
<Property Name="WeekEndingDate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="AdjustmentFactor" Type="Decimal" Precision="30" Scale="25" />
|
|
</EntityType>
|
|
<EntityType Name="NonProjectTime2Resource">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="NonProjectTimeId" Type="Guid" Nullable="false" />
|
|
<Property Name="PeopleResourceId" Type="Guid" Nullable="false" />
|
|
<Property Name="Position" Type="Int32" Nullable="false" />
|
|
<NavigationProperty Name="NonProjectTime" Relationship="EnVisageModel.FK_NonProjectTime2Resource_NonProjectTime2Resource" FromRole="NonProjectTime2Resource" ToRole="NonProjectTime" />
|
|
<NavigationProperty Name="PeopleResource" Relationship="EnVisageModel.FK_NonProjectTime2Resource_PeopleResource" FromRole="NonProjectTime2Resource" ToRole="PeopleResource" />
|
|
<NavigationProperty Name="NonProjectTimeResourceAllocations" Relationship="EnVisageModel.FK_NonProjectTimeResourceAllocation_NonProjectTime2Resource" FromRole="NonProjectTime2Resource" ToRole="NonProjectTimeResourceAllocation" />
|
|
</EntityType>
|
|
<Association Name="FK_NonProjectTime2Resource_NonProjectTime2Resource">
|
|
<End Type="EnVisageModel.NonProjectTime" Role="NonProjectTime" Multiplicity="1" />
|
|
<End Type="EnVisageModel.NonProjectTime2Resource" Role="NonProjectTime2Resource" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="NonProjectTime">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="NonProjectTime2Resource">
|
|
<PropertyRef Name="NonProjectTimeId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_NonProjectTime2Resource_PeopleResource">
|
|
<End Type="EnVisageModel.PeopleResource" Role="PeopleResource" Multiplicity="1" />
|
|
<End Type="EnVisageModel.NonProjectTime2Resource" Role="NonProjectTime2Resource" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="PeopleResource">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="NonProjectTime2Resource">
|
|
<PropertyRef Name="PeopleResourceId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<EntityType Name="VW_NonProjectTimeAllocation">
|
|
<Key>
|
|
<PropertyRef Name="NonProjectTimeId" />
|
|
<PropertyRef Name="PeopleResourceId" />
|
|
<PropertyRef Name="WeekEndingDate" />
|
|
<PropertyRef Name="Rate" />
|
|
</Key>
|
|
<Property Name="NonProjectTimeId" 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" />
|
|
<Property Name="ExpenditureCategoryId" Type="Guid" Nullable="false" />
|
|
<Property Name="NonProjectTimeCategoryId" Type="Guid" Nullable="false" />
|
|
<Property Name="IsTeamNonProjectTime" Type="Boolean" Nullable="false" />
|
|
<Property Name="NonProjectTimeName" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
<Property Name="NonProjectTimeCategoryName" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
<Property Name="TeamId" Type="Guid" Nullable="false" />
|
|
<Property Name="Rate" Type="Decimal" Nullable="false" Precision="15" Scale="4" />
|
|
</EntityType>
|
|
<EntityType Name="NonProjectTimeResourceAllocation">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="WeekEndingDate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="HoursOff" Type="Int32" Nullable="false" />
|
|
<Property Name="NonProjectTime2ResourceId" Type="Guid" Nullable="false" />
|
|
<NavigationProperty Name="NonProjectTime2Resource" Relationship="EnVisageModel.FK_NonProjectTimeResourceAllocation_NonProjectTime2Resource" FromRole="NonProjectTimeResourceAllocation" ToRole="NonProjectTime2Resource" />
|
|
</EntityType>
|
|
<Association Name="FK_NonProjectTimeResourceAllocation_NonProjectTime2Resource">
|
|
<End Type="EnVisageModel.NonProjectTime2Resource" Role="NonProjectTime2Resource" Multiplicity="1" />
|
|
<End Type="EnVisageModel.NonProjectTimeResourceAllocation" Role="NonProjectTimeResourceAllocation" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="NonProjectTime2Resource">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="NonProjectTimeResourceAllocation">
|
|
<PropertyRef Name="NonProjectTime2ResourceId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<EntityType Name="NonProjectTime2Team">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="NonProjectTimeId" Type="Guid" Nullable="false" />
|
|
<Property Name="TeamId" Type="Guid" Nullable="false" />
|
|
<Property Name="Position" Type="Int32" Nullable="false" />
|
|
<NavigationProperty Name="NonProjectTime" Relationship="EnVisageModel.FK_NonProjectTime2Team_NonProjectTime" FromRole="NonProjectTime2Team" ToRole="NonProjectTime" />
|
|
<NavigationProperty Name="Team" Relationship="EnVisageModel.FK_NonProjectTime2Team_Team" FromRole="NonProjectTime2Team" ToRole="Team" />
|
|
<NavigationProperty Name="NonProjectTimeTeamAllocations" Relationship="EnVisageModel.FK_NonProjectTimeTeamAllocation_NonProjectTime2Team" FromRole="NonProjectTime2Team" ToRole="NonProjectTimeTeamAllocation" />
|
|
</EntityType>
|
|
<EntityType Name="NonProjectTimeTeamAllocation">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="WeekEndingDate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="HoursOff" Type="Int32" Nullable="false" />
|
|
<Property Name="NonProjectTime2TeamId" Type="Guid" Nullable="false" />
|
|
<NavigationProperty Name="NonProjectTime2Team" Relationship="EnVisageModel.FK_NonProjectTimeTeamAllocation_NonProjectTime2Team" FromRole="NonProjectTimeTeamAllocation" ToRole="NonProjectTime2Team" />
|
|
</EntityType>
|
|
<Association Name="FK_NonProjectTime2Team_NonProjectTime">
|
|
<End Type="EnVisageModel.NonProjectTime" Role="NonProjectTime" Multiplicity="1" />
|
|
<End Type="EnVisageModel.NonProjectTime2Team" Role="NonProjectTime2Team" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="NonProjectTime">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="NonProjectTime2Team">
|
|
<PropertyRef Name="NonProjectTimeId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_NonProjectTime2Team_Team">
|
|
<End Type="EnVisageModel.Team" Role="Team" Multiplicity="1" />
|
|
<End Type="EnVisageModel.NonProjectTime2Team" Role="NonProjectTime2Team" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Team">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="NonProjectTime2Team">
|
|
<PropertyRef Name="TeamId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_NonProjectTimeTeamAllocation_NonProjectTime2Team">
|
|
<End Type="EnVisageModel.NonProjectTime2Team" Role="NonProjectTime2Team" Multiplicity="1" />
|
|
<End Type="EnVisageModel.NonProjectTimeTeamAllocation" Role="NonProjectTimeTeamAllocation" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="NonProjectTime2Team">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="NonProjectTimeTeamAllocation">
|
|
<PropertyRef Name="NonProjectTime2TeamId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<ComplexType Name="resourceAvailability_f_Result">
|
|
<Property Type="String" Name="FirstName" Nullable="true" MaxLength="1000" />
|
|
<Property Type="String" Name="LastName" Nullable="true" MaxLength="1000" />
|
|
<Property Type="String" Name="ExpenditureCategory" Nullable="true" MaxLength="800" />
|
|
<Property Type="Double" Name="AvailableHours" Nullable="true" />
|
|
<Property Type="Double" Name="AllocatedHours" Nullable="true" />
|
|
<Property Type="Double" Name="NonProjectTimeHours" Nullable="true" />
|
|
<Property Type="Double" Name="ResourceAvailability" Nullable="true" />
|
|
<Property Type="String" Name="TeamName" Nullable="true" MaxLength="400" />
|
|
<Property Type="String" Name="TeamId" Nullable="true" MaxLength="36" />
|
|
<Property Type="String" Name="ExpenditureCategoryId" Nullable="true" MaxLength="36" />
|
|
</ComplexType>
|
|
<EntityType Name="VW_ActualCapacityAdjustmentByExpCats">
|
|
<Key>
|
|
<PropertyRef Name="WeekEndingDate" />
|
|
<PropertyRef Name="ActualCapacityScenarioId" />
|
|
<PropertyRef Name="ExpenditureCategoryId" />
|
|
<PropertyRef Name="TeamId" />
|
|
</Key>
|
|
<Property Name="ResourcesTotalOffHrs" Type="Decimal" Precision="38" Scale="20" />
|
|
<Property Name="ResourcesTotalOffCost" Type="Decimal" Precision="38" Scale="6" />
|
|
<Property Name="ActualCapacityScenarioId" Type="Guid" Nullable="false" />
|
|
<Property Name="ExpenditureCategoryId" Type="Guid" Nullable="false" />
|
|
<Property Name="TeamId" Type="Guid" Nullable="false" />
|
|
<Property Name="WeekEndingDate" Type="DateTime" Nullable="false" Precision="3" />
|
|
</EntityType>
|
|
<EntityType Name="VW_ActualCapacityAdjusted">
|
|
<Key>
|
|
<PropertyRef Name="PeopleResourceId" />
|
|
<PropertyRef Name="TeamId" />
|
|
<PropertyRef Name="ExpenditureCategoryId" />
|
|
<PropertyRef Name="WeekEndingDate" />
|
|
</Key>
|
|
<Property Name="PeopleResourceId" 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="QuantityDirect" Type="Decimal" Nullable="false" Precision="15" Scale="4" />
|
|
<Property Name="CostDirect" Type="Decimal" Nullable="false" Precision="31" Scale="8" />
|
|
<Property Name="QuantityAdjusted" Type="Decimal" Precision="38" Scale="21" Nullable="false" />
|
|
<Property Name="CostAdjusted" Type="Decimal" Precision="38" Scale="9" Nullable="false" />
|
|
<Property Name="AdjustmentKoeff" Type="Decimal" Nullable="false" Precision="30" Scale="25" />
|
|
</EntityType>
|
|
<EntityType Name="VW_ActualCapacityByTeamsAdjusted">
|
|
<Key>
|
|
<PropertyRef Name="TeamId" />
|
|
<PropertyRef Name="ExpenditureCategoryId" />
|
|
<PropertyRef Name="WeekEndingDate" />
|
|
</Key>
|
|
<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="QuantityDirect" Type="Decimal" Precision="38" Scale="4" Nullable="false" />
|
|
<Property Name="CostDirect" Type="Decimal" Precision="38" Scale="8" Nullable="false" />
|
|
<Property Name="QuantityAdjusted" Type="Decimal" Precision="38" Scale="21" Nullable="false" />
|
|
<Property Name="CostAdjusted" Type="Decimal" Precision="38" Scale="9" Nullable="false" />
|
|
<Property Name="ResourcesDirect" Type="Int32" Nullable="false" />
|
|
<Property Name="ResourcesAdjusted" Type="Decimal" Precision="38" Scale="25" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="VW_ActualCapacityByTeamsDirect">
|
|
<Key>
|
|
<PropertyRef Name="TeamId" />
|
|
<PropertyRef Name="ExpenditureCategoryId" />
|
|
<PropertyRef Name="WeekEndingDate" />
|
|
</Key>
|
|
<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" Precision="38" Scale="4" Nullable="false" />
|
|
<Property Name="Cost" Type="Decimal" Precision="38" Scale="8" Nullable="false" />
|
|
<Property Name="Resources" Type="Int32" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="VW_ActualCapacityDirect">
|
|
<Key>
|
|
<PropertyRef Name="PeopleResourceId" />
|
|
<PropertyRef Name="TeamId" />
|
|
<PropertyRef Name="ExpenditureCategoryId" />
|
|
<PropertyRef Name="WeekEndingDate" />
|
|
</Key>
|
|
<Property Name="PeopleResourceId" 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="15" Scale="4" />
|
|
<Property Name="Cost" Type="Decimal" Nullable="false" Precision="31" Scale="8" />
|
|
<Property Name="Rate" Type="Decimal" Nullable="false" Precision="15" Scale="4" />
|
|
</EntityType>
|
|
<EntityType Name="VW_NonProjectTimeInvalidItems">
|
|
<Key>
|
|
<PropertyRef Name="NonProjectTimeId" />
|
|
<PropertyRef Name="NonProjectTimeName" />
|
|
<PropertyRef Name="PeopleResourceId" />
|
|
<PropertyRef Name="ExpenditureCategoryId" />
|
|
<PropertyRef Name="NonProjectTimeCategoryId" />
|
|
<PropertyRef Name="StartDate" />
|
|
<PropertyRef Name="NonProjectTimeCategoryName" />
|
|
</Key>
|
|
<Property Name="NonProjectTimeId" Type="Guid" Nullable="false" />
|
|
<Property Name="NonProjectTimeName" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
<Property Name="PeopleResourceId" Type="Guid" Nullable="false" />
|
|
<Property Name="ExpenditureCategoryId" Type="Guid" Nullable="false" />
|
|
<Property Name="NonProjectTimeCategoryId" Type="Guid" Nullable="false" />
|
|
<Property Name="StartDate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="EndDate" Type="DateTime" Precision="3" />
|
|
<Property Name="NonProjectTimeCategoryName" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
<Property Name="Details" Type="String" MaxLength="500" FixedLength="false" Unicode="true" />
|
|
</EntityType>
|
|
<EntityType Name="Tag">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="TagType" Type="Int32" Nullable="false" />
|
|
<Property Name="TagName" Type="String" Nullable="false" MaxLength="100" FixedLength="false" Unicode="true" />
|
|
<Property Name="TagColor" Type="String" MaxLength="128" FixedLength="false" Unicode="true" />
|
|
<Property Name="timestamp" Type="Binary" Nullable="false" MaxLength="8" FixedLength="true" annotation:StoreGeneratedPattern="Computed" />
|
|
<NavigationProperty Name="TagLinks" Relationship="EnVisageModel.FK_TagLink_Tag" FromRole="Tag" ToRole="TagLink" />
|
|
</EntityType>
|
|
<EntityType Name="TagGroup">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="TagGroupName" Type="String" Nullable="false" MaxLength="100" FixedLength="false" Unicode="true" />
|
|
<Property Name="TagGroupColor" Type="String" MaxLength="128" FixedLength="false" Unicode="true" />
|
|
<Property Name="EditTimestamp" Type="Binary" Nullable="false" MaxLength="8" FixedLength="true" annotation:StoreGeneratedPattern="Computed" />
|
|
</EntityType>
|
|
<EntityType Name="TagLink">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="TagID" Type="Guid" Nullable="false" />
|
|
<Property Name="TagGroupID" Type="Guid" />
|
|
<Property Name="ParentID" Type="Guid" Nullable="false" />
|
|
<Property Name="TagLinkType" Type="Int32" Nullable="false" />
|
|
<Property Name="timestamp" Type="Binary" Nullable="false" MaxLength="8" FixedLength="true" annotation:StoreGeneratedPattern="Computed" />
|
|
<NavigationProperty Name="Tag" Relationship="EnVisageModel.FK_TagLink_Tag" FromRole="TagLink" ToRole="Tag" />
|
|
</EntityType>
|
|
<Association Name="FK_TagLink_Tag">
|
|
<End Type="EnVisageModel.Tag" Role="Tag" Multiplicity="1" />
|
|
<End Type="EnVisageModel.TagLink" Role="TagLink" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Tag">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="TagLink">
|
|
<PropertyRef Name="TagID" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<EntityType Name="User2Company">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="UserId" Type="Guid" Nullable="false" />
|
|
<Property Name="CompanyId" Type="Guid" Nullable="false" />
|
|
<Property Name="RelationType" Type="EnVisageModel.CollaborationRole" Nullable="false" />
|
|
<NavigationProperty Name="Company" Relationship="EnVisageModel.FK_User2Company_Company" FromRole="User2Company" ToRole="Company" />
|
|
</EntityType>
|
|
<Association Name="FK_User2Company_Company">
|
|
<End Type="EnVisageModel.Company" Role="Company" Multiplicity="1">
|
|
<OnDelete Action="Cascade" />
|
|
</End>
|
|
<End Type="EnVisageModel.User2Company" Role="User2Company" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Company">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="User2Company">
|
|
<PropertyRef Name="CompanyId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<EnumType Name="CollaborationRole" a:ExternalTypeName="EnVisage.Code.CollaborationRole" xmlns:a="http://schemas.microsoft.com/ado/2006/04/codegeneration">
|
|
</EnumType>
|
|
<EntityType Name="VW_ProjectNeedUnassigned">
|
|
<Key>
|
|
<PropertyRef Name="ProjectId" />
|
|
<PropertyRef Name="ScenarioId" />
|
|
<PropertyRef Name="RemainingQuantity" />
|
|
</Key>
|
|
<Property Name="ProjectId" Type="Guid" Nullable="false" />
|
|
<Property Name="ScenarioId" Type="Guid" Nullable="false" />
|
|
<Property Name="ExpenditureCategoryId" Type="Guid" />
|
|
<Property Name="WeekEndingDate" Type="DateTime" Precision="3" />
|
|
<Property Name="RemainingQuantity" Type="Decimal" Nullable="false" Precision="38" Scale="6" />
|
|
</EntityType>
|
|
<EntityType Name="VW_User2Company">
|
|
<Key>
|
|
<PropertyRef Name="UserId" />
|
|
<PropertyRef Name="CompanyId" />
|
|
</Key>
|
|
<Property Name="UserId" Type="Guid" Nullable="false" />
|
|
<Property Name="CompanyId" Type="Guid" Nullable="false" />
|
|
<Property Name="Read" Type="Int32" Nullable="false" />
|
|
<Property Name="Write" Type="Int32" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="VW_User2Company4Display">
|
|
<Key>
|
|
<PropertyRef Name="UserId" />
|
|
<PropertyRef Name="CompanyId" />
|
|
<PropertyRef Name="Read" />
|
|
<PropertyRef Name="Write" />
|
|
</Key>
|
|
<Property Name="UserId" Type="Guid" Nullable="false" />
|
|
<Property Name="CompanyId" Type="Guid" Nullable="false" />
|
|
<Property Name="Read" Type="Int32" Nullable="false" />
|
|
<Property Name="Write" Type="Int32" Nullable="false" />
|
|
</EntityType>
|
|
<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" Nullable="false" />
|
|
<NavigationProperty Name="Company" Relationship="EnVisageModel.FK_Company2View_CompanyId" FromRole="Company2View" ToRole="Company" />
|
|
<NavigationProperty Name="View" Relationship="EnVisageModel.FK_Company2View_ViewId" FromRole="Company2View" ToRole="View" />
|
|
</EntityType>
|
|
<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="Team" Relationship="EnVisageModel.FK_Team2View_TeamId" FromRole="Team2View" ToRole="Team" />
|
|
<NavigationProperty Name="View" Relationship="EnVisageModel.FK_Team2View_ViewId" FromRole="Team2View" ToRole="View" />
|
|
</EntityType>
|
|
<Association Name="FK_Company2View_CompanyId">
|
|
<End Type="EnVisageModel.Company" Role="Company" Multiplicity="1">
|
|
<OnDelete Action="Cascade" />
|
|
</End>
|
|
<End Type="EnVisageModel.Company2View" Role="Company2View" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Company">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="Company2View">
|
|
<PropertyRef Name="CompanyId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_Company2View_ViewId">
|
|
<End Type="EnVisageModel.View" Role="View" Multiplicity="1">
|
|
<OnDelete Action="Cascade" />
|
|
</End>
|
|
<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_TeamId">
|
|
<End Type="EnVisageModel.Team" Role="Team" Multiplicity="1">
|
|
<OnDelete Action="Cascade" />
|
|
</End>
|
|
<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_Team2View_ViewId">
|
|
<End Type="EnVisageModel.View" Role="View" Multiplicity="1">
|
|
<OnDelete Action="Cascade" />
|
|
</End>
|
|
<End Type="EnVisageModel.Team2View" Role="Team2View" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="View">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="Team2View">
|
|
<PropertyRef Name="ViewId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<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="SystemAttributeId" Type="Guid" />
|
|
<Property Name="Title" Type="String" MaxLength="400" FixedLength="false" Unicode="true" />
|
|
<Property Name="DomainId" Type="Guid" />
|
|
<Property Name="NoteType" Type="Int32" Nullable="true" />
|
|
</EntityType>
|
|
<EntityType Name="UserDefinedField">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="DomainId" Type="Int32" Nullable="false" />
|
|
<Property Name="CreatorId" Type="Guid" Nullable="false" />
|
|
<Property Name="Type" Type="Int32" Nullable="false" />
|
|
<Property Name="Status" Type="Boolean" Nullable="false" />
|
|
<Property Name="Required" Type="Boolean" Nullable="false" />
|
|
<Property Name="LastUpdate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="ModifiedById" Type="Guid" Nullable="false" />
|
|
<Property Name="Name" Type="String" Nullable="false" MaxLength="100" FixedLength="false" Unicode="true" />
|
|
<Property Name="Description" Type="String" MaxLength="500" FixedLength="false" Unicode="true" />
|
|
<Property Name="Label" Type="String" Nullable="false" MaxLength="500" FixedLength="false" Unicode="true" />
|
|
<Property Name="SortOrder" Type="Int32" Nullable="false" />
|
|
<Property Name="DefaultValue" Type="String" MaxLength="2000" FixedLength="false" Unicode="true" />
|
|
<NavigationProperty Name="UserDefinedValues" Relationship="EnVisageModel.FK_UserDefinedValue_UserDefinedField" FromRole="UserDefinedField" ToRole="UserDefinedValue" />
|
|
</EntityType>
|
|
<EntityType Name="UserDefinedValue">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="CreatorId" Type="Guid" Nullable="false" />
|
|
<Property Name="UserDefinedFieldId" Type="Guid" Nullable="false" />
|
|
<Property Name="ParentId" Type="Guid" Nullable="false" />
|
|
<Property Name="EntryTimeStamp" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="LastUpdate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="ModifiedById" Type="Guid" Nullable="false" />
|
|
<Property Name="Status" Type="Boolean" Nullable="false" />
|
|
<Property Name="Value" Type="String" MaxLength="2000" FixedLength="false" Unicode="true" />
|
|
<NavigationProperty Name="UserDefinedField" Relationship="EnVisageModel.FK_UserDefinedValue_UserDefinedField" FromRole="UserDefinedValue" ToRole="UserDefinedField" />
|
|
</EntityType>
|
|
<Association Name="FK_UserDefinedValue_UserDefinedField">
|
|
<End Type="EnVisageModel.UserDefinedField" Role="UserDefinedField" Multiplicity="1" />
|
|
<End Type="EnVisageModel.UserDefinedValue" Role="UserDefinedValue" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="UserDefinedField">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="UserDefinedValue">
|
|
<PropertyRef Name="UserDefinedFieldId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<EntityType Name="VW_Company2View">
|
|
<Key>
|
|
<PropertyRef Name="CompanyId" />
|
|
<PropertyRef Name="ViewId" />
|
|
</Key>
|
|
<Property Name="CompanyId" Type="Guid" Nullable="false" />
|
|
<Property Name="ViewId" Type="Guid" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="VW_Team2View">
|
|
<Key>
|
|
<PropertyRef Name="ViewId" />
|
|
<PropertyRef Name="TeamId" />
|
|
</Key>
|
|
<Property Name="ViewId" Type="Guid" Nullable="false" />
|
|
<Property Name="TeamId" Type="Guid" Nullable="false" />
|
|
</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="StatusId" />
|
|
<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="ForecastTotalQuantity" Type="Decimal" Precision="38" Scale="6" />
|
|
<Property Name="ActualsTotalQuantity" Type="Decimal" Precision="38" Scale="6" />
|
|
<Property Name="VariationQuantityPercent" Type="Decimal" Precision="38" Scale="6" />
|
|
<Property Name="Status" Type="Int32" />
|
|
<Property Name="BUDirectCosts" Type="Decimal" Precision="15" Scale="4" />
|
|
<Property Name="ScenarioEndDate" Type="DateTime" Precision="3" />
|
|
<Property Name="ScenarioStartDate" Type="DateTime" Precision="3" />
|
|
<Property Name="ProjectId" Type="Guid" Nullable="false" />
|
|
<Property Name="ProjectName" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
|
|
<Property Name="ProjectTypeId" Type="Guid" Nullable="false" />
|
|
<Property Name="ProjectPriority" Type="Decimal" Nullable="false" Precision="5" Scale="2" />
|
|
<Property Name="StatusId" Type="Guid" Nullable="false" />
|
|
<Property Name="ClientId" Type="Guid" />
|
|
<Property Name="ProjectTypeName" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
|
|
<Property Name="StrategicGoalId" Type="Guid" />
|
|
<Property Name="TagID" Type="Guid" />
|
|
<Property Name="ActualsCostForecasted" Type="Decimal" Precision="38" Scale="4" />
|
|
<Property Name="ActualsCostVariation" Type="Decimal" Precision="38" Scale="4" />
|
|
<Property Name="ActualsQuantityVariation" Type="Decimal" Precision="38" Scale="6" />
|
|
<Property Name="ProjectWeight" Type="Decimal" Precision="23" Scale="10" />
|
|
<Property Name="FiscalPeriodId" Type="Guid" Nullable="false" />
|
|
<Property Name="ScenarioGroupId" Type="Guid" />
|
|
</EntityType>
|
|
<EntityType Name="VW_Scenario2Project">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="Type" />
|
|
<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" 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="Decimal" Precision="5" Scale="2" />
|
|
<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="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="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="Decimal" Nullable="false" Precision="5" Scale="2" />
|
|
<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="EditTimestamp" Type="Binary" Nullable="false" MaxLength="8" FixedLength="true" annotation:StoreGeneratedPattern="Computed" />
|
|
<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="StrategicGoal2Project" Relationship="EnVisageModel.FK_StrategicGoal2Project_Project" FromRole="Project" ToRole="StrategicGoal2Project" />
|
|
<NavigationProperty Name="Team2Project" Relationship="EnVisageModel.FK_Team2Project_Project" FromRole="Project" ToRole="Team2Project" />
|
|
<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="ProjectDependencies" Relationship="EnVisageModel.FK_ProjectDependency_Source" FromRole="Project" ToRole="ProjectDependency" />
|
|
<NavigationProperty Name="ProjectDependencies1" Relationship="EnVisageModel.FK_ProjectDependency_Target" FromRole="Project" ToRole="ProjectDependency" />
|
|
</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_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_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>
|
|
<EntityType Name="WorkflowGlobalParameter">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="Type" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="Name" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="Value" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
</EntityType>
|
|
<EntityType Name="WorkflowInbox">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="ProcessId" Type="Guid" Nullable="false" />
|
|
<Property Name="IdentityId" Type="Guid" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="WorkflowProcessInstance">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="StateName" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="ActivityName" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="SchemeId" Type="Guid" />
|
|
<Property Name="PreviousState" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="PreviousStateForDirect" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="PreviousStateForReverse" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="PreviousActivity" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="PreviousActivityForDirect" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="PreviousActivityForReverse" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="ParentProcessId" Type="Guid" />
|
|
<Property Name="RootProcessId" Type="Guid" Nullable="false" />
|
|
<Property Name="IsDeterminingParametersChanged" Type="Boolean" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="WorkflowProcessInstancePersistence">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="ProcessId" Type="Guid" Nullable="false" />
|
|
<Property Name="ParameterName" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="Value" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
</EntityType>
|
|
<EntityType Name="WorkflowProcessInstanceStatu">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="Status" Type="Byte" Nullable="false" />
|
|
<Property Name="Lock" Type="Guid" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="WorkflowProcessScheme">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="Scheme" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="DefiningParameters" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="DefiningParametersHash" Type="String" Nullable="false" MaxLength="1024" FixedLength="false" Unicode="true" />
|
|
<Property Name="SchemeCode" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="IsObsolete" Type="Boolean" Nullable="false" />
|
|
<Property Name="RootSchemeCode" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="RootSchemeId" Type="Guid" />
|
|
<Property Name="AllowedActivities" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="StartingTransition" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
</EntityType>
|
|
<EntityType Name="WorkflowProcessTimer">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="ProcessId" Type="Guid" Nullable="false" />
|
|
<Property Name="Name" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="NextExecutionDateTime" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="Ignore" Type="Boolean" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="WorkflowScheme">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="Name" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="Code" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="ProcessType" Type="Int32" Nullable="false" />
|
|
<Property Name="isDefault" Type="Boolean" Nullable="false" />
|
|
<Property Name="CreatedBy" Type="Guid" Nullable="false" />
|
|
<Property Name="DateCreated" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="UpdatedBy" Type="Guid" />
|
|
<Property Name="UpdateDate" Type="DateTime" Precision="3" />
|
|
<Property Name="isActive" Type="Boolean" Nullable="false" />
|
|
<Property Name="Scheme" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="isTemplate" Type="Boolean" />
|
|
</EntityType>
|
|
<EntityType Name="VW_WorkflowModelView">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="Name" />
|
|
<PropertyRef Name="Code" />
|
|
<PropertyRef Name="ProcessType" />
|
|
<PropertyRef Name="isDefault" />
|
|
<PropertyRef Name="CreatedBy" />
|
|
<PropertyRef Name="DateCreated" />
|
|
<PropertyRef Name="isActive" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="Name" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="Code" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="ProcessType" Type="Int32" Nullable="false" />
|
|
<Property Name="isDefault" Type="Boolean" Nullable="false" />
|
|
<Property Name="CreatedBy" Type="Guid" Nullable="false" />
|
|
<Property Name="DateCreated" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="UpdatedBy" Type="Guid" />
|
|
<Property Name="UpdateDate" Type="DateTime" Precision="3" />
|
|
<Property Name="isActive" Type="Boolean" Nullable="false" />
|
|
<Property Name="Scheme" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="isTemplate" Type="Boolean" />
|
|
<Property Name="totalRecordInWorkFlow" Type="Int32" />
|
|
</EntityType>
|
|
<EntityType Name="IntegrationConnectionInfo">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="ClientInfoId" Type="Guid" Nullable="false" />
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="Url" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="UserId" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="Password" Type="String" Nullable="false" MaxLength="200" FixedLength="false" Unicode="true" />
|
|
<Property Name="AccessClass" Type="String" Nullable="false" MaxLength="200" FixedLength="false" Unicode="true" />
|
|
<Property Name="Type" Type="Int32" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="Type2WorkFlowScheme">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="ProjectTypeId" />
|
|
<PropertyRef Name="WorkFlowSchemeId" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="ProjectTypeId" Type="Guid" Nullable="false" />
|
|
<Property Name="WorkFlowSchemeId" Type="Guid" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="WorkFlowRole">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="RoleName" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<NavigationProperty Name="User2WorkFlowRole" Relationship="EnVisageModel.FK_User2WorkFlowRole_WorkFlowRoles" FromRole="WorkFlowRole" ToRole="User2WorkFlowRole" />
|
|
</EntityType>
|
|
<EntityType Name="VW_WorkflowRoleModelView">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="RoleName" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="RoleName" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="UsersInRole" Type="Int32" />
|
|
</EntityType>
|
|
<EntityType Name="User2WorkFlowRole">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="RoleId" Type="Guid" Nullable="false" />
|
|
<Property Name="UserId" Type="String" Nullable="false" MaxLength="128" FixedLength="false" Unicode="true" />
|
|
<NavigationProperty Name="WorkFlowRole" Relationship="EnVisageModel.FK_User2WorkFlowRole_WorkFlowRoles" FromRole="User2WorkFlowRole" ToRole="WorkFlowRole" />
|
|
<NavigationProperty Name="AspNetUser" Relationship="EnVisageModel.FK_User2WorkFlowRole_AspNetUsers" FromRole="User2WorkFlowRole" ToRole="AspNetUser" />
|
|
</EntityType>
|
|
<Association Name="FK_User2WorkFlowRole_WorkFlowRoles">
|
|
<End Type="EnVisageModel.WorkFlowRole" Role="WorkFlowRole" Multiplicity="1" />
|
|
<End Type="EnVisageModel.User2WorkFlowRole" Role="User2WorkFlowRole" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="WorkFlowRole">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="User2WorkFlowRole">
|
|
<PropertyRef Name="RoleId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<EntityType Name="Integration2Prevu">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="ClientInfoId" Type="Guid" Nullable="false" />
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="EntityName" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="FieldName" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="FieldType" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="PrevuName" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="PrevuEntityName" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="TriggerType" Type="String" Nullable="false" MaxLength="10" FixedLength="true" Unicode="true" />
|
|
<Property Name="DefaultValue" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
|
|
</EntityType>
|
|
<EntityType Name="VW_ProjectTeamsResourceAllocated">
|
|
<Key>
|
|
<PropertyRef Name="ProjectId" />
|
|
<PropertyRef Name="ScenarioId" />
|
|
<PropertyRef Name="ScenarioType" />
|
|
<PropertyRef Name="TeamId" />
|
|
</Key>
|
|
<Property Name="ProjectId" Type="Guid" Nullable="false" />
|
|
<Property Name="ScenarioId" Type="Guid" Nullable="false" />
|
|
<Property Name="ScenarioType" Type="Int32" Nullable="false" />
|
|
<Property Name="TeamId" Type="Guid" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="VW_PeopleResourceAllocationsInfo">
|
|
<Key>
|
|
<PropertyRef Name="PeopleResourceId" />
|
|
<PropertyRef Name="Type" />
|
|
</Key>
|
|
<Property Name="PeopleResourceId" Type="Guid" Nullable="false" />
|
|
<Property Name="Type" Type="Int32" Nullable="false" />
|
|
<Property Name="MinDate" Type="DateTime" Precision="3" />
|
|
<Property Name="MaxDate" Type="DateTime" Precision="3" />
|
|
</EntityType>
|
|
<EntityType Name="EmailRouting">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="Message" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="Status" Type="Int32" Nullable="false" />
|
|
<Property Name="SubmitDate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="SubmittedBy" Type="Guid" Nullable="false" />
|
|
<Property Name="DateSent" Type="DateTime" Precision="3" />
|
|
</EntityType>
|
|
<EntityType Name="EmailTemplate">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="TemplateId" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="Template" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="ProcessType" Type="Int32" Nullable="false" />
|
|
<Property Name="isDefault" Type="Boolean" Nullable="false" />
|
|
<Property Name="isActive" Type="Boolean" Nullable="false" />
|
|
<Property Name="CreatedBy" Type="Guid" Nullable="false" />
|
|
<Property Name="DateCreated" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="DateUpdated" Type="DateTime" Precision="3" />
|
|
<Property Name="UpdatedBy" Type="Guid" />
|
|
</EntityType>
|
|
<EntityType Name="PeopleResourceExpCatChange">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="PeopleResourceId" Type="Guid" Nullable="false" />
|
|
<Property Name="OldExpenditureCategoryId" Type="Guid" Nullable="false" />
|
|
<Property Name="NewExpenditureCategoryId" Type="Guid" Nullable="false" />
|
|
<Property Name="DateOfChange" Type="DateTime" Nullable="false" Precision="3" />
|
|
<NavigationProperty Name="ExpenditureCategory" Relationship="EnVisageModel.FK_PeopleResourceExpCatChanges_ExpenditureCategory" FromRole="PeopleResourceExpCatChange" ToRole="ExpenditureCategory" />
|
|
<NavigationProperty Name="PeopleResource" Relationship="EnVisageModel.FK_PeopleResourceExpCatChanges_PeopleResource" FromRole="PeopleResourceExpCatChange" ToRole="PeopleResource" />
|
|
</EntityType>
|
|
<Association Name="FK_PeopleResourceExpCatChanges_ExpenditureCategory">
|
|
<End Type="EnVisageModel.ExpenditureCategory" Role="ExpenditureCategory" Multiplicity="1">
|
|
<OnDelete Action="Cascade" />
|
|
</End>
|
|
<End Type="EnVisageModel.PeopleResourceExpCatChange" Role="PeopleResourceExpCatChange" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="ExpenditureCategory">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="PeopleResourceExpCatChange">
|
|
<PropertyRef Name="OldExpenditureCategoryId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_PeopleResourceExpCatChanges_PeopleResource">
|
|
<End Type="EnVisageModel.PeopleResource" Role="PeopleResource" Multiplicity="1">
|
|
<OnDelete Action="Cascade" />
|
|
</End>
|
|
<End Type="EnVisageModel.PeopleResourceExpCatChange" Role="PeopleResourceExpCatChange" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="PeopleResource">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="PeopleResourceExpCatChange">
|
|
<PropertyRef Name="PeopleResourceId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<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="Link" Type="String" MaxLength="400" FixedLength="false" Unicode="true" />
|
|
<Property Name="FileSize" Type="Int32" />
|
|
<Property Name="Created" Type="DateTime" Precision="3" />
|
|
</EntityType>
|
|
<EntityType Name="WorkFlowEmailStore">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="Who" Type="String" Nullable="false" MaxLength="200" FixedLength="false" Unicode="true" />
|
|
<Property Name="subject" Type="String" Nullable="false" MaxLength="200" FixedLength="false" Unicode="true" />
|
|
<Property Name="Body" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="DateTimeCreated" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="Sent" Type="Boolean" Nullable="false" />
|
|
<Property Name="WorkFlowState" Type="String" Nullable="false" MaxLength="100" FixedLength="false" Unicode="true" />
|
|
</EntityType>
|
|
<EntityType Name="WorkFlowEmailStoreLink">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="WorkFlowEmailStoreId" Type="Guid" Nullable="false" />
|
|
<Property Name="Link" Type="String" Nullable="false" MaxLength="500" FixedLength="false" Unicode="true" />
|
|
<Property Name="LinkText" Type="String" Nullable="false" MaxLength="500" FixedLength="false" Unicode="true" />
|
|
</EntityType>
|
|
<EntityType Name="vw_User2WorkFlowRoles">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="RoleName" />
|
|
</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="FirstName" Type="String" MaxLength="40" FixedLength="false" Unicode="true" />
|
|
<Property Name="LastName" Type="String" MaxLength="40" FixedLength="false" Unicode="true" />
|
|
<Property Name="Email" Type="String" MaxLength="2048" FixedLength="false" Unicode="true" />
|
|
<Property Name="RoleName" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
</EntityType>
|
|
<EntityType Name="vw_User2Team2WorkflowRoleContactInfo">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="TeamId" />
|
|
<PropertyRef Name="RoleName" />
|
|
</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="FirstName" Type="String" MaxLength="40" FixedLength="false" Unicode="true" />
|
|
<Property Name="LastName" Type="String" MaxLength="40" FixedLength="false" Unicode="true" />
|
|
<Property Name="Email" Type="String" MaxLength="2048" FixedLength="false" Unicode="true" />
|
|
<Property Name="TeamId" Type="Guid" Nullable="false" />
|
|
<Property Name="Name" Type="String" MaxLength="400" FixedLength="false" Unicode="true" />
|
|
<Property Name="RoleName" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
</EntityType>
|
|
<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" />
|
|
<Property Name="NotifyOnProjectChange" Type="Boolean" />
|
|
<Property Name="WorkFlowSchemaId" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="WorkFlowState" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="NotifyOnProjectCreate" Type="Boolean" />
|
|
<Property Name="NotifyOnProjectDelete" Type="Boolean" />
|
|
<Property Name="ResetScenariosToInactive" Type="Boolean" />
|
|
<NavigationProperty Name="Projects" Relationship="EnVisageModel.FK_Show_Status" FromRole="Status" ToRole="Project" />
|
|
</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" />
|
|
<Property Name="WorkFlowScheme" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="NotifyOnProjectCreate" Type="Boolean" />
|
|
<Property Name="NotifyOnProjectDelete" Type="Boolean" />
|
|
<Property Name="NotifyOnProjectChange" Type="Boolean" />
|
|
<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>
|
|
<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_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="Notification">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="ParentId" Type="Guid" />
|
|
<Property Name="Description" Type="String" Nullable="false" MaxLength="200" FixedLength="false" Unicode="true" />
|
|
<Property Name="Title" Type="String" Nullable="false" MaxLength="200" FixedLength="false" Unicode="true" />
|
|
<Property Name="Link" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
<Property Name="NotificationGroup" Type="Int32" Nullable="false" />
|
|
<Property Name="NotificationType" Type="Int32" Nullable="false" />
|
|
<Property Name="NotificationDate" Type="DateTime" Nullable="false" Precision="3" />
|
|
<Property Name="NotificationViewed" Type="Boolean" Nullable="false" />
|
|
<Property Name="IdinLink" Type="Guid" />
|
|
<Property Name="WorkFlowState" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="WorkFlowLinkName" Type="String" FixedLength="false" Unicode="true" MaxLength="200" />
|
|
<Property Name="WorkFlowEntityName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="DeleteOnPageView" Type="Boolean" />
|
|
<Property Name="ExpiresOnDate" Type="DateTime" Precision="3" />
|
|
</EntityType>
|
|
<EntityType Name="ProjectDependency">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="SourceProjectId" Type="Guid" Nullable="false" />
|
|
<Property Name="TargetProjectId" Type="Guid" Nullable="false" />
|
|
<Property Name="Type" Type="Int16" Nullable="false" />
|
|
<NavigationProperty Name="Project" Relationship="EnVisageModel.FK_ProjectDependency_Source" FromRole="ProjectDependency" ToRole="Project" />
|
|
<NavigationProperty Name="Project1" Relationship="EnVisageModel.FK_ProjectDependency_Target" FromRole="ProjectDependency" ToRole="Project" />
|
|
</EntityType>
|
|
<EntityType Name="VW_ProjectDependencies">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="SourceProjectId" />
|
|
<PropertyRef Name="TargetProjectId" />
|
|
<PropertyRef Name="Type" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="SourceProjectId" Type="Guid" Nullable="false" />
|
|
<Property Name="TargetProjectId" Type="Guid" Nullable="false" />
|
|
<Property Name="Type" Type="Int16" Nullable="false" />
|
|
<Property Name="SourceProjectName" Type="String" MaxLength="1602" FixedLength="false" Unicode="true" />
|
|
<Property Name="TargetProjectName" Type="String" MaxLength="1602" FixedLength="false" Unicode="true" />
|
|
<Property Name="SourceStartDate" Type="DateTime" Precision="3" />
|
|
<Property Name="SourceEndDate" Type="DateTime" Precision="3" />
|
|
<Property Name="TargetStartDate" Type="DateTime" Precision="3" />
|
|
<Property Name="TargetEndDate" Type="DateTime" Precision="3" />
|
|
<Property Name="SourceDeadline" Type="DateTime" Precision="3" />
|
|
<Property Name="TargetDeadline" Type="DateTime" Precision="3" />
|
|
<Property Name="SourceHasActuals" Type="Boolean" Nullable="false" />
|
|
<Property Name="TargetHasActuals" Type="Boolean" Nullable="false" />
|
|
</EntityType>
|
|
<Association Name="FK_ProjectDependency_Source">
|
|
<End Type="EnVisageModel.Project" Role="Project" Multiplicity="1" />
|
|
<End Type="EnVisageModel.ProjectDependency" Role="ProjectDependency" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Project">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="ProjectDependency">
|
|
<PropertyRef Name="SourceProjectId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_ProjectDependency_Target">
|
|
<End Type="EnVisageModel.Project" Role="Project" Multiplicity="1" />
|
|
<End Type="EnVisageModel.ProjectDependency" Role="ProjectDependency" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="Project">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="ProjectDependency">
|
|
<PropertyRef Name="TargetProjectId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<EntityType Name="VW_ExpenditureCategory">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="ExpenditureId" />
|
|
<PropertyRef Name="GLId" />
|
|
<PropertyRef Name="UOMId" />
|
|
<PropertyRef Name="UOMValue" />
|
|
<PropertyRef Name="CreditId" />
|
|
<PropertyRef Name="Name" />
|
|
<PropertyRef Name="AllowResourceAssignment" />
|
|
</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="UOMName" Type="String" MaxLength="400" FixedLength="false" Unicode="true" />
|
|
<Property Name="UOMValue" Type="Decimal" Nullable="false" Precision="15" Scale="4" />
|
|
<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="AllowResourceAssignment" Type="Boolean" Nullable="false" />
|
|
<Property Name="ExpCategoryWithCcName" Type="String" MaxLength="1603" FixedLength="false" Unicode="true" />
|
|
</EntityType>
|
|
<EntityType Name="VW_ProjectAccessByUserExtended">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="TypeId" />
|
|
<PropertyRef Name="StatusId" />
|
|
<PropertyRef Name="Priority" />
|
|
<PropertyRef Name="Probability" />
|
|
<PropertyRef Name="IsRevenueGenerating" />
|
|
<PropertyRef Name="HasChildren" />
|
|
<PropertyRef Name="EditTimestamp" />
|
|
<PropertyRef Name="UserId" />
|
|
<PropertyRef Name="StatusName" />
|
|
<PropertyRef Name="CompanyName" />
|
|
<PropertyRef Name="ClientName" />
|
|
<PropertyRef Name="TypeName" />
|
|
<PropertyRef Name="ActiveScenarioName" />
|
|
</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="Decimal" Nullable="false" Precision="5" Scale="2" />
|
|
<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="EditTimestamp" Type="Binary" Nullable="false" MaxLength="8" FixedLength="true" annotation:StoreGeneratedPattern="Computed" />
|
|
<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" />
|
|
<Property Name="Write" Type="Int32" />
|
|
<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="VW_User2Team">
|
|
<Key>
|
|
<PropertyRef Name="UserId" />
|
|
<PropertyRef Name="TeamId" />
|
|
<PropertyRef Name="Read" />
|
|
<PropertyRef Name="Write" />
|
|
</Key>
|
|
<Property Name="UserId" Type="Guid" Nullable="false" />
|
|
<Property Name="TeamId" Type="Guid" Nullable="false" />
|
|
<Property Name="TeamName" Type="String" MaxLength="400" FixedLength="false" Unicode="true" />
|
|
<Property Name="CompanyId" Type="Guid" />
|
|
<Property Name="Read" Type="Int32" Nullable="false" />
|
|
<Property Name="Write" Type="Int32" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="WorkFlowContact">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="PartentId" Type="Guid" Nullable="false" />
|
|
<Property Name="ContactId" Type="Guid" Nullable="false" />
|
|
<Property Name="ContactType" Type="Int32" Nullable="false" />
|
|
<Property Name="NotificationType" Type="Int32" />
|
|
<NavigationProperty Name="NotificationToWorkFlowStates" Relationship="EnVisageModel.FK_NotificationToWorkFlowState_WorkFlowContacts" FromRole="WorkFlowContact" ToRole="NotificationToWorkFlowState" />
|
|
</EntityType>
|
|
<EntityType Name="WorkFlowParallelApproval">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="ProcessId" Type="Guid" Nullable="false" />
|
|
<Property Name="UserId" Type="Guid" Nullable="false" />
|
|
<Property Name="StepName" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="Approved" Type="Boolean" />
|
|
<Property Name="DateApproved" Type="DateTime" Precision="3" />
|
|
<Property Name="IsActive" Type="Boolean" Nullable="false" />
|
|
<Property Name="GroupId" Type="Guid" />
|
|
</EntityType>
|
|
<EntityType Name="MenuNavigation">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
<PropertyRef Name="Display" />
|
|
<PropertyRef Name="Link" />
|
|
<PropertyRef Name="Value" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="Display" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="Link" Type="String" Nullable="false" MaxLength="200" FixedLength="false" Unicode="true" />
|
|
<Property Name="Value" Type="Int32" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="NotificationToWorkFlowState">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
<Property Name="State" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
<Property Name="WorkFlowContactId" Type="Guid" Nullable="false" />
|
|
<NavigationProperty Name="WorkFlowContact" Relationship="EnVisageModel.FK_NotificationToWorkFlowState_WorkFlowContacts" FromRole="NotificationToWorkFlowState" ToRole="WorkFlowContact" />
|
|
</EntityType>
|
|
<Association Name="FK_NotificationToWorkFlowState_WorkFlowContacts">
|
|
<End Type="EnVisageModel.WorkFlowContact" Role="WorkFlowContact" Multiplicity="1" />
|
|
<End Type="EnVisageModel.NotificationToWorkFlowState" Role="NotificationToWorkFlowState" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="WorkFlowContact">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="NotificationToWorkFlowState">
|
|
<PropertyRef Name="WorkFlowContactId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<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="PhoneNumber" 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" />
|
|
<Property Name="LastLoginDate" Type="DateTime" Precision="3" />
|
|
<Property Name="LoginDate" Type="DateTime" Precision="3" />
|
|
<Property Name="OverUnderCoefficient" Type="Decimal" Nullable="false" Precision="6" Scale="4" />
|
|
<Property Name="ShowAutomaticViews" Type="Boolean" Nullable="false" />
|
|
<Property Name="EmailConfirmed" Type="Boolean" Nullable="false" />
|
|
<Property Name="PhoneNumberConfirmed" Type="Boolean" Nullable="false" />
|
|
<Property Name="TwoFactorEnabled" Type="Boolean" Nullable="false" />
|
|
<Property Name="LockoutEndDateUtc" Type="DateTime" Precision="3" />
|
|
<Property Name="LockoutEnabled" Type="Boolean" Nullable="false" />
|
|
<Property Name="AccessFailedCount" Type="Int32" Nullable="false" />
|
|
<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="User2WorkFlowRole" Relationship="EnVisageModel.FK_User2WorkFlowRole_AspNetUsers" FromRole="AspNetUser" ToRole="User2WorkFlowRole" />
|
|
<NavigationProperty Name="AspNetRoles" Relationship="EnVisageModel.AspNetUserRoles" FromRole="AspNetUser" ToRole="AspNetRole" />
|
|
<NavigationProperty Name="AspNetUserClaims" Relationship="EnVisageModel.FK_dbo_AspNetUserClaims_dbo_AspNetUsers_User_Id" FromRole="AspNetUser" ToRole="AspNetUserClaim" />
|
|
</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="FK_User2WorkFlowRole_AspNetUsers">
|
|
<End Type="EnVisageModel.AspNetUser" Role="AspNetUser" Multiplicity="1" />
|
|
<End Type="EnVisageModel.User2WorkFlowRole" Role="User2WorkFlowRole" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="AspNetUser">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="User2WorkFlowRole">
|
|
<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="AspNetUserClaim">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
<Property Name="ClaimType" Type="String" MaxLength="4000" FixedLength="false" Unicode="true" />
|
|
<Property Name="ClaimValue" Type="String" MaxLength="4000" FixedLength="false" Unicode="true" />
|
|
<Property Name="UserId" Type="String" Nullable="false" MaxLength="128" FixedLength="false" Unicode="true" />
|
|
<NavigationProperty Name="AspNetUser" Relationship="EnVisageModel.FK_dbo_AspNetUserClaims_dbo_AspNetUsers_User_Id" FromRole="AspNetUserClaim" ToRole="AspNetUser" />
|
|
</EntityType>
|
|
<Association Name="FK_dbo_AspNetUserClaims_dbo_AspNetUsers_User_Id">
|
|
<End Type="EnVisageModel.AspNetUser" Role="AspNetUser" Multiplicity="1">
|
|
<OnDelete Action="Cascade" />
|
|
</End>
|
|
<End Type="EnVisageModel.AspNetUserClaim" Role="AspNetUserClaim" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="AspNetUser">
|
|
<PropertyRef Name="Id" />
|
|
</Principal>
|
|
<Dependent Role="AspNetUserClaim">
|
|
<PropertyRef Name="UserId" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<EntityType Name="vw_WorkflowApprovalHistoryInfo">
|
|
<Key>
|
|
<PropertyRef Name="ScenarioId" />
|
|
<PropertyRef Name="StepName" />
|
|
</Key>
|
|
<Property Name="FirstName" Type="String" MaxLength="40" FixedLength="false" Unicode="true" />
|
|
<Property Name="LastName" Type="String" MaxLength="40" FixedLength="false" Unicode="true" />
|
|
<Property Name="ScenarioName" Type="String" MaxLength="800" FixedLength="false" Unicode="true" />
|
|
<Property Name="ScenarioId" Type="Guid" Nullable="false" />
|
|
<Property Name="TeamName" Type="String" MaxLength="400" FixedLength="false" Unicode="true" />
|
|
<Property Name="Approved" Type="Boolean" />
|
|
<Property Name="DateApproved" Type="DateTime" Precision="3" />
|
|
<Property Name="StepName" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
</EntityType>
|
|
<EnumType Name="ContactType" a:ExternalTypeName="EnVisage.Code.ContactType" xmlns:a="http://schemas.microsoft.com/ado/2006/04/codegeneration" />
|
|
</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="Version" ColumnName="Version" />
|
|
<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="Expenditures">
|
|
<EntityTypeMapping TypeName="EnVisageModel.Expenditure">
|
|
<MappingFragment StoreEntitySet="Expenditure">
|
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
<ScalarProperty Name="jobcode" ColumnName="jobcode" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="ExpenditureCategory">
|
|
<EntityTypeMapping TypeName="EnVisageModel.ExpenditureCategory">
|
|
<MappingFragment StoreEntitySet="ExpenditureCategory">
|
|
<ScalarProperty Name="AllowResourceAssignment" ColumnName="AllowResourceAssignment" />
|
|
<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="AllowResourceAssignment" ColumnName="AllowResourceAssignment" />
|
|
<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="AllowResourceAssignment" ColumnName="AllowResourceAssignment" />
|
|
<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="AllowResourceAssignment" ColumnName="AllowResourceAssignment" />
|
|
<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="AllowResourceAssignment" ColumnName="AllowResourceAssignment" />
|
|
<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="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="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="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="Scenarios">
|
|
<EntityTypeMapping TypeName="EnVisageModel.Scenario">
|
|
<MappingFragment StoreEntitySet="Scenario">
|
|
<ScalarProperty Name="IsBottomUp" ColumnName="IsBottomUp" />
|
|
<ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
|
|
<ScalarProperty Name="EditTimestamp" ColumnName="EditTimestamp" />
|
|
<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="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="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="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="PeopleResourceAllocations">
|
|
<EntityTypeMapping TypeName="EnVisageModel.PeopleResourceAllocation">
|
|
<MappingFragment StoreEntitySet="PeopleResourceAllocation">
|
|
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
|
|
<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="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="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="Views">
|
|
<EntityTypeMapping TypeName="EnVisageModel.View">
|
|
<MappingFragment StoreEntitySet="View">
|
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
|
<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="ProjectAddNotification" ColumnName="ProjectAddNotification" />
|
|
<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="TeamAllocations">
|
|
<EntityTypeMapping TypeName="EnVisageModel.TeamAllocation">
|
|
<MappingFragment StoreEntitySet="TeamAllocation">
|
|
<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="VariationQuantityPercent" ColumnName="VariationQuantityPercent" />
|
|
<ScalarProperty Name="ActualsTotalQuantity" ColumnName="ActualsTotalQuantity" />
|
|
<ScalarProperty Name="ForecastTotalQuantity" ColumnName="ForecastTotalQuantity" />
|
|
<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="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="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="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>
|
|
<EntitySetMapping Name="NotificationControls">
|
|
<EntityTypeMapping TypeName="EnVisageModel.NotificationControl">
|
|
<MappingFragment StoreEntitySet="NotificationControl">
|
|
<ScalarProperty Name="HowtoSend" ColumnName="HowtoSend" />
|
|
<ScalarProperty Name="NotificationType" ColumnName="NotificationType" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="Skills">
|
|
<EntityTypeMapping TypeName="EnVisageModel.Skill">
|
|
<MappingFragment StoreEntitySet="Skill">
|
|
<ScalarProperty Name="HasChildren" ColumnName="HasChildren" />
|
|
<ScalarProperty Name="ParentId" ColumnName="ParentId" />
|
|
<ScalarProperty Name="EditTimestamp" ColumnName="EditTimestamp" />
|
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
|
<ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="supt_ImportMessages">
|
|
<EntityTypeMapping TypeName="EnVisageModel.supt_ImportMessages">
|
|
<MappingFragment StoreEntitySet="supt_ImportMessages">
|
|
<ScalarProperty Name="GroupID" ColumnName="GroupID" />
|
|
<ScalarProperty Name="DateTimeProcessed" ColumnName="DateTimeProcessed" />
|
|
<ScalarProperty Name="Message" ColumnName="Message" />
|
|
<ScalarProperty Name="RecordNbr" ColumnName="RecordNbr" />
|
|
<ScalarProperty Name="ProcessID" ColumnName="ProcessID" />
|
|
<ScalarProperty Name="MessageType" ColumnName="MessageType" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="Vacations">
|
|
<EntityTypeMapping TypeName="EnVisageModel.Vacation">
|
|
<MappingFragment StoreEntitySet="Vacation">
|
|
<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="PeopleResourceActuals">
|
|
<EntityTypeMapping TypeName="EnVisageModel.PeopleResourceActual">
|
|
<MappingFragment StoreEntitySet="PeopleResourceActuals">
|
|
<ScalarProperty Name="RowCreateDate" ColumnName="RowCreateDate" />
|
|
<ScalarProperty Name="Cost" ColumnName="Cost" />
|
|
<ScalarProperty Name="Quantity" ColumnName="Quantity" />
|
|
<ScalarProperty Name="ParentId" ColumnName="ParentId" />
|
|
<ScalarProperty Name="PeopleResourceId" ColumnName="PeopleResourceId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="WorkWeeks">
|
|
<EntityTypeMapping TypeName="EnVisageModel.WorkWeek">
|
|
<MappingFragment StoreEntitySet="WorkWeek">
|
|
<ScalarProperty Name="IsSystem" ColumnName="IsSystem" />
|
|
<ScalarProperty Name="IsDefault" ColumnName="IsDefault" />
|
|
<ScalarProperty Name="Sunday" ColumnName="Sunday" />
|
|
<ScalarProperty Name="Saturday" ColumnName="Saturday" />
|
|
<ScalarProperty Name="Friday" ColumnName="Friday" />
|
|
<ScalarProperty Name="Thursday" ColumnName="Thursday" />
|
|
<ScalarProperty Name="Wednesday" ColumnName="Wednesday" />
|
|
<ScalarProperty Name="Tuesday" ColumnName="Tuesday" />
|
|
<ScalarProperty Name="Monday" ColumnName="Monday" />
|
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="Skill2Resource">
|
|
<EntityTypeMapping TypeName="EnVisageModel.Skill2Resource">
|
|
<MappingFragment StoreEntitySet="Skill2Resource">
|
|
<ScalarProperty Name="Interested" ColumnName="Interested" />
|
|
<ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
|
|
<ScalarProperty Name="Level" ColumnName="Level" />
|
|
<ScalarProperty Name="ResourceId" ColumnName="ResourceId" />
|
|
<ScalarProperty Name="SkillId" ColumnName="SkillId" />
|
|
<ScalarProperty Name="EffectiveDate" ColumnName="EffectiveDate" />
|
|
<ScalarProperty Name="Type" ColumnName="Type" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="VW_Skill2Resource">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_Skill2Resource">
|
|
<MappingFragment StoreEntitySet="VW_Skill2Resource">
|
|
<ScalarProperty Name="FutureYearDateOffset" ColumnName="FutureYearDateOffset" />
|
|
<ScalarProperty Name="PastYearDateOffset" ColumnName="PastYearDateOffset" />
|
|
<ScalarProperty Name="AssignedToGroup" ColumnName="AssignedToGroup" />
|
|
<ScalarProperty Name="SkillGroupId" ColumnName="SkillGroupId" />
|
|
<ScalarProperty Name="Interested" ColumnName="Interested" />
|
|
<ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
|
|
<ScalarProperty Name="Level" ColumnName="Level" />
|
|
<ScalarProperty Name="ResourceId" ColumnName="ResourceId" />
|
|
<ScalarProperty Name="SkillId" ColumnName="SkillId" />
|
|
<ScalarProperty Name="EffectiveDate" ColumnName="EffectiveDate" />
|
|
<ScalarProperty Name="Type" ColumnName="Type" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="NonProjectTimeCategories">
|
|
<EntityTypeMapping TypeName="EnVisageModel.NonProjectTimeCategory">
|
|
<MappingFragment StoreEntitySet="NonProjectTimeCategory">
|
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="Holiday2ExpenditureCategory">
|
|
<EntityTypeMapping TypeName="EnVisageModel.Holiday2ExpenditureCategory">
|
|
<MappingFragment StoreEntitySet="Holiday2ExpenditureCategory">
|
|
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
|
|
<ScalarProperty Name="HolidayId" ColumnName="HolidayId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="Holiday2PeopleResource">
|
|
<EntityTypeMapping TypeName="EnVisageModel.Holiday2PeopleResource">
|
|
<MappingFragment StoreEntitySet="Holiday2PeopleResource">
|
|
<ScalarProperty Name="ResourceId" ColumnName="ResourceId" />
|
|
<ScalarProperty Name="HolidayId" ColumnName="HolidayId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="Holiday2Team">
|
|
<EntityTypeMapping TypeName="EnVisageModel.Holiday2Team">
|
|
<MappingFragment StoreEntitySet="Holiday2Team">
|
|
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
|
|
<ScalarProperty Name="HolidayId" ColumnName="HolidayId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="Holidays">
|
|
<EntityTypeMapping TypeName="EnVisageModel.Holiday">
|
|
<MappingFragment StoreEntitySet="Holiday">
|
|
<ScalarProperty Name="IsInclude" ColumnName="IsInclude" />
|
|
<ScalarProperty Name="CompanyImpact" ColumnName="CompanyImpact" />
|
|
<ScalarProperty Name="EndDate" ColumnName="EndDate" />
|
|
<ScalarProperty Name="StartDate" ColumnName="StartDate" />
|
|
<ScalarProperty Name="Options" ColumnName="Options" />
|
|
<ScalarProperty Name="CreatedAt" ColumnName="CreatedAt" />
|
|
<ScalarProperty Name="EffectiveChangeDate" ColumnName="EffectiveChangeDate" />
|
|
<ScalarProperty Name="HolidayGroupId" ColumnName="HolidayGroupId" />
|
|
<ScalarProperty Name="WorkingDays" ColumnName="WorkingDays" />
|
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="HolidayAllocations">
|
|
<EntityTypeMapping TypeName="EnVisageModel.HolidayAllocation">
|
|
<MappingFragment StoreEntitySet="HolidayAllocation">
|
|
<ScalarProperty Name="Sunday" ColumnName="Sunday" />
|
|
<ScalarProperty Name="Saturday" ColumnName="Saturday" />
|
|
<ScalarProperty Name="Friday" ColumnName="Friday" />
|
|
<ScalarProperty Name="Thursday" ColumnName="Thursday" />
|
|
<ScalarProperty Name="Wednesday" ColumnName="Wednesday" />
|
|
<ScalarProperty Name="Tuesday" ColumnName="Tuesday" />
|
|
<ScalarProperty Name="Monday" ColumnName="Monday" />
|
|
<ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
|
|
<ScalarProperty Name="HolidayGroupId" ColumnName="HolidayGroupId" />
|
|
<ScalarProperty Name="HolidayId" ColumnName="HolidayId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="NonProjectTimes">
|
|
<EntityTypeMapping TypeName="EnVisageModel.NonProjectTime">
|
|
<MappingFragment StoreEntitySet="NonProjectTime">
|
|
<ScalarProperty Name="IsTeamMode" ColumnName="IsTeamMode" />
|
|
<ScalarProperty Name="IsPercentsMode" ColumnName="IsPercentsMode" />
|
|
<ScalarProperty Name="Permanent" ColumnName="Permanent" />
|
|
<ScalarProperty Name="Details" ColumnName="Details" />
|
|
<ScalarProperty Name="Cost" ColumnName="Cost" />
|
|
<ScalarProperty Name="NonProjectTimeCategoryId" ColumnName="NonProjectTimeCategoryId" />
|
|
<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="VW_HolidayAllocation">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_HolidayAllocation">
|
|
<MappingFragment StoreEntitySet="VW_HolidayAllocation">
|
|
<ScalarProperty Name="AdjustmentKoeff" ColumnName="AdjustmentKoeff" />
|
|
<ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
|
|
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
|
|
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
|
|
<ScalarProperty Name="PeopleResourceId" ColumnName="PeopleResourceId" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="VW_Holiday">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_Holiday">
|
|
<MappingFragment StoreEntitySet="VW_Holiday">
|
|
<ScalarProperty Name="ValidTo" ColumnName="ValidTo" />
|
|
<ScalarProperty Name="IsInclude" ColumnName="IsInclude" />
|
|
<ScalarProperty Name="CompanyImpact" ColumnName="CompanyImpact" />
|
|
<ScalarProperty Name="EndDate" ColumnName="EndDate" />
|
|
<ScalarProperty Name="StartDate" ColumnName="StartDate" />
|
|
<ScalarProperty Name="Options" ColumnName="Options" />
|
|
<ScalarProperty Name="CreatedAt" ColumnName="CreatedAt" />
|
|
<ScalarProperty Name="EffectiveChangeDate" ColumnName="EffectiveChangeDate" />
|
|
<ScalarProperty Name="HolidayGroupId" ColumnName="HolidayGroupId" />
|
|
<ScalarProperty Name="WorkingDays" ColumnName="WorkingDays" />
|
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="VW_PlanningCapacityAdjusted">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_PlanningCapacityAdjusted">
|
|
<MappingFragment StoreEntitySet="VW_PlanningCapacityAdjusted">
|
|
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
|
|
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
|
|
<ScalarProperty Name="AdjustmentKoeff" ColumnName="AdjustmentKoeff" />
|
|
<ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
|
|
<ScalarProperty Name="ScenarioId" ColumnName="ScenarioId" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="PeopleResource2Team">
|
|
<EntityTypeMapping TypeName="EnVisageModel.PeopleResource2Team">
|
|
<MappingFragment StoreEntitySet="PeopleResource2Team">
|
|
<ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
|
|
<ScalarProperty Name="Allocation" ColumnName="Allocation" />
|
|
<ScalarProperty Name="EndDate" ColumnName="EndDate" />
|
|
<ScalarProperty Name="StartDate" ColumnName="StartDate" />
|
|
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
|
|
<ScalarProperty Name="PeopleResourceId" ColumnName="PeopleResourceId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="VW_TeamResource">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_TeamResource">
|
|
<MappingFragment StoreEntitySet="VW_TeamResource">
|
|
<ScalarProperty Name="Allocation" ColumnName="Allocation" />
|
|
<ScalarProperty Name="TeamEndDate" ColumnName="TeamEndDate" />
|
|
<ScalarProperty Name="TeamStartDate" ColumnName="TeamStartDate" />
|
|
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
|
|
<ScalarProperty Name="WorkWeekId" ColumnName="WorkWeekId" />
|
|
<ScalarProperty Name="Email" ColumnName="Email" />
|
|
<ScalarProperty Name="EmployeeID" ColumnName="EmployeeID" />
|
|
<ScalarProperty Name="EndDate" ColumnName="EndDate" />
|
|
<ScalarProperty Name="StartDate" ColumnName="StartDate" />
|
|
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
|
|
<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="PeopleResources">
|
|
<EntityTypeMapping TypeName="EnVisageModel.PeopleResource">
|
|
<MappingFragment StoreEntitySet="PeopleResource">
|
|
<ScalarProperty Name="WorkWeekId" ColumnName="WorkWeekId" />
|
|
<ScalarProperty Name="Email" ColumnName="Email" />
|
|
<ScalarProperty Name="EmployeeID" ColumnName="EmployeeID" />
|
|
<ScalarProperty Name="EndDate" ColumnName="EndDate" />
|
|
<ScalarProperty Name="StartDate" ColumnName="StartDate" />
|
|
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
|
|
<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="VW_ExpendituresWithAdjustmentFactor">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_ExpendituresWithAdjustmentFactor">
|
|
<MappingFragment StoreEntitySet="VW_ExpendituresWithAdjustmentFactor">
|
|
<ScalarProperty Name="AdjustmentFactor" ColumnName="AdjustmentFactor" />
|
|
<ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
|
|
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="NonProjectTime2Resource">
|
|
<EntityTypeMapping TypeName="EnVisageModel.NonProjectTime2Resource">
|
|
<MappingFragment StoreEntitySet="NonProjectTime2Resource">
|
|
<ScalarProperty Name="Position" ColumnName="Position" />
|
|
<ScalarProperty Name="PeopleResourceId" ColumnName="PeopleResourceId" />
|
|
<ScalarProperty Name="NonProjectTimeId" ColumnName="NonProjectTimeId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="VW_NonProjectTimeAllocation">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_NonProjectTimeAllocation">
|
|
<MappingFragment StoreEntitySet="VW_NonProjectTimeAllocation">
|
|
<ScalarProperty Name="Rate" ColumnName="Rate" />
|
|
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
|
|
<ScalarProperty Name="NonProjectTimeCategoryName" ColumnName="NonProjectTimeCategoryName" />
|
|
<ScalarProperty Name="NonProjectTimeName" ColumnName="NonProjectTimeName" />
|
|
<ScalarProperty Name="IsTeamNonProjectTime" ColumnName="IsTeamNonProjectTime" />
|
|
<ScalarProperty Name="NonProjectTimeCategoryId" ColumnName="NonProjectTimeCategoryId" />
|
|
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
|
|
<ScalarProperty Name="HoursOff" ColumnName="HoursOff" />
|
|
<ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
|
|
<ScalarProperty Name="PeopleResourceId" ColumnName="PeopleResourceId" />
|
|
<ScalarProperty Name="NonProjectTimeId" ColumnName="NonProjectTimeId" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="NonProjectTimeResourceAllocations">
|
|
<EntityTypeMapping TypeName="EnVisageModel.NonProjectTimeResourceAllocation">
|
|
<MappingFragment StoreEntitySet="NonProjectTimeResourceAllocation">
|
|
<ScalarProperty Name="NonProjectTime2ResourceId" ColumnName="NonProjectTime2ResourceId" />
|
|
<ScalarProperty Name="HoursOff" ColumnName="HoursOff" />
|
|
<ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="NonProjectTime2Team">
|
|
<EntityTypeMapping TypeName="EnVisageModel.NonProjectTime2Team">
|
|
<MappingFragment StoreEntitySet="NonProjectTime2Team">
|
|
<ScalarProperty Name="Position" ColumnName="Position" />
|
|
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
|
|
<ScalarProperty Name="NonProjectTimeId" ColumnName="NonProjectTimeId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="NonProjectTimeTeamAllocations">
|
|
<EntityTypeMapping TypeName="EnVisageModel.NonProjectTimeTeamAllocation">
|
|
<MappingFragment StoreEntitySet="NonProjectTimeTeamAllocation">
|
|
<ScalarProperty Name="NonProjectTime2TeamId" ColumnName="NonProjectTime2TeamId" />
|
|
<ScalarProperty Name="HoursOff" ColumnName="HoursOff" />
|
|
<ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<FunctionImportMapping FunctionImportName="resourceAvailability_f" FunctionName="EnVisageModel.Store.resourceAvailability_f">
|
|
<ResultMapping>
|
|
<ComplexTypeMapping TypeName="EnVisageModel.resourceAvailability_f_Result">
|
|
<ScalarProperty Name="FirstName" ColumnName="FirstName" />
|
|
<ScalarProperty Name="LastName" ColumnName="LastName" />
|
|
<ScalarProperty Name="ExpenditureCategory" ColumnName="ExpenditureCategory" />
|
|
<ScalarProperty Name="AvailableHours" ColumnName="AvailableHours" />
|
|
<ScalarProperty Name="AllocatedHours" ColumnName="AllocatedHours" />
|
|
<ScalarProperty Name="NonProjectTimeHours" ColumnName="NonProjectTimeHours" />
|
|
<ScalarProperty Name="ResourceAvailability" ColumnName="ResourceAvailability" />
|
|
<ScalarProperty Name="TeamName" ColumnName="TeamName" />
|
|
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
|
|
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
|
|
</ComplexTypeMapping>
|
|
</ResultMapping>
|
|
</FunctionImportMapping>
|
|
<EntitySetMapping Name="VW_ActualCapacityAdjustmentByExpCats">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_ActualCapacityAdjustmentByExpCats">
|
|
<MappingFragment StoreEntitySet="VW_ActualCapacityAdjustmentByExpCats">
|
|
<ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
|
|
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
|
|
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
|
|
<ScalarProperty Name="ActualCapacityScenarioId" ColumnName="ActualCapacityScenarioId" />
|
|
<ScalarProperty Name="ResourcesTotalOffCost" ColumnName="ResourcesTotalOffCost" />
|
|
<ScalarProperty Name="ResourcesTotalOffHrs" ColumnName="ResourcesTotalOffHrs" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="VW_ActualCapacityAdjusted">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_ActualCapacityAdjusted">
|
|
<MappingFragment StoreEntitySet="VW_ActualCapacityAdjusted">
|
|
<ScalarProperty Name="AdjustmentKoeff" ColumnName="AdjustmentKoeff" />
|
|
<ScalarProperty Name="CostAdjusted" ColumnName="CostAdjusted" />
|
|
<ScalarProperty Name="QuantityAdjusted" ColumnName="QuantityAdjusted" />
|
|
<ScalarProperty Name="CostDirect" ColumnName="CostDirect" />
|
|
<ScalarProperty Name="QuantityDirect" ColumnName="QuantityDirect" />
|
|
<ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
|
|
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
|
|
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
|
|
<ScalarProperty Name="PeopleResourceId" ColumnName="PeopleResourceId" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="VW_ActualCapacityByTeamsAdjusted">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_ActualCapacityByTeamsAdjusted">
|
|
<MappingFragment StoreEntitySet="VW_ActualCapacityByTeamsAdjusted">
|
|
<ScalarProperty Name="ResourcesAdjusted" ColumnName="ResourcesAdjusted" />
|
|
<ScalarProperty Name="ResourcesDirect" ColumnName="ResourcesDirect" />
|
|
<ScalarProperty Name="CostAdjusted" ColumnName="CostAdjusted" />
|
|
<ScalarProperty Name="QuantityAdjusted" ColumnName="QuantityAdjusted" />
|
|
<ScalarProperty Name="CostDirect" ColumnName="CostDirect" />
|
|
<ScalarProperty Name="QuantityDirect" ColumnName="QuantityDirect" />
|
|
<ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
|
|
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
|
|
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="VW_ActualCapacityByTeamsDirect">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_ActualCapacityByTeamsDirect">
|
|
<MappingFragment StoreEntitySet="VW_ActualCapacityByTeamsDirect">
|
|
<ScalarProperty Name="Resources" ColumnName="Resources" />
|
|
<ScalarProperty Name="Cost" ColumnName="Cost" />
|
|
<ScalarProperty Name="Quantity" ColumnName="Quantity" />
|
|
<ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
|
|
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
|
|
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="VW_ActualCapacityDirect">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_ActualCapacityDirect">
|
|
<MappingFragment StoreEntitySet="VW_ActualCapacityDirect">
|
|
<ScalarProperty Name="Rate" ColumnName="Rate" />
|
|
<ScalarProperty Name="Cost" ColumnName="Cost" />
|
|
<ScalarProperty Name="Quantity" ColumnName="Quantity" />
|
|
<ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
|
|
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
|
|
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
|
|
<ScalarProperty Name="PeopleResourceId" ColumnName="PeopleResourceId" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="VW_NonProjectTimeInvalidItems">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_NonProjectTimeInvalidItems">
|
|
<MappingFragment StoreEntitySet="VW_NonProjectTimeInvalidItems">
|
|
<ScalarProperty Name="Details" ColumnName="Details" />
|
|
<ScalarProperty Name="NonProjectTimeCategoryName" ColumnName="NonProjectTimeCategoryName" />
|
|
<ScalarProperty Name="EndDate" ColumnName="EndDate" />
|
|
<ScalarProperty Name="StartDate" ColumnName="StartDate" />
|
|
<ScalarProperty Name="NonProjectTimeCategoryId" ColumnName="NonProjectTimeCategoryId" />
|
|
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
|
|
<ScalarProperty Name="PeopleResourceId" ColumnName="PeopleResourceId" />
|
|
<ScalarProperty Name="NonProjectTimeName" ColumnName="NonProjectTimeName" />
|
|
<ScalarProperty Name="NonProjectTimeId" ColumnName="NonProjectTimeId" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="Tags">
|
|
<EntityTypeMapping TypeName="EnVisageModel.Tag">
|
|
<MappingFragment StoreEntitySet="Tag">
|
|
<ScalarProperty Name="timestamp" ColumnName="timestamp" />
|
|
<ScalarProperty Name="TagColor" ColumnName="TagColor" />
|
|
<ScalarProperty Name="TagName" ColumnName="TagName" />
|
|
<ScalarProperty Name="TagType" ColumnName="TagType" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="TagGroups">
|
|
<EntityTypeMapping TypeName="EnVisageModel.TagGroup">
|
|
<MappingFragment StoreEntitySet="TagGroup">
|
|
<ScalarProperty Name="EditTimestamp" ColumnName="EditTimestamp" />
|
|
<ScalarProperty Name="TagGroupColor" ColumnName="TagGroupColor" />
|
|
<ScalarProperty Name="TagGroupName" ColumnName="TagGroupName" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="TagLinks">
|
|
<EntityTypeMapping TypeName="EnVisageModel.TagLink">
|
|
<MappingFragment StoreEntitySet="TagLink">
|
|
<ScalarProperty Name="timestamp" ColumnName="timestamp" />
|
|
<ScalarProperty Name="TagLinkType" ColumnName="TagLinkType" />
|
|
<ScalarProperty Name="ParentID" ColumnName="ParentID" />
|
|
<ScalarProperty Name="TagGroupID" ColumnName="TagGroupID" />
|
|
<ScalarProperty Name="TagID" ColumnName="TagID" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="User2Company">
|
|
<EntityTypeMapping TypeName="EnVisageModel.User2Company">
|
|
<MappingFragment StoreEntitySet="User2Company">
|
|
<ScalarProperty Name="RelationType" ColumnName="RelationType" />
|
|
<ScalarProperty Name="CompanyId" ColumnName="CompanyId" />
|
|
<ScalarProperty Name="UserId" ColumnName="UserId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="VW_ProjectNeedUnassigned">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_ProjectNeedUnassigned">
|
|
<MappingFragment StoreEntitySet="VW_ProjectNeedUnassigned">
|
|
<ScalarProperty Name="RemainingQuantity" ColumnName="RemainingQuantity" />
|
|
<ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
|
|
<ScalarProperty Name="ExpenditureCategoryId" ColumnName="ExpenditureCategoryId" />
|
|
<ScalarProperty Name="ScenarioId" ColumnName="ScenarioId" />
|
|
<ScalarProperty Name="ProjectId" ColumnName="ProjectId" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="VW_User2Company">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_User2Company">
|
|
<MappingFragment StoreEntitySet="VW_User2Company">
|
|
<ScalarProperty Name="Write" ColumnName="Write" />
|
|
<ScalarProperty Name="Read" ColumnName="Read" />
|
|
<ScalarProperty Name="CompanyId" ColumnName="CompanyId" />
|
|
<ScalarProperty Name="UserId" ColumnName="UserId" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="VW_User2Company4Display">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_User2Company4Display">
|
|
<MappingFragment StoreEntitySet="VW_User2Company4Display">
|
|
<ScalarProperty Name="Write" ColumnName="Write" />
|
|
<ScalarProperty Name="Read" ColumnName="Read" />
|
|
<ScalarProperty Name="CompanyId" ColumnName="CompanyId" />
|
|
<ScalarProperty Name="UserId" ColumnName="UserId" />
|
|
</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="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="Notes">
|
|
<EntityTypeMapping TypeName="EnVisageModel.Note">
|
|
<MappingFragment StoreEntitySet="Note">
|
|
<ScalarProperty Name="NoteType" ColumnName="NoteType" />
|
|
<ScalarProperty Name="DomainId" ColumnName="DomainId" />
|
|
<ScalarProperty Name="Title" ColumnName="Title" />
|
|
<ScalarProperty Name="SystemAttributeId" ColumnName="SystemAttributeId" />
|
|
<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="UserDefinedFields">
|
|
<EntityTypeMapping TypeName="EnVisageModel.UserDefinedField">
|
|
<MappingFragment StoreEntitySet="UserDefinedField">
|
|
<ScalarProperty Name="DefaultValue" ColumnName="DefaultValue" />
|
|
<ScalarProperty Name="SortOrder" ColumnName="SortOrder" />
|
|
<ScalarProperty Name="Label" ColumnName="Label" />
|
|
<ScalarProperty Name="Description" ColumnName="Description" />
|
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
|
<ScalarProperty Name="ModifiedById" ColumnName="ModifiedById" />
|
|
<ScalarProperty Name="LastUpdate" ColumnName="LastUpdate" />
|
|
<ScalarProperty Name="Required" ColumnName="Required" />
|
|
<ScalarProperty Name="Status" ColumnName="Status" />
|
|
<ScalarProperty Name="Type" ColumnName="Type" />
|
|
<ScalarProperty Name="CreatorId" ColumnName="CreatorId" />
|
|
<ScalarProperty Name="DomainId" ColumnName="DomainId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="UserDefinedValues">
|
|
<EntityTypeMapping TypeName="EnVisageModel.UserDefinedValue">
|
|
<MappingFragment StoreEntitySet="UserDefinedValue">
|
|
<ScalarProperty Name="Value" ColumnName="Value" />
|
|
<ScalarProperty Name="Status" ColumnName="Status" />
|
|
<ScalarProperty Name="ModifiedById" ColumnName="ModifiedById" />
|
|
<ScalarProperty Name="LastUpdate" ColumnName="LastUpdate" />
|
|
<ScalarProperty Name="EntryTimeStamp" ColumnName="EntryTimeStamp" />
|
|
<ScalarProperty Name="ParentId" ColumnName="ParentId" />
|
|
<ScalarProperty Name="UserDefinedFieldId" ColumnName="UserDefinedFieldId" />
|
|
<ScalarProperty Name="CreatorId" ColumnName="CreatorId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="VW_Company2View">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_Company2View">
|
|
<MappingFragment StoreEntitySet="VW_Company2View">
|
|
<ScalarProperty Name="ViewId" ColumnName="ViewId" />
|
|
<ScalarProperty Name="CompanyId" ColumnName="CompanyId" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="VW_Team2View">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_Team2View">
|
|
<MappingFragment StoreEntitySet="VW_Team2View">
|
|
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
|
|
<ScalarProperty Name="ViewId" ColumnName="ViewId" />
|
|
</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="ActualsQuantityVariation" ColumnName="ActualsQuantityVariation" />
|
|
<ScalarProperty Name="ActualsCostVariation" ColumnName="ActualsCostVariation" />
|
|
<ScalarProperty Name="ActualsCostForecasted" ColumnName="ActualsCostForecasted" />
|
|
<ScalarProperty Name="TagID" ColumnName="TagID" />
|
|
<ScalarProperty Name="StrategicGoalId" ColumnName="StrategicGoalId" />
|
|
<ScalarProperty Name="ProjectTypeName" ColumnName="ProjectTypeName" />
|
|
<ScalarProperty Name="ClientId" ColumnName="ClientId" />
|
|
<ScalarProperty Name="StatusId" ColumnName="StatusId" />
|
|
<ScalarProperty Name="ProjectPriority" ColumnName="ProjectPriority" />
|
|
<ScalarProperty Name="ProjectTypeId" ColumnName="ProjectTypeId" />
|
|
<ScalarProperty Name="ProjectName" ColumnName="ProjectName" />
|
|
<ScalarProperty Name="ProjectId" ColumnName="ProjectId" />
|
|
<ScalarProperty Name="ScenarioStartDate" ColumnName="ScenarioStartDate" />
|
|
<ScalarProperty Name="ScenarioEndDate" ColumnName="ScenarioEndDate" />
|
|
<ScalarProperty Name="BUDirectCosts" ColumnName="BUDirectCosts" />
|
|
<ScalarProperty Name="Status" ColumnName="Status" />
|
|
<ScalarProperty Name="VariationQuantityPercent" ColumnName="VariationQuantityPercent" />
|
|
<ScalarProperty Name="ActualsTotalQuantity" ColumnName="ActualsTotalQuantity" />
|
|
<ScalarProperty Name="ForecastTotalQuantity" ColumnName="ForecastTotalQuantity" />
|
|
<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="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="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="Projects">
|
|
<EntityTypeMapping TypeName="EnVisageModel.Project">
|
|
<MappingFragment StoreEntitySet="Project">
|
|
<ScalarProperty Name="EditTimestamp" ColumnName="EditTimestamp" />
|
|
<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="WorkflowGlobalParameters">
|
|
<EntityTypeMapping TypeName="EnVisageModel.WorkflowGlobalParameter">
|
|
<MappingFragment StoreEntitySet="WorkflowGlobalParameter">
|
|
<ScalarProperty Name="Value" ColumnName="Value" />
|
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
|
<ScalarProperty Name="Type" ColumnName="Type" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="WorkflowInboxes">
|
|
<EntityTypeMapping TypeName="EnVisageModel.WorkflowInbox">
|
|
<MappingFragment StoreEntitySet="WorkflowInbox">
|
|
<ScalarProperty Name="IdentityId" ColumnName="IdentityId" />
|
|
<ScalarProperty Name="ProcessId" ColumnName="ProcessId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="WorkflowProcessInstances">
|
|
<EntityTypeMapping TypeName="EnVisageModel.WorkflowProcessInstance">
|
|
<MappingFragment StoreEntitySet="WorkflowProcessInstance">
|
|
<ScalarProperty Name="IsDeterminingParametersChanged" ColumnName="IsDeterminingParametersChanged" />
|
|
<ScalarProperty Name="RootProcessId" ColumnName="RootProcessId" />
|
|
<ScalarProperty Name="ParentProcessId" ColumnName="ParentProcessId" />
|
|
<ScalarProperty Name="PreviousActivityForReverse" ColumnName="PreviousActivityForReverse" />
|
|
<ScalarProperty Name="PreviousActivityForDirect" ColumnName="PreviousActivityForDirect" />
|
|
<ScalarProperty Name="PreviousActivity" ColumnName="PreviousActivity" />
|
|
<ScalarProperty Name="PreviousStateForReverse" ColumnName="PreviousStateForReverse" />
|
|
<ScalarProperty Name="PreviousStateForDirect" ColumnName="PreviousStateForDirect" />
|
|
<ScalarProperty Name="PreviousState" ColumnName="PreviousState" />
|
|
<ScalarProperty Name="SchemeId" ColumnName="SchemeId" />
|
|
<ScalarProperty Name="ActivityName" ColumnName="ActivityName" />
|
|
<ScalarProperty Name="StateName" ColumnName="StateName" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="WorkflowProcessInstancePersistences">
|
|
<EntityTypeMapping TypeName="EnVisageModel.WorkflowProcessInstancePersistence">
|
|
<MappingFragment StoreEntitySet="WorkflowProcessInstancePersistence">
|
|
<ScalarProperty Name="Value" ColumnName="Value" />
|
|
<ScalarProperty Name="ParameterName" ColumnName="ParameterName" />
|
|
<ScalarProperty Name="ProcessId" ColumnName="ProcessId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="WorkflowProcessInstanceStatus">
|
|
<EntityTypeMapping TypeName="EnVisageModel.WorkflowProcessInstanceStatu">
|
|
<MappingFragment StoreEntitySet="WorkflowProcessInstanceStatus">
|
|
<ScalarProperty Name="Lock" ColumnName="Lock" />
|
|
<ScalarProperty Name="Status" ColumnName="Status" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="WorkflowProcessSchemes">
|
|
<EntityTypeMapping TypeName="EnVisageModel.WorkflowProcessScheme">
|
|
<MappingFragment StoreEntitySet="WorkflowProcessScheme">
|
|
<ScalarProperty Name="StartingTransition" ColumnName="StartingTransition" />
|
|
<ScalarProperty Name="AllowedActivities" ColumnName="AllowedActivities" />
|
|
<ScalarProperty Name="RootSchemeId" ColumnName="RootSchemeId" />
|
|
<ScalarProperty Name="RootSchemeCode" ColumnName="RootSchemeCode" />
|
|
<ScalarProperty Name="IsObsolete" ColumnName="IsObsolete" />
|
|
<ScalarProperty Name="SchemeCode" ColumnName="SchemeCode" />
|
|
<ScalarProperty Name="DefiningParametersHash" ColumnName="DefiningParametersHash" />
|
|
<ScalarProperty Name="DefiningParameters" ColumnName="DefiningParameters" />
|
|
<ScalarProperty Name="Scheme" ColumnName="Scheme" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="WorkflowProcessTimers">
|
|
<EntityTypeMapping TypeName="EnVisageModel.WorkflowProcessTimer">
|
|
<MappingFragment StoreEntitySet="WorkflowProcessTimer">
|
|
<ScalarProperty Name="Ignore" ColumnName="Ignore" />
|
|
<ScalarProperty Name="NextExecutionDateTime" ColumnName="NextExecutionDateTime" />
|
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
|
<ScalarProperty Name="ProcessId" ColumnName="ProcessId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<FunctionImportMapping FunctionImportName="DropWorkflowInbox" FunctionName="EnVisageModel.Store.DropWorkflowInbox" />
|
|
<FunctionImportMapping FunctionImportName="DropWorkflowProcess" FunctionName="EnVisageModel.Store.DropWorkflowProcess" />
|
|
<FunctionImportMapping FunctionImportName="DropWorkflowProcesses" FunctionName="EnVisageModel.Store.DropWorkflowProcesses" />
|
|
<EntitySetMapping Name="WorkflowSchemes">
|
|
<EntityTypeMapping TypeName="EnVisageModel.WorkflowScheme">
|
|
<MappingFragment StoreEntitySet="WorkflowScheme">
|
|
<ScalarProperty Name="isTemplate" ColumnName="isTemplate" />
|
|
<ScalarProperty Name="Scheme" ColumnName="Scheme" />
|
|
<ScalarProperty Name="isActive" ColumnName="isActive" />
|
|
<ScalarProperty Name="UpdateDate" ColumnName="UpdateDate" />
|
|
<ScalarProperty Name="UpdatedBy" ColumnName="UpdatedBy" />
|
|
<ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
|
|
<ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
|
|
<ScalarProperty Name="isDefault" ColumnName="isDefault" />
|
|
<ScalarProperty Name="ProcessType" ColumnName="ProcessType" />
|
|
<ScalarProperty Name="Code" ColumnName="Code" />
|
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="VW_WorkflowModelView">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_WorkflowModelView">
|
|
<MappingFragment StoreEntitySet="VW_WorkflowModelView">
|
|
<ScalarProperty Name="totalRecordInWorkFlow" ColumnName="totalRecordInWorkFlow" />
|
|
<ScalarProperty Name="isTemplate" ColumnName="isTemplate" />
|
|
<ScalarProperty Name="Scheme" ColumnName="Scheme" />
|
|
<ScalarProperty Name="isActive" ColumnName="isActive" />
|
|
<ScalarProperty Name="UpdateDate" ColumnName="UpdateDate" />
|
|
<ScalarProperty Name="UpdatedBy" ColumnName="UpdatedBy" />
|
|
<ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
|
|
<ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
|
|
<ScalarProperty Name="isDefault" ColumnName="isDefault" />
|
|
<ScalarProperty Name="ProcessType" ColumnName="ProcessType" />
|
|
<ScalarProperty Name="Code" ColumnName="Code" />
|
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="IntegrationConnectionInfoes">
|
|
<EntityTypeMapping TypeName="EnVisageModel.IntegrationConnectionInfo">
|
|
<MappingFragment StoreEntitySet="IntegrationConnectionInfo">
|
|
<ScalarProperty Name="Type" ColumnName="Type" />
|
|
<ScalarProperty Name="AccessClass" ColumnName="AccessClass" />
|
|
<ScalarProperty Name="Password" ColumnName="Password" />
|
|
<ScalarProperty Name="UserId" ColumnName="UserId" />
|
|
<ScalarProperty Name="Url" ColumnName="Url" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
<ScalarProperty Name="ClientInfoId" ColumnName="ClientInfoId" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="Type2WorkFlowScheme">
|
|
<EntityTypeMapping TypeName="EnVisageModel.Type2WorkFlowScheme">
|
|
<MappingFragment StoreEntitySet="Type2WorkFlowScheme">
|
|
<ScalarProperty Name="WorkFlowSchemeId" ColumnName="WorkFlowSchemeId" />
|
|
<ScalarProperty Name="ProjectTypeId" ColumnName="ProjectTypeId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="WorkFlowRoles">
|
|
<EntityTypeMapping TypeName="EnVisageModel.WorkFlowRole">
|
|
<MappingFragment StoreEntitySet="WorkFlowRoles">
|
|
<ScalarProperty Name="RoleName" ColumnName="RoleName" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="VW_WorkflowRoleModelView">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_WorkflowRoleModelView">
|
|
<MappingFragment StoreEntitySet="VW_WorkflowRoleModelView">
|
|
<ScalarProperty Name="UsersInRole" ColumnName="UsersInRole" />
|
|
<ScalarProperty Name="RoleName" ColumnName="RoleName" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="User2WorkFlowRole">
|
|
<EntityTypeMapping TypeName="EnVisageModel.User2WorkFlowRole">
|
|
<MappingFragment StoreEntitySet="User2WorkFlowRole">
|
|
<ScalarProperty Name="UserId" ColumnName="UserId" />
|
|
<ScalarProperty Name="RoleId" ColumnName="RoleId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="Integration2Prevu">
|
|
<EntityTypeMapping TypeName="EnVisageModel.Integration2Prevu">
|
|
<MappingFragment StoreEntitySet="Integration2Prevu">
|
|
<ScalarProperty Name="DefaultValue" ColumnName="DefaultValue" />
|
|
<ScalarProperty Name="TriggerType" ColumnName="TriggerType" />
|
|
<ScalarProperty Name="PrevuEntityName" ColumnName="PrevuEntityName" />
|
|
<ScalarProperty Name="PrevuName" ColumnName="PrevuName" />
|
|
<ScalarProperty Name="FieldType" ColumnName="FieldType" />
|
|
<ScalarProperty Name="FieldName" ColumnName="FieldName" />
|
|
<ScalarProperty Name="EntityName" ColumnName="EntityName" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
<ScalarProperty Name="ClientInfoId" ColumnName="ClientInfoId" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="VW_ProjectTeamsResourceAllocated">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_ProjectTeamsResourceAllocated">
|
|
<MappingFragment StoreEntitySet="VW_ProjectTeamsResourceAllocated">
|
|
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
|
|
<ScalarProperty Name="ScenarioType" ColumnName="ScenarioType" />
|
|
<ScalarProperty Name="ScenarioId" ColumnName="ScenarioId" />
|
|
<ScalarProperty Name="ProjectId" ColumnName="ProjectId" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="EmailRoutings">
|
|
<EntityTypeMapping TypeName="EnVisageModel.EmailRouting">
|
|
<MappingFragment StoreEntitySet="EmailRouting">
|
|
<ScalarProperty Name="DateSent" ColumnName="DateSent" />
|
|
<ScalarProperty Name="SubmittedBy" ColumnName="SubmittedBy" />
|
|
<ScalarProperty Name="SubmitDate" ColumnName="SubmitDate" />
|
|
<ScalarProperty Name="Status" ColumnName="Status" />
|
|
<ScalarProperty Name="Message" ColumnName="Message" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="EmailTemplates">
|
|
<EntityTypeMapping TypeName="EnVisageModel.EmailTemplate">
|
|
<MappingFragment StoreEntitySet="EmailTemplates">
|
|
<ScalarProperty Name="UpdatedBy" ColumnName="UpdatedBy" />
|
|
<ScalarProperty Name="DateUpdated" ColumnName="DateUpdated" />
|
|
<ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
|
|
<ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
|
|
<ScalarProperty Name="isActive" ColumnName="isActive" />
|
|
<ScalarProperty Name="isDefault" ColumnName="isDefault" />
|
|
<ScalarProperty Name="ProcessType" ColumnName="ProcessType" />
|
|
<ScalarProperty Name="Template" ColumnName="Template" />
|
|
<ScalarProperty Name="TemplateId" ColumnName="TemplateId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="VW_PeopleResourceAllocationsInfo">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_PeopleResourceAllocationsInfo">
|
|
<MappingFragment StoreEntitySet="VW_PeopleResourceAllocationsInfo">
|
|
<ScalarProperty Name="MaxDate" ColumnName="MaxDate" />
|
|
<ScalarProperty Name="MinDate" ColumnName="MinDate" />
|
|
<ScalarProperty Name="Type" ColumnName="Type" />
|
|
<ScalarProperty Name="PeopleResourceId" ColumnName="PeopleResourceId" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="PeopleResourceExpCatChanges">
|
|
<EntityTypeMapping TypeName="EnVisageModel.PeopleResourceExpCatChange">
|
|
<MappingFragment StoreEntitySet="PeopleResourceExpCatChange">
|
|
<ScalarProperty Name="DateOfChange" ColumnName="DateOfChange" />
|
|
<ScalarProperty Name="NewExpenditureCategoryId" ColumnName="NewExpenditureCategoryId" />
|
|
<ScalarProperty Name="OldExpenditureCategoryId" ColumnName="OldExpenditureCategoryId" />
|
|
<ScalarProperty Name="PeopleResourceId" ColumnName="PeopleResourceId" />
|
|
<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="Link" ColumnName="Link" />
|
|
<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="WorkFlowEmailStores">
|
|
<EntityTypeMapping TypeName="EnVisageModel.WorkFlowEmailStore">
|
|
<MappingFragment StoreEntitySet="WorkFlowEmailStore">
|
|
<ScalarProperty Name="WorkFlowState" ColumnName="WorkFlowState" />
|
|
<ScalarProperty Name="Sent" ColumnName="Sent" />
|
|
<ScalarProperty Name="DateTimeCreated" ColumnName="DateTimeCreated" />
|
|
<ScalarProperty Name="Body" ColumnName="Body" />
|
|
<ScalarProperty Name="subject" ColumnName="subject" />
|
|
<ScalarProperty Name="Who" ColumnName="Who" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="WorkFlowEmailStoreLinks">
|
|
<EntityTypeMapping TypeName="EnVisageModel.WorkFlowEmailStoreLink">
|
|
<MappingFragment StoreEntitySet="WorkFlowEmailStoreLinks">
|
|
<ScalarProperty Name="LinkText" ColumnName="LinkText" />
|
|
<ScalarProperty Name="Link" ColumnName="Link" />
|
|
<ScalarProperty Name="WorkFlowEmailStoreId" ColumnName="WorkFlowEmailStoreId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="vw_User2WorkFlowRoles">
|
|
<EntityTypeMapping TypeName="EnVisageModel.vw_User2WorkFlowRoles">
|
|
<MappingFragment StoreEntitySet="vw_User2WorkFlowRoles">
|
|
<ScalarProperty Name="RoleName" ColumnName="RoleName" />
|
|
<ScalarProperty Name="Email" ColumnName="Email" />
|
|
<ScalarProperty Name="LastName" ColumnName="LastName" />
|
|
<ScalarProperty Name="FirstName" ColumnName="FirstName" />
|
|
<ScalarProperty Name="UserName" ColumnName="UserName" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="vw_User2Team2WorkflowRoleContactInfo">
|
|
<EntityTypeMapping TypeName="EnVisageModel.vw_User2Team2WorkflowRoleContactInfo">
|
|
<MappingFragment StoreEntitySet="vw_User2Team2WorkflowRoleContactInfo">
|
|
<ScalarProperty Name="RoleName" ColumnName="RoleName" />
|
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
|
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
|
|
<ScalarProperty Name="Email" ColumnName="Email" />
|
|
<ScalarProperty Name="LastName" ColumnName="LastName" />
|
|
<ScalarProperty Name="FirstName" ColumnName="FirstName" />
|
|
<ScalarProperty Name="UserName" ColumnName="UserName" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="Status">
|
|
<EntityTypeMapping TypeName="EnVisageModel.Status">
|
|
<MappingFragment StoreEntitySet="Status">
|
|
<ScalarProperty Name="ResetScenariosToInactive" ColumnName="ResetScenariosToInactive" />
|
|
<ScalarProperty Name="NotifyOnProjectDelete" ColumnName="NotifyOnProjectDelete" />
|
|
<ScalarProperty Name="NotifyOnProjectCreate" ColumnName="NotifyOnProjectCreate" />
|
|
<ScalarProperty Name="WorkFlowState" ColumnName="WorkFlowState" />
|
|
<ScalarProperty Name="WorkFlowSchemaId" ColumnName="WorkFlowSchemaId" />
|
|
<ScalarProperty Name="NotifyOnProjectChange" ColumnName="NotifyOnProjectChange" />
|
|
<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="Types">
|
|
<EntityTypeMapping TypeName="EnVisageModel.Type">
|
|
<MappingFragment StoreEntitySet="Type">
|
|
<ScalarProperty Name="NotifyOnProjectChange" ColumnName="NotifyOnProjectChange" />
|
|
<ScalarProperty Name="NotifyOnProjectDelete" ColumnName="NotifyOnProjectDelete" />
|
|
<ScalarProperty Name="NotifyOnProjectCreate" ColumnName="NotifyOnProjectCreate" />
|
|
<ScalarProperty Name="WorkFlowScheme" ColumnName="WorkFlowScheme" />
|
|
<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="Notifications">
|
|
<EntityTypeMapping TypeName="EnVisageModel.Notification">
|
|
<MappingFragment StoreEntitySet="Notification">
|
|
<ScalarProperty Name="ExpiresOnDate" ColumnName="ExpiresOnDate" />
|
|
<ScalarProperty Name="DeleteOnPageView" ColumnName="DeleteOnPageView" />
|
|
<ScalarProperty Name="WorkFlowEntityName" ColumnName="WorkFlowEntityName" />
|
|
<ScalarProperty Name="WorkFlowLinkName" ColumnName="WorkFlowLinkName" />
|
|
<ScalarProperty Name="WorkFlowState" ColumnName="WorkFlowState" />
|
|
<ScalarProperty Name="IdinLink" ColumnName="IdinLink" />
|
|
<ScalarProperty Name="NotificationViewed" ColumnName="NotificationViewed" />
|
|
<ScalarProperty Name="NotificationDate" ColumnName="NotificationDate" />
|
|
<ScalarProperty Name="NotificationType" ColumnName="NotificationType" />
|
|
<ScalarProperty Name="NotificationGroup" ColumnName="NotificationGroup" />
|
|
<ScalarProperty Name="Link" ColumnName="Link" />
|
|
<ScalarProperty Name="Title" ColumnName="Title" />
|
|
<ScalarProperty Name="Description" ColumnName="Description" />
|
|
<ScalarProperty Name="ParentId" ColumnName="ParentId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="ProjectDependencies">
|
|
<EntityTypeMapping TypeName="EnVisageModel.ProjectDependency">
|
|
<MappingFragment StoreEntitySet="ProjectDependency">
|
|
<ScalarProperty Name="Type" ColumnName="Type" />
|
|
<ScalarProperty Name="TargetProjectId" ColumnName="TargetProjectId" />
|
|
<ScalarProperty Name="SourceProjectId" ColumnName="SourceProjectId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="VW_ProjectDependencies">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_ProjectDependencies">
|
|
<MappingFragment StoreEntitySet="VW_ProjectDependencies">
|
|
<ScalarProperty Name="TargetHasActuals" ColumnName="TargetHasActuals" />
|
|
<ScalarProperty Name="SourceHasActuals" ColumnName="SourceHasActuals" />
|
|
<ScalarProperty Name="TargetDeadline" ColumnName="TargetDeadline" />
|
|
<ScalarProperty Name="SourceDeadline" ColumnName="SourceDeadline" />
|
|
<ScalarProperty Name="TargetEndDate" ColumnName="TargetEndDate" />
|
|
<ScalarProperty Name="TargetStartDate" ColumnName="TargetStartDate" />
|
|
<ScalarProperty Name="SourceEndDate" ColumnName="SourceEndDate" />
|
|
<ScalarProperty Name="SourceStartDate" ColumnName="SourceStartDate" />
|
|
<ScalarProperty Name="TargetProjectName" ColumnName="TargetProjectName" />
|
|
<ScalarProperty Name="SourceProjectName" ColumnName="SourceProjectName" />
|
|
<ScalarProperty Name="Type" ColumnName="Type" />
|
|
<ScalarProperty Name="TargetProjectId" ColumnName="TargetProjectId" />
|
|
<ScalarProperty Name="SourceProjectId" ColumnName="SourceProjectId" />
|
|
<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="AllowResourceAssignment" ColumnName="AllowResourceAssignment" />
|
|
<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="UOMValue" ColumnName="UOMValue" />
|
|
<ScalarProperty Name="UOMName" ColumnName="UOMName" />
|
|
<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_ProjectAccessByUserExtended">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_ProjectAccessByUserExtended">
|
|
<MappingFragment StoreEntitySet="VW_ProjectAccessByUserExtended">
|
|
<ScalarProperty Name="ParentProjectColor" ColumnName="ParentProjectColor" />
|
|
<ScalarProperty Name="ParentProjectName" ColumnName="ParentProjectName" />
|
|
<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="EditTimestamp" ColumnName="EditTimestamp" />
|
|
<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_User2Team">
|
|
<EntityTypeMapping TypeName="EnVisageModel.VW_User2Team">
|
|
<MappingFragment StoreEntitySet="VW_User2Team">
|
|
<ScalarProperty Name="Write" ColumnName="Write" />
|
|
<ScalarProperty Name="Read" ColumnName="Read" />
|
|
<ScalarProperty Name="CompanyId" ColumnName="CompanyId" />
|
|
<ScalarProperty Name="TeamName" ColumnName="TeamName" />
|
|
<ScalarProperty Name="TeamId" ColumnName="TeamId" />
|
|
<ScalarProperty Name="UserId" ColumnName="UserId" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="WorkFlowContacts">
|
|
<EntityTypeMapping TypeName="EnVisageModel.WorkFlowContact">
|
|
<MappingFragment StoreEntitySet="WorkFlowContacts">
|
|
<ScalarProperty Name="NotificationType" ColumnName="NotificationType" />
|
|
<ScalarProperty Name="ContactType" ColumnName="ContactType" />
|
|
<ScalarProperty Name="ContactId" ColumnName="ContactId" />
|
|
<ScalarProperty Name="PartentId" ColumnName="PartentId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="WorkFlowParallelApprovals">
|
|
<EntityTypeMapping TypeName="EnVisageModel.WorkFlowParallelApproval">
|
|
<MappingFragment StoreEntitySet="WorkFlowParallelApprovals">
|
|
<ScalarProperty Name="GroupId" ColumnName="GroupId" />
|
|
<ScalarProperty Name="IsActive" ColumnName="IsActive" />
|
|
<ScalarProperty Name="DateApproved" ColumnName="DateApproved" />
|
|
<ScalarProperty Name="Approved" ColumnName="Approved" />
|
|
<ScalarProperty Name="StepName" ColumnName="StepName" />
|
|
<ScalarProperty Name="UserId" ColumnName="UserId" />
|
|
<ScalarProperty Name="ProcessId" ColumnName="ProcessId" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="MenuNavigations">
|
|
<EntityTypeMapping TypeName="EnVisageModel.MenuNavigation">
|
|
<MappingFragment StoreEntitySet="MenuNavigation">
|
|
<ScalarProperty Name="Value" ColumnName="Value" />
|
|
<ScalarProperty Name="Link" ColumnName="Link" />
|
|
<ScalarProperty Name="Display" ColumnName="Display" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="NotificationToWorkFlowStates">
|
|
<EntityTypeMapping TypeName="EnVisageModel.NotificationToWorkFlowState">
|
|
<MappingFragment StoreEntitySet="NotificationToWorkFlowState">
|
|
<ScalarProperty Name="WorkFlowContactId" ColumnName="WorkFlowContactId" />
|
|
<ScalarProperty Name="State" ColumnName="State" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<FunctionImportMapping FunctionImportName="sp_ProjectSearch" FunctionName="EnVisageModel.Store.sp_ProjectSearch" />
|
|
<EntitySetMapping Name="AspNetUsers">
|
|
<EntityTypeMapping TypeName="EnVisageModel.AspNetUser">
|
|
<MappingFragment StoreEntitySet="AspNetUsers">
|
|
<ScalarProperty Name="AccessFailedCount" ColumnName="AccessFailedCount" />
|
|
<ScalarProperty Name="LockoutEnabled" ColumnName="LockoutEnabled" />
|
|
<ScalarProperty Name="LockoutEndDateUtc" ColumnName="LockoutEndDateUtc" />
|
|
<ScalarProperty Name="TwoFactorEnabled" ColumnName="TwoFactorEnabled" />
|
|
<ScalarProperty Name="PhoneNumberConfirmed" ColumnName="PhoneNumberConfirmed" />
|
|
<ScalarProperty Name="EmailConfirmed" ColumnName="EmailConfirmed" />
|
|
<ScalarProperty Name="ShowAutomaticViews" ColumnName="ShowAutomaticViews" />
|
|
<ScalarProperty Name="OverUnderCoefficient" ColumnName="OverUnderCoefficient" />
|
|
<ScalarProperty Name="LoginDate" ColumnName="LoginDate" />
|
|
<ScalarProperty Name="LastLoginDate" ColumnName="LastLoginDate" />
|
|
<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="PhoneNumber" ColumnName="PhoneNumber" />
|
|
<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="AspNetUserClaims">
|
|
<EntityTypeMapping TypeName="EnVisageModel.AspNetUserClaim">
|
|
<MappingFragment StoreEntitySet="AspNetUserClaims">
|
|
<ScalarProperty Name="UserId" ColumnName="UserId" />
|
|
<ScalarProperty Name="ClaimValue" ColumnName="ClaimValue" />
|
|
<ScalarProperty Name="ClaimType" ColumnName="ClaimType" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="vw_WorkflowApprovalHistoryInfo">
|
|
<EntityTypeMapping TypeName="EnVisageModel.vw_WorkflowApprovalHistoryInfo">
|
|
<MappingFragment StoreEntitySet="vw_WorkflowApprovalHistoryInfo">
|
|
<ScalarProperty Name="StepName" ColumnName="StepName" />
|
|
<ScalarProperty Name="DateApproved" ColumnName="DateApproved" />
|
|
<ScalarProperty Name="Approved" ColumnName="Approved" />
|
|
<ScalarProperty Name="TeamName" ColumnName="TeamName" />
|
|
<ScalarProperty Name="ScenarioId" ColumnName="ScenarioId" />
|
|
<ScalarProperty Name="ScenarioName" ColumnName="ScenarioName" />
|
|
<ScalarProperty Name="LastName" ColumnName="LastName" />
|
|
<ScalarProperty Name="FirstName" ColumnName="FirstName" />
|
|
</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> |