diff data/rccs.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/rccs.xml	Wed Feb 21 03:01:53 2018 +0300
@@ -0,0 +1,23 @@
+<?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"
+	name="rccs" version="1.0" clr:namespace="Pallada.PoiskMore.Model"
+>
+
+	<!-- Импортируем стандартные типы для строк, дат, чисел и т.п. -->
+	<import href="types.xml"/>
+	<import href="model.xml"/>
+	
+	<entity name="Rcc" clr:name="SarRcc">
+		<extends type="BaseEntity"/>
+		<primaryKey name="Id" type="uuid"/>
+	</entity>
+
+	<entity name="MaritimeRcc" clr:name="SarMaritimeRcc">
+		<extends type="Rcc"/>
+	</entity>
+        
+</package>
\ No newline at end of file