-
Notifications
You must be signed in to change notification settings - Fork 0
/
DataClasses1.dbml
11 lines (11 loc) · 1.01 KB
/
DataClasses1.dbml
1
2
3
4
5
6
7
8
9
10
11
<?xml version="1.0" encoding="utf-8"?><Database Name="HighScores" Class="DataClasses1DataContext" xmlns="http://schemas.microsoft.com/linqtosql/dbml/2007">
<Connection Mode="AppSettings" ConnectionString="Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\HighScores.mdf;Integrated Security=True;Connect Timeout=30" SettingsObjectName="CarRacingGame.Properties.Settings" SettingsPropertyName="HighScoresConnectionString" Provider="System.Data.SqlClient" />
<Table Name="dbo.HighScores" Member="HighScores">
<Type Name="HighScore">
<Column Name="Id" AutoSync="Never" Type="System.Int32" DbType="Int NOT NULL" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
<Column Name="UserName" Type="System.String" DbType="NVarChar(MAX) NOT NULL" CanBeNull="false" />
<Column Name="BestScore" Type="System.Double" DbType="Int NOT NULL" CanBeNull="false" />
<Column Name="Date" Type="System.DateTime" DbType="SmallDateTime NOT NULL" CanBeNull="false" />
</Type>
</Table>
</Database>