Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma warning disable 1591
- //------------------------------------------------------------------------------
- // <auto-generated>
- // This code was generated by a tool.
- // Runtime Version:4.0.30319.239
- //
- // Changes to this file may cause incorrect behavior and will be lost if
- // the code is regenerated.
- // </auto-generated>
- //------------------------------------------------------------------------------
- namespace SilverlightApplication1.Web
- {
- using System.Data.Linq;
- using System.Data.Linq.Mapping;
- using System.Data;
- using System.Collections.Generic;
- using System.Reflection;
- using System.Linq;
- using System.Linq.Expressions;
- using System.ComponentModel;
- using System;
- [global::System.Data.Linq.Mapping.DatabaseAttribute(Name="Database")]
- public partial class DataClasses1DataContext : System.Data.Linq.DataContext
- {
- private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource();
- #region Extensibility Method Definitions
- partial void OnCreated();
- #endregion
- public DataClasses1DataContext() :
- base(global::System.Configuration.ConfigurationManager.ConnectionStrings["DatabaseConnectionString"].ConnectionString, mappingSource)
- {
- OnCreated();
- }
- public DataClasses1DataContext(string connection) :
- base(connection, mappingSource)
- {
- OnCreated();
- }
- public DataClasses1DataContext(System.Data.IDbConnection connection) :
- base(connection, mappingSource)
- {
- OnCreated();
- }
- public DataClasses1DataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
- base(connection, mappingSource)
- {
- OnCreated();
- }
- public DataClasses1DataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
- base(connection, mappingSource)
- {
- OnCreated();
- }
- public System.Data.Linq.Table<tblPersoon> tblPersoons
- {
- get
- {
- return this.GetTable<tblPersoon>();
- }
- }
- }
- [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.tblPersoon")]
- public partial class tblPersoon
- {
- private string _id;
- private string _naam;
- private string _voornaam;
- private System.Nullable<int> _leeftijd;
- public tblPersoon()
- {
- }
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_id", DbType="NChar(10) NOT NULL", CanBeNull=false)]
- public string id
- {
- get
- {
- return this._id;
- }
- set
- {
- if ((this._id != value))
- {
- this._id = value;
- }
- }
- }
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_naam", DbType="VarChar(50)")]
- public string naam
- {
- get
- {
- return this._naam;
- }
- set
- {
- if ((this._naam != value))
- {
- this._naam = value;
- }
- }
- }
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_voornaam", DbType="VarChar(50)")]
- public string voornaam
- {
- get
- {
- return this._voornaam;
- }
- set
- {
- if ((this._voornaam != value))
- {
- this._voornaam = value;
- }
- }
- }
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_leeftijd", DbType="Int")]
- public System.Nullable<int> leeftijd
- {
- get
- {
- return this._leeftijd;
- }
- set
- {
- if ((this._leeftijd != value))
- {
- this._leeftijd = value;
- }
- }
- }
- }
- }
- #pragma warning restore 1591
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement