view UnitTests/CS/Mapping/Map.xml @ 1:8f65451dc28f

Исправлена проблема с фабрикой и выборкой нескольких объектов в linq выражении
author cin
date Fri, 28 Mar 2014 01:04:56 +0400
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>