1: <?xml version="1.0" encoding="utf-8"?>
2: <edmx:Edmx Version="2.0" xmlns:edmx="http://schemas.microsoft.com/ado/2008/10/edmx">
3: <!-- EF Runtime content -->
4: <edmx:Runtime>
5: <!-- SSDL content -->
6: <edmx:StorageModels>
7: <Schema Namespace="Artech.UserModel.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">
8: <EntityContainer Name="ArtechUserModelStoreContainer">
9: <EntitySet Name="T_USER" EntityType="Artech.UserModel.Store.T_USER" store:Type="Tables" Schema="dbo" />
10: </EntityContainer>
11: <EntityType Name="T_USER">
12: <Key>
13: <PropertyRef Name="USER_ID" />
14: </Key>
15: <Property Name="USER_ID" Type="varchar" Nullable="false" MaxLength="50" />
16: <Property Name="USER_NAME" Type="nvarchar" Nullable="false" MaxLength="50" />
17: </EntityType>
18: <Function Name="P_USER_I" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo" >
19: <Parameter Name="p_user_id" Type="varchar" Mode="In" />
20: <Parameter Name="p_user_name" Type="nvarchar" Mode="In" />
21: </Function>
22: <Function Name="P_USER_U" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo" >
23: <Parameter Name="o_user_id" Type="varchar" Mode="In" />
24: <Parameter Name="p_user_name" Type="nvarchar" Mode="In" />
25: </Function>
26: <Function Name="P_USER_D" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo" >
27: <Parameter Name="o_user_id" Type="varchar" Mode="In" />
28: </Function>
29: </Schema>
30: </edmx:StorageModels>
31: <!-- CSDL content -->
32: <edmx:ConceptualModels>
33: <Schema Namespace="Artech.UserModel" Alias="Self" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
34: <EntityContainer Name="EFExtensionsEntities" annotation:LazyLoadingEnabled="true">
35: <EntitySet Name="Users" EntityType="Artech.UserModel.User" />
36: </EntityContainer>
37: <EntityType Name="User">
38: <Key>
39: <PropertyRef Name="ID" />
40: </Key>
41: <Property Name="ID" Type="String" Nullable="false" MaxLength="50" Unicode="false" FixedLength="false" />
42: <Property Name="Name" Type="String" Nullable="false" MaxLength="50" Unicode="true" FixedLength="false" />
43: </EntityType>
44: </Schema>
45: </edmx:ConceptualModels>
46: <!-- C-S mapping content -->
47: <edmx:Mappings>
48: <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2008/09/mapping/cs">
49: <EntityContainerMapping StorageEntityContainer="ArtechUserModelStoreContainer" CdmEntityContainer="EFExtensionsEntities">
50: <EntitySetMapping Name="Users">
51: <EntityTypeMapping TypeName="Artech.UserModel.User">
52: <MappingFragment StoreEntitySet="T_USER">
53: <ScalarProperty Name="ID" ColumnName="USER_ID" />
54: <ScalarProperty Name="Name" ColumnName="USER_NAME" />
55: </MappingFragment>
56: </EntityTypeMapping>
57: <EntityTypeMapping TypeName="Artech.UserModel.User" >
58: <ModificationFunctionMapping>
59: <InsertFunction FunctionName="Artech.UserModel.Store.P_USER_I">
60: <ScalarProperty Name="ID" ParameterName="p_user_id" />
61: <ScalarProperty Name="Name" ParameterName="p_user_name" />
62: </InsertFunction>
63: <UpdateFunction FunctionName="Artech.UserModel.Store.P_USER_U">
64: <ScalarProperty Name="ID" ParameterName="o_user_id" Version="Original" />
65: <ScalarProperty Name="Name" ParameterName="p_user_name" Version="Current" />
66: </UpdateFunction>
67: <DeleteFunction FunctionName="Artech.UserModel.Store.P_USER_D">
68: <ScalarProperty Name="ID" ParameterName="o_user_id" />
69: </DeleteFunction>
70: </ModificationFunctionMapping>
71: </EntityTypeMapping>
72: </EntitySetMapping>
73: </EntityContainerMapping>
74: </Mapping>
75: </edmx:Mappings>
76: </edmx:Runtime>
77: </edmx:Edmx>