Skip to content

Instantly share code, notes, and snippets.

@BlackFoks
Created March 11, 2010 16:27
Show Gist options
  • Save BlackFoks/329301 to your computer and use it in GitHub Desktop.
Save BlackFoks/329301 to your computer and use it in GitHub Desktop.
<EntityType Name="BookAuthors">
<Key>
<PropertyRef Name="BookId" />
<PropertyRef Name="AuthorId" />
</Key>
<!-- Закомментированные стоки - как было, незакомментированные - как стало. -->
<!--<Property Name="BookId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
<Property Name="AuthorId" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />-->
<Property Name="BookId" Type="int" Nullable="false" />
<Property Name="AuthorId" Type="int" Nullable="false" />
</EntityType>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment