Mini Kabibi Habibi
<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="2.0" xmlns:edmx="http://schemas.microsoft.com/ado/2008/10/edmx">
<!-- EF Runtime content -->
<edmx:Runtime>
<!-- SSDL content -->
<edmx:StorageModels>
<Schema Namespace="DataModel.Store" Alias="Self" Provider="System.Data.SqlClient" ProviderManifestToken="2008" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2009/02/edm/ssdl">
<EntityContainer Name="DataModelStoreContainer">
<EntitySet Name="Appointments" EntityType="DataModel.Store.Appointments" store:Type="Tables" store:Schema="dbo" store:Name="Appointments">
<DefiningQuery>SELECT
[Appointments].[ID] AS [ID],
[Appointments].[EventType] AS [EventType],
[Appointments].[StartDate] AS [StartDate],
[Appointments].[EndDate] AS [EndDate],
[Appointments].[AllDay] AS [AllDay],
[Appointments].[Subject] AS [Subject],
[Appointments].[Location] AS [Location],
[Appointments].[Description] AS [Description],
[Appointments].[Status] AS [Status],
[Appointments].[Label] AS [Label],
[Appointments].[ResourceID] AS [ResourceID],
[Appointments].[RecurrenceInfo] AS [RecurrenceInfo],
[Appointments].[ReminderInfo] AS [ReminderInfo],
[Appointments].[ContactInfo] AS [ContactInfo]
FROM [dbo].[Appointments] AS [Appointments]</DefiningQuery>
</EntitySet>
<EntitySet Name="Contacts" EntityType="DataModel.Store.Contacts" store:Type="Tables" Schema="dbo" />
<EntitySet Name="Messages" EntityType="DataModel.Store.Messages" store:Type="Tables" Schema="dbo" />
<EntitySet Name="Resources" EntityType="DataModel.Store.Resources" store:Type="Tables" store:Schema="dbo" store:Name="Resources">
<DefiningQuery>SELECT
[Resources].[ID] AS [ID],
[Resources].[Name] AS [Name]
FROM [dbo].[Resources] AS [Resources]</DefiningQuery>
</EntitySet>
</EntityContainer>
<!--Errors Found During Generation:
warning 6002: The table/view 'D:\DEVEXPRESS.MAILCLIENT\DEVEXPRESS.MAILCLIENT.DATASERVICE\APP_DATA\DATA.MDF.dbo.Appointments' 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="Appointments">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
<Property Name="EventType" Type="int" />
<Property Name="StartDate" Type="smalldatetime" />
<Property Name="EndDate" Type="smalldatetime" />
<Property Name="AllDay" Type="bit" />
<Property Name="Subject" Type="nvarchar(max)" />
<Property Name="Location" Type="nvarchar(max)" />
<Property Name="Description" Type="nvarchar(max)" />
<Property Name="Status" Type="int" />
<Property Name="Label" Type="int" />
<Property Name="ResourceID" Type="int" />
<Property Name="RecurrenceInfo" Type="nvarchar(max)" />
<Property Name="ReminderInfo" Type="nvarchar(max)" />
<Property Name="ContactInfo" Type="nvarchar(max)" />
</EntityType>
<EntityType Name="Contacts">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
<Property Name="Name" Type="nvarchar" Nullable="false" MaxLength="32" />
<Property Name="Address" Type="nvarchar" Nullable="false" MaxLength="32" />
<Property Name="Phone" Type="nvarchar" Nullable="false" MaxLength="16" />
<Property Name="Country" Type="nvarchar" Nullable="false" MaxLength="16" />
<Property Name="City" Type="nvarchar" Nullable="false" MaxLength="16" />
</EntityType>
<EntityType Name="Messages">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
<Property Name="Date" Type="datetime" Nullable="false" />
<Property Name="From" Type="nvarchar" Nullable="false" MaxLength="32" />
<Property Name="Subject" Type="nvarchar" Nullable="false" MaxLength="128" />
<Property Name="Text" Type="nvarchar(max)" Nullable="false" />
<Property Name="HasAttachment" Type="bit" Nullable="false" />
<Property Name="Folder" Type="nvarchar" MaxLength="16" />
<Property Name="IsReply" Type="bit" Nullable="false" />
</EntityType>
<!--Errors Found During Generation:
warning 6002: The table/view 'D:\DEVEXPRESS.MAILCLIENT\DEVEXPRESS.MAILCLIENT.DATASERVICE\APP_DATA\DATA.MDF.dbo.Resources' 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="Resources">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" Nullable="false" />
<Property Name="Name" Type="nvarchar(max)" />
</EntityType>
</Schema>
</edmx:StorageModels>
<!-- CSDL content -->
<edmx:ConceptualModels>
<Schema Namespace="DataModel" Alias="Self" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
<EntityContainer Name="DataEntities" annotation:LazyLoadingEnabled="true">
<EntitySet Name="Appointments" EntityType="DataModel.Appointments" />
<EntitySet Name="Contacts" EntityType="DataModel.Contacts" />
<EntitySet Name="Messages" EntityType="DataModel.Messages" />
<EntitySet Name="Resources" EntityType="DataModel.Resources" />
</EntityContainer>
<EntityType Name="Appointments">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="EventType" Type="Int32" />
<Property Name="StartDate" Type="DateTime" />
<Property Name="EndDate" Type="DateTime" />
<Property Name="AllDay" Type="Boolean" />
<Property Name="Subject" Type="String" MaxLength="Max" Unicode="true" FixedLength="false" />
<Property Name="Location" Type="String" MaxLength="Max" Unicode="true" FixedLength="false" />
<Property Name="Description" Type="String" MaxLength="Max" Unicode="true" FixedLength="false" />
<Property Name="Status" Type="Int32" />
<Property Name="Label" Type="Int32" />
<Property Name="ResourceID" Type="Int32" />
<Property Name="RecurrenceInfo" Type="String" MaxLength="Max" Unicode="true" FixedLength="false" />
<Property Name="ReminderInfo" Type="String" MaxLength="Max" Unicode="true" FixedLength="false" />
<Property Name="ContactInfo" Type="String" MaxLength="Max" Unicode="true" FixedLength="false" />
</EntityType>
<EntityType Name="Contacts">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Name" Type="String" Nullable="false" MaxLength="32" Unicode="true" FixedLength="false" />
<Property Name="Address" Type="String" Nullable="false" MaxLength="32" Unicode="true" FixedLength="false" />
<Property Name="Phone" Type="String" Nullable="false" MaxLength="16" Unicode="true" FixedLength="false" />
<Property Name="Country" Type="String" Nullable="false" MaxLength="16" Unicode="true" FixedLength="false" />
<Property Name="City" Type="String" Nullable="false" MaxLength="16" Unicode="true" FixedLength="false" />
</EntityType>
<EntityType Name="Messages">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Date" Type="DateTime" Nullable="false" />
<Property Name="From" Type="String" Nullable="false" MaxLength="32" Unicode="true" FixedLength="false" />
<Property Name="Subject" Type="String" Nullable="false" MaxLength="128" Unicode="true" FixedLength="false" />
<Property Name="Text" Type="String" Nullable="false" MaxLength="Max" Unicode="true" FixedLength="false" />
<Property Name="HasAttachment" Type="Boolean" Nullable="false" />
<Property Name="Folder" Type="String" MaxLength="16" Unicode="true" FixedLength="false" />
<Property Name="IsReply" Type="Boolean" Nullable="false" />
</EntityType>
<EntityType Name="Resources">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" />
<Property Name="Name" Type="String" MaxLength="Max" Unicode="true" FixedLength="false" />
</EntityType>
</Schema>
</edmx:ConceptualModels>
<!-- C-S mapping content -->
<edmx:Mappings>
<Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2008/09/mapping/cs">
<EntityContainerMapping StorageEntityContainer="DataModelStoreContainer" CdmEntityContainer="DataEntities">
<EntitySetMapping Name="Appointments"><EntityTypeMapping TypeName="DataModel.Appointments"><MappingFragment StoreEntitySet="Appointments">
<ScalarProperty Name="ID" ColumnName="ID" />
<ScalarProperty Name="EventType" ColumnName="EventType" />
<ScalarProperty Name="StartDate" ColumnName="StartDate" />
<ScalarProperty Name="EndDate" ColumnName="EndDate" />
<ScalarProperty Name="AllDay" ColumnName="AllDay" />
<ScalarProperty Name="Subject" ColumnName="Subject" />
<ScalarProperty Name="Location" ColumnName="Location" />
<ScalarProperty Name="Description" ColumnName="Description" />
<ScalarProperty Name="Status" ColumnName="Status" />
<ScalarProperty Name="Label" ColumnName="Label" />
<ScalarProperty Name="ResourceID" ColumnName="ResourceID" />
<ScalarProperty Name="RecurrenceInfo" ColumnName="RecurrenceInfo" />
<ScalarProperty Name="ReminderInfo" ColumnName="ReminderInfo" />
<ScalarProperty Name="ContactInfo" ColumnName="ContactInfo" />
</MappingFragment></EntityTypeMapping></EntitySetMapping>
<EntitySetMapping Name="Contacts"><EntityTypeMapping TypeName="DataModel.Contacts"><MappingFragment StoreEntitySet="Contacts">
<ScalarProperty Name="ID" ColumnName="ID" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Address" ColumnName="Address" />
<ScalarProperty Name="Phone" ColumnName="Phone" />
<ScalarProperty Name="Country" ColumnName="Country" />
<ScalarProperty Name="City" ColumnName="City" />
</MappingFragment></EntityTypeMapping></EntitySetMapping>
<EntitySetMapping Name="Messages"><EntityTypeMapping TypeName="DataModel.Messages"><MappingFragment StoreEntitySet="Messages">
<ScalarProperty Name="ID" ColumnName="ID" />
<ScalarProperty Name="Date" ColumnName="Date" />
<ScalarProperty Name="From" ColumnName="From" />
<ScalarProperty Name="Subject" ColumnName="Subject" />
<ScalarProperty Name="Text" ColumnName="Text" />
<ScalarProperty Name="HasAttachment" ColumnName="HasAttachment" />
<ScalarProperty Name="Folder" ColumnName="Folder" />
<ScalarProperty Name="IsReply" ColumnName="IsReply" />
</MappingFragment></EntityTypeMapping></EntitySetMapping>
<EntitySetMapping Name="Resources"><EntityTypeMapping TypeName="DataModel.Resources"><MappingFragment StoreEntitySet="Resources">
<ScalarProperty Name="ID" ColumnName="ID" />
<ScalarProperty Name="Name" ColumnName="Name" />
</MappingFragment></EntityTypeMapping></EntitySetMapping>
</EntityContainerMapping>
</Mapping>
</edmx:Mappings>
</edmx:Runtime>
<!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
<Designer xmlns="http://schemas.microsoft.com/ado/2008/10/edmx">
<Connection>
<DesignerInfoPropertySet>
<DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
</DesignerInfoPropertySet>
</Connection>
<Options>
<DesignerInfoPropertySet>
<DesignerProperty Name="ValidateOnBuild" Value="true" />
<DesignerProperty Name="EnablePluralization" Value="False" />
<DesignerProperty Name="IncludeForeignKeysInModel" Value="True" />
</DesignerInfoPropertySet>
</Options>
<!-- Diagram content (shape and connector positions) -->
<Diagrams>
<Diagram Name="Data">
<EntityTypeShape EntityType="DataModel.Appointments" Width="1.5" PointX="0.75" PointY="0.75" Height="3.7109993489583326" IsExpanded="true" />
<EntityTypeShape EntityType="DataModel.Contacts" Width="1.5" PointX="2.75" PointY="0.75" Height="2.1725878906249996" IsExpanded="true" />
<EntityTypeShape EntityType="DataModel.Messages" Width="1.5" PointX="2.75" PointY="3.75" Height="2.5571907552083335" IsExpanded="true" />
<EntityTypeShape EntityType="DataModel.Resources" Width="1.5" PointX="4.75" PointY="0.75" Height="1.4033821614583335" IsExpanded="true" />
</Diagram>
</Diagrams>
</Designer>
</edmx:Edmx>