diff data/types.xml @ 0:cbdada054b4a

Basic schemas for generating csharp internal dom from model definition
author cin
date Wed, 21 Feb 2018 03:01:53 +0300
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/data/types.xml	Wed Feb 21 03:01:53 2018 +0300
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<package xmlns="http://implab.org/schemas/data-model.v1.xsd"
+	xmlns:f="http://implab.org/schemas/data-model/geo.v1.xsd" xmlns:clr="http://implab.org/schemas/data-model/dotnet.v1.xsd"
+	xmlns:sql="http://implab.org/schemas/data-model/sql.v1.xsd" xmlns:esri="http://geopallada.ru/schemas/data-model/esri.v1.xsd"
+	xmlns:cs="http://implab.org/schemas/code-dom/csharp.v1.xsd" xmlns:pg="http://implab.org/schemas/data-model/sql-pg.v1.xsd"
+	name="types">
+	<type name="string">
+		<sql:type name="varchar(255)" nullable="true" />
+		<clr:type name="String" cs:name="string" namespace="System" />
+	</type>
+	<type name="uuid">
+		<pg:type name="uuid" />
+		<sql:type name="char(40)" />
+		<clr:type name="Guid" namespace="System" struct="true" />
+	</type>
+	<type name="incidentData">
+		<clr:type name="IncidentData" namespace="Pallada.Sar.Exchange" />
+	</type>
+	<type name="datetime">
+		<pg:type name="timestamp with timezone" />
+		<clr:type name="DateTime" namespace="System" struct="true" />
+	</type>
+	<type name="listOf">
+		<clr:type name="List" namespace="System.Collections.Generic" />
+	</type>
+	<type name="bool">
+		<sql:type name="boolean" />
+		<clr:type name="Boolean" namespace="System" cs:name="bool"
+			struct="true" />
+	</type>
+</package>
\ No newline at end of file