Advertisement
Guest User

Untitled

a guest
May 11th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 3.71 KB | None | 0 0
  1. #pragma warning disable 1591
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. //     Il codice è stato generato da uno strumento.
  5. //     Versione runtime:4.0.30319.42000
  6. //
  7. //     Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
  8. //     il codice viene rigenerato.
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11.  
  12. namespace NetworkDAL
  13. {
  14.     using System.Data.Linq;
  15.     using System.Data.Linq.Mapping;
  16.     using System.Data;
  17.     using System.Collections.Generic;
  18.     using System.Reflection;
  19.     using System.Linq;
  20.     using System.Linq.Expressions;
  21.     using System.ComponentModel;
  22.     using System;
  23.    
  24.    
  25.     [global::System.Data.Linq.Mapping.DatabaseAttribute(Name="network")]
  26.     public partial class AccessDbLinqDataContext : System.Data.Linq.DataContext
  27.     {
  28.        
  29.         private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource();
  30.        
  31.     #region Definizioni metodo Extensibility
  32.     partial void OnCreated();
  33.     #endregion
  34.        
  35.         public AccessDbLinqDataContext() :
  36.                 base(global::NetworkDAL.Properties.Settings.Default.networkConnectionString, mappingSource)
  37.         {
  38.             OnCreated();
  39.         }
  40.        
  41.         public AccessDbLinqDataContext(string connection) :
  42.                 base(connection, mappingSource)
  43.         {
  44.             OnCreated();
  45.         }
  46.        
  47.         public AccessDbLinqDataContext(System.Data.IDbConnection connection) :
  48.                 base(connection, mappingSource)
  49.         {
  50.             OnCreated();
  51.         }
  52.        
  53.         public AccessDbLinqDataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
  54.                 base(connection, mappingSource)
  55.         {
  56.             OnCreated();
  57.         }
  58.        
  59.         public AccessDbLinqDataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
  60.                 base(connection, mappingSource)
  61.         {
  62.             OnCreated();
  63.         }
  64.        
  65.         public System.Data.Linq.Table<user> user
  66.         {
  67.             get
  68.             {
  69.                 return this.GetTable<user>();
  70.             }
  71.         }
  72.     }
  73.    
  74.     [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.[user]")]
  75.     public partial class user
  76.     {
  77.        
  78.         private int _id;
  79.        
  80.         private string _username;
  81.        
  82.         private string _name;
  83.        
  84.         private string _surname;
  85.        
  86.         private string _password;
  87.        
  88.         public user()
  89.         {
  90.         }
  91.        
  92.         [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_id", AutoSync=AutoSync.Always, DbType="Int NOT NULL IDENTITY", IsDbGenerated=true)]
  93.         public int id
  94.         {
  95.             get
  96.             {
  97.                 return this._id;
  98.             }
  99.             set
  100.             {
  101.                 if ((this._id != value))
  102.                 {
  103.                     this._id = value;
  104.                 }
  105.             }
  106.         }
  107.        
  108.         [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_username", DbType="VarChar(50)")]
  109.         public string username
  110.         {
  111.             get
  112.             {
  113.                 return this._username;
  114.             }
  115.             set
  116.             {
  117.                 if ((this._username != value))
  118.                 {
  119.                     this._username = value;
  120.                 }
  121.             }
  122.         }
  123.        
  124.         [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_name", DbType="VarChar(50)")]
  125.         public string name
  126.         {
  127.             get
  128.             {
  129.                 return this._name;
  130.             }
  131.             set
  132.             {
  133.                 if ((this._name != value))
  134.                 {
  135.                     this._name = value;
  136.                 }
  137.             }
  138.         }
  139.        
  140.         [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_surname", DbType="VarChar(50)")]
  141.         public string surname
  142.         {
  143.             get
  144.             {
  145.                 return this._surname;
  146.             }
  147.             set
  148.             {
  149.                 if ((this._surname != value))
  150.                 {
  151.                     this._surname = value;
  152.                 }
  153.             }
  154.         }
  155.        
  156.         [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_password", DbType="VarChar(50)")]
  157.         public string password
  158.         {
  159.             get
  160.             {
  161.                 return this._password;
  162.             }
  163.             set
  164.             {
  165.                 if ((this._password != value))
  166.                 {
  167.                     this._password = value;
  168.                 }
  169.             }
  170.         }
  171.     }
  172. }
  173. #pragma warning restore 1591
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement