Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma warning disable 1591
- //------------------------------------------------------------------------------
- // <auto-generated>
- // Il codice è stato generato da uno strumento.
- // Versione runtime:4.0.30319.42000
- //
- // Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
- // il codice viene rigenerato.
- // </auto-generated>
- //------------------------------------------------------------------------------
- namespace NetworkDAL
- {
- 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="network")]
- public partial class AccessDbLinqDataContext : System.Data.Linq.DataContext
- {
- private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource();
- #region Definizioni metodo Extensibility
- partial void OnCreated();
- #endregion
- public AccessDbLinqDataContext() :
- base(global::NetworkDAL.Properties.Settings.Default.networkConnectionString, mappingSource)
- {
- OnCreated();
- }
- public AccessDbLinqDataContext(string connection) :
- base(connection, mappingSource)
- {
- OnCreated();
- }
- public AccessDbLinqDataContext(System.Data.IDbConnection connection) :
- base(connection, mappingSource)
- {
- OnCreated();
- }
- public AccessDbLinqDataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
- base(connection, mappingSource)
- {
- OnCreated();
- }
- public AccessDbLinqDataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
- base(connection, mappingSource)
- {
- OnCreated();
- }
- public System.Data.Linq.Table<user> user
- {
- get
- {
- return this.GetTable<user>();
- }
- }
- }
- [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.[user]")]
- public partial class user
- {
- private int _id;
- private string _username;
- private string _name;
- private string _surname;
- private string _password;
- public user()
- {
- }
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_id", AutoSync=AutoSync.Always, DbType="Int NOT NULL IDENTITY", IsDbGenerated=true)]
- public int id
- {
- get
- {
- return this._id;
- }
- set
- {
- if ((this._id != value))
- {
- this._id = value;
- }
- }
- }
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_username", DbType="VarChar(50)")]
- public string username
- {
- get
- {
- return this._username;
- }
- set
- {
- if ((this._username != value))
- {
- this._username = value;
- }
- }
- }
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_name", DbType="VarChar(50)")]
- public string name
- {
- get
- {
- return this._name;
- }
- set
- {
- if ((this._name != value))
- {
- this._name = value;
- }
- }
- }
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_surname", DbType="VarChar(50)")]
- public string surname
- {
- get
- {
- return this._surname;
- }
- set
- {
- if ((this._surname != value))
- {
- this._surname = value;
- }
- }
- }
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_password", DbType="VarChar(50)")]
- public string password
- {
- get
- {
- return this._password;
- }
- set
- {
- if ((this._password != value))
- {
- this._password = value;
- }
- }
- }
- }
- }
- #pragma warning restore 1591
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement