view UnitTests/CS/Mapping/Map.xml @ 9:1e85f66cf767 default tip

update bltoolkit
author nickolay
date Thu, 05 Apr 2018 20:53:26 +0300
parents f990fcb411a9
children
line wrap: on
line source

<?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>