diff UnitTests/CS/Mapping/Map.xml @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/UnitTests/CS/Mapping/Map.xml	Thu Mar 27 21:46:09 2014 +0400
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<Types
+	xmlns   = "urn:schemas-bltoolkit-net:typeext"
+	xmlns:m = "urn:schemas-bltoolkit-net:mapping">
+
+	<Type Name="Object5">
+		<m:MapField MapName="fld1" OrigName="Object3.Object2.Field1" />
+		<m:MapField MapName="fld2" OrigName="Object3.Object4.Str1" />
+	</Type>
+
+	<Type Name='CountryCodeEnum'>
+		<Member Name='AF' MapValue='AF' MapValue-Type='System.String'/>
+		<Member Name='AL' MapValue='AL' MapValue-Type='System.String'/>
+		<Member Name='DZ' MapValue='DZ' MapValue-Type='System.String'/>
+		<Member Name='AS' MapValue='AS' MapValue-Type='System.String'/>
+		<Member Name='AD' MapValue='AD' MapValue-Type='System.String'/>
+	</Type>
+
+	<Type Name='OtherEnum'>
+		<Member Name='EnumValue1' MapValue='100' MapValue-Type='System.Int32' />
+		<Member Name='EnumValue2' MapValue='101' MapValue-Type='System.Int32' />
+	</Type>
+
+	<Type Name='CountryCodeEnum1'>
+		<Member Name='AF' MapValue='AF' MapValue-Type='System.String'/>
+		<Member Name='AL' MapValue='AL' MapValue-Type='System.String'/>
+		<Member Name='DZ' MapValue='DZ' MapValue-Type='System.String'/>
+		<Member Name='AS' MapValue='AS' MapValue-Type='System.String'/>
+		<Member Name='AD' MapValue='AD' MapValue-Type='System.String'/>
+	</Type>
+
+	<Type Name='OtherEnum1'>
+		<Member Name='EnumValue1' MapValue='100' MapValue-Type='System.Int32' />
+		<Member Name='EnumValue2' MapValue='101' MapValue-Type='System.Int32' />
+	</Type>
+</Types>