<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="RDS" 
Name="LMSZ" 
Description="Локальная мера социальной защиты" 
PrimaryKey="LmszID" 
DNAttributes="{Name}" 
DisplayName="{0}">
  <Fields>
    <Attribute Name="LmszID" Type="guid" Description="Идентификатор" />
    <Attribute Name="Code" Type="string" Description="Код" CharacterMaximumLength="10" Required="1" />
    <Attribute Name="Name" Type="string" Description="Наименование" CharacterMaximumLength="100" Required="1" />
  </Fields>
  <DbMapping>
    <Table name="T_LMSZ">
      <Map Name="LmszID" Column="LmszID" />
      <Map Name="Code" Column="Code" />
      <Map Name="Name" Column="Name" />
    </Table>
  </DbMapping>
</Entity>