<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="VCLib" 
Name="LICENSE_FILE" 
Description="Файл лицензии" 
PrimaryKey="LicenseFileID">
  <Fields>
    <Attribute Name="LicenseFileID" Index="1" Type="guid" Description="Идентификатор" Required="1" />
    <Attribute Name="ProductName" Index="2" Type="string" Description="Наименование продукта" Required="1" />
    <Attribute Name="LicenseHolder" Index="3" Type="string" Description="Лицензиат" CharacterMaximumLength="1024" Required="1" />
    <Attribute Name="DateFrom" Index="4" Type="date" Description="Дата начала действия" Required="1" />
    <Attribute Name="DateTo" Index="5" Type="date" Description="Дата окончания действия" Required="1" />
    <Attribute Name="File" Index="6" Type="binary" Description="Файл" Required="1" />
  </Fields>
  <DbMapping>
    <Table name="T_LICENSE_FILE">
      <Map Name="LicenseFileID" Column="LicenseFileID" />
      <Map Name="ProductName" Column="ProductName" />
      <Map Name="LicenseHolder" Column="LicenseHolder" />
      <Map Name="DateFrom" Column="DateFrom" />
      <Map Name="DateTo" Column="DateTo" />
      <Map Name="File" Column="File" />
    </Table>
  </DbMapping>
</Entity>