view Tools/CodeGenerator/ValueMapping.xml @ 6:11b6da379593

Исправлена странная ошибка при использовании OfType<...>().Where(...)
author cin
date Mon, 05 Dec 2016 05:50:52 +0300
parents f990fcb411a9
children
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<code transformer="ValueMapping.xslt">

	<using namespace="System"/>
	<using namespace="System.Data.SqlTypes"/>

	<!--
	Short type names.
	'A' => Arrays,
	'N' => Nullable<>,
	'I' => Integer types,
	'U' => Unsigned integer types,
	'R' => Real types,
	'db' => Sql types.
	-->
	<nick type="Object"      name="O"/>
	<nick type="String"      name="S"/>
	<nick type="Char"        name="C"/>

	<nick type="SByte"       name="I8"/>
	<nick type="Int16"       name="I16"/>
	<nick type="Int32"       name="I32"/>
	<nick type="Int64"       name="I64"/>

	<nick type="Byte"        name="U8"/>
	<nick type="UInt16"      name="U16"/>
	<nick type="UInt32"      name="U32"/>
	<nick type="UInt64"      name="U64"/>

	<nick type="Single"      name="R4"/>
	<nick type="Double"      name="R8"/>

	<nick type="Boolean"     name="B"/>
	<nick type="Decimal"     name="D"/>

	<nick type="Guid"        name="G"/>
	<nick type="TimeSpan"    name="TS"/>
	<nick type="DateTime"    name="DT"/>

	<nick type="SqlString"   name="dbS"/>

	<nick type="SqlByte"     name="dbU8"/>
	<nick type="SqlInt16"    name="dbI16"/>
	<nick type="SqlInt32"    name="dbI32"/>
	<nick type="SqlInt64"    name="dbI64"/>

	<nick type="SqlSingle"   name="dbR4"/>
	<nick type="SqlDouble"   name="dbR8"/>
	<nick type="SqlDecimal"  name="dbD"/>
	<nick type="SqlMoney"    name="dbM"/>

	<nick type="SqlBoolean"  name="dbB"/>
	<nick type="SqlDateTime" name="dbDT"/>
	<nick type="SqlGuid"     name="dbG"/>

	<nick type="SqlBinary"   name="dbBin"/>
	<nick type="SqlBytes"    name="dbAU8"/>
	<nick type="SqlChars"    name="dbAC"/>
	<nick type="SqlXml"      name="dbXml"/>

	<group name="Scalar Types">
		<type name="SByte"   />
		<type name="Int16"   />
		<type name="Int32"   />
		<type name="Int64"   />
		<br/>
		<type name="Byte"    />
		<type name="UInt16"  />
		<type name="UInt32"  />
		<type name="UInt64"  />
		<br/>
		<type name="Boolean" />
		<type name="Char"    />
		<type name="Single"  />
		<type name="Double"  />
		<type name="Decimal" />
		<br/>
	<!--<type name="Guid"    />
		<type name="DateTime"/>-->
	</group>

	<group name="Nullable Types" nullable="true">
		<type name="SByte"   />
		<type name="Int16"   />
		<type name="Int32"   />
		<type name="Int64"   />
		<br/>
		<type name="Byte"    />
		<type name="UInt16"  />
		<type name="UInt32"  />
		<type name="UInt64"  />
		<br/>
		<type name="Boolean" />
		<type name="Char"    />
		<type name="Single"  />
		<type name="Double"  />
		<type name="Decimal" />
		<br/>
		<!--<type name="Guid"    />
		<type name="DateTime"/>-->
	</group>

	<group name="SqlTypes">
		<type name="SqlString"  />
		<br/>
		<type name="SqlByte"    />
		<type name="SqlInt16"   />
		<type name="SqlInt32"   />
		<type name="SqlInt64"   />
		<br/>
		<type name="SqlSingle"  />
		<type name="SqlDouble"  />
		<type name="SqlDecimal" />
		<type name="SqlMoney"   />
		<br/>
		<type name="SqlBoolean" />
	<type name="SqlGuid"    />
		<type name="SqlDateTime"/>
	</group>

</code>