Skip to content

Instantly share code, notes, and snippets.

@ThuCommix
Created April 3, 2017 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ThuCommix/7dc00f0c5fc6e76536970c8db7c93a3c to your computer and use it in GitHub Desktop.
Save ThuCommix/7dc00f0c5fc6e76536970c8db7c93a3c to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8" ?>
<Entity Name="Address" Namespace="ConsoleApp1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../ThuCommix.EntityFramework/Entity.xsd">
<Fields>
<Field Name="Person" FieldType="Person" Mandatory="true" Cascade="None" />
<Field Name="IsValid" FieldType="bool" Mandatory="true" Cascade="None" />
<Field Name="ValidFrom" FieldType="DateTime" Mandatory="true" DateOnly="true" Cascade="None" />
<Field Name="ValidTo" FieldType="DateTime" Mandatory="false" DateOnly="false" Cascade="None" />
<Field Name="Zip" FieldType="string" MaxLength="12" Mandatory="true" Cascade="None" />
<Field Name="Town" FieldType="string" MaxLength="50" Mandatory="true" Cascade="None" />
<Field Name="Street" FieldType="string" MaxLength="100" Mandatory="true" Cascade="None" />
</Fields>
</Entity>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment