mirror of
https://github.com/farcasclaudiu/myfriendsaround.git
synced 2026-06-29 11:02:07 +03:00
91 lines
5.1 KiB
XML
91 lines
5.1 KiB
XML
<?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="MyFriendsModel.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="MyFriendsModelStoreContainer">
|
|
<EntitySet Name="Friends" EntityType="MyFriendsModel.Store.Friends" store:Type="Tables" Schema="dbo" />
|
|
</EntityContainer>
|
|
<!--Errors Found During Generation:
|
|
warning 6005: The data type 'geography' is not supported; the column 'Location' in table 'MyFriends.dbo.Friends' was excluded.
|
|
-->
|
|
<EntityType Name="Friends">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Name="Id" Type="nvarchar" Nullable="false" MaxLength="100" />
|
|
<Property Name="FriendName" Type="nvarchar" Nullable="false" MaxLength="50" />
|
|
<Property Name="FriendImageUrl" Type="nvarchar" MaxLength="150" />
|
|
<Property Name="LocationStr" Type="nvarchar" MaxLength="100" />
|
|
<Property Name="LastUpdated" Type="datetime" Nullable="false" />
|
|
</EntityType>
|
|
<Function Name="UpdateFriendLocationById" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
|
|
<Parameter Name="FriendID" Type="nvarchar" Mode="In" />
|
|
</Function>
|
|
</Schema></edmx:StorageModels>
|
|
<!-- CSDL content -->
|
|
<edmx:ConceptualModels>
|
|
<Schema xmlns="http://schemas.microsoft.com/ado/2008/09/edm" xmlns:cg="http://schemas.microsoft.com/ado/2006/04/codegeneration" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" Namespace="MyFriendsModel" Alias="Self" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation">
|
|
<EntityContainer Name="MyFriendsModelContainer" annotation:LazyLoadingEnabled="true">
|
|
<EntitySet Name="Friends" EntityType="MyFriendsModel.Friend" />
|
|
<FunctionImport Name="UpdateFriendLocationById">
|
|
<Parameter Name="FriendID" Mode="In" Type="String" />
|
|
</FunctionImport>
|
|
</EntityContainer>
|
|
<EntityType Name="Friend">
|
|
<Key>
|
|
<PropertyRef Name="Id" />
|
|
</Key>
|
|
<Property Type="String" Name="Id" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
<Property Type="String" Name="FriendName" Nullable="false" />
|
|
<Property Type="String" Name="FriendImageUrl" Nullable="false" />
|
|
<Property Type="String" Name="LocationStr" Nullable="false" />
|
|
<Property Type="DateTime" Name="LastUpdated" Nullable="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="MyFriendsModelStoreContainer" CdmEntityContainer="MyFriendsModelContainer">
|
|
<EntitySetMapping Name="Friends">
|
|
<EntityTypeMapping TypeName="IsTypeOf(MyFriendsModel.Friend)">
|
|
<MappingFragment StoreEntitySet="Friends">
|
|
<ScalarProperty Name="LastUpdated" ColumnName="LastUpdated" />
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
<ScalarProperty Name="FriendName" ColumnName="FriendName" />
|
|
<ScalarProperty Name="FriendImageUrl" ColumnName="FriendImageUrl" />
|
|
<ScalarProperty Name="LocationStr" ColumnName="LocationStr" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<FunctionImportMapping FunctionImportName="UpdateFriendLocationById" FunctionName="MyFriendsModel.Store.UpdateFriendLocationById" />
|
|
</EntityContainerMapping>
|
|
</Mapping></edmx:Mappings>
|
|
</edmx:Runtime>
|
|
<!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
|
|
<edmx:Designer xmlns="http://schemas.microsoft.com/ado/2008/10/edmx">
|
|
<edmx:Connection>
|
|
<DesignerInfoPropertySet>
|
|
<DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
|
|
</DesignerInfoPropertySet>
|
|
</edmx:Connection>
|
|
<edmx:Options>
|
|
<DesignerInfoPropertySet>
|
|
<DesignerProperty Name="ValidateOnBuild" Value="true" />
|
|
<DesignerProperty Name="EnablePluralization" Value="True" />
|
|
<DesignerProperty Name="CodeGenerationStrategy" Value="None" />
|
|
<DesignerProperty Name="IncludeForeignKeysInModel" Value="True" />
|
|
</DesignerInfoPropertySet>
|
|
</edmx:Options>
|
|
<!-- Diagram content (shape and connector positions) -->
|
|
<edmx:Diagrams>
|
|
<Diagram Name="MyFriendsModel" >
|
|
<EntityTypeShape EntityType="MyFriendsModel.Friend" Width="1.5" PointX="3.75" PointY="1" Height="1.787985026041667" />
|
|
</Diagram>
|
|
</edmx:Diagrams>
|
|
</edmx:Designer>
|
|
</edmx:Edmx>
|