PageRenderTime 211ms CodeModel.GetById 71ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/Otis.Tests/XmlMappings/mappings.otis.xml

http://otis-lib.googlecode.com/
XML | 11 lines | 10 code | 0 blank | 1 comment | 0 complexity | 8eb799ed0ac8d202a646ee962b67961c MD5 | raw file
 1<?xml version="1.0" encoding="utf-8" ?>		  <!-- for testing resource reading-->
 2<otis-mapping xmlns="urn:otis-mapping-1.0">
 3	<class name="Otis.Tests.XmlUserDTO, Otis.Tests" source="Otis.Tests.Entity.User, Otis.Tests" helper="Otis.Tests.Util.Convert" >
 4		<member name="Id" />
 5		<!-- if expression is ommited it is assumed to be equal to name -->
 6		<member name="Age" />
 7		<member name="UserName" expression="$UserName.ToUpper()" nullValue="&quot;[unknown]&quot;" />
 8		<member name="FullName" expression="$FirstName + &quot; &quot; + $LastName" />
 9		<member name="ProjectCount" expression="$Projects.Count" />
10	</class>
11</otis-mapping>