CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
TestLinqToSqlContext.designer.cs
Go to the documentation of this file.
1#pragma warning disable 1591
2//------------------------------------------------------------------------------
3// <auto-generated>
4// This code was generated by a tool.
5// Runtime Version:4.0.30319.42000
6//
7// Changes to this file may cause incorrect behavior and will be lost if
8// the code is regenerated.
9// </auto-generated>
10//------------------------------------------------------------------------------
11
12namespace Csla.Test.Data
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="DataPortalTestDatabase")]
26 public partial class TestLinqToSqlContextDataContext : System.Data.Linq.DataContext
27 {
28
29 private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource();
30
31 #region Extensibility Method Definitions
32 partial void OnCreated();
33 #endregion
34
36 base(global::Csla.Test.Properties.Settings.Default.DataPortalTestDatabaseConnectionString, mappingSource)
37 {
38 OnCreated();
39 }
40
41 public TestLinqToSqlContextDataContext(string connection) :
42 base(connection, mappingSource)
43 {
44 OnCreated();
45 }
46
47 public TestLinqToSqlContextDataContext(System.Data.IDbConnection connection) :
48 base(connection, mappingSource)
49 {
50 OnCreated();
51 }
52
53 public TestLinqToSqlContextDataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
54 base(connection, mappingSource)
55 {
56 OnCreated();
57 }
58
59 public TestLinqToSqlContextDataContext(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<Table1> Table1s
66 {
67 get
68 {
69 return this.GetTable<Table1>();
70 }
71 }
72 }
73
74 [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Table1")]
75 public partial class Table1
76 {
77
78 private string _Name;
79
80 private System.Nullable<System.DateTime> _Date;
81
82 private System.Nullable<int> _Age;
83
84 public Table1()
85 {
86 }
87
88 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="VarChar(50)")]
89 public string Name
90 {
91 get
92 {
93 return this._Name;
94 }
95 set
96 {
97 if ((this._Name != value))
98 {
99 this._Name = value;
100 }
101 }
102 }
103
104 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date", DbType="DateTime")]
105 public System.Nullable<System.DateTime> Date
106 {
107 get
108 {
109 return this._Date;
110 }
111 set
112 {
113 if ((this._Date != value))
114 {
115 this._Date = value;
116 }
117 }
118 }
119
120 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Age", DbType="Int")]
121 public System.Nullable<int> Age
122 {
123 get
124 {
125 return this._Age;
126 }
127 set
128 {
129 if ((this._Age != value))
130 {
131 this._Age = value;
132 }
133 }
134 }
135 }
136}
137#pragma warning restore 1591
System.Nullable< System.DateTime > Date
TestLinqToSqlContextDataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource)
TestLinqToSqlContextDataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource)
TestLinqToSqlContextDataContext(System.Data.IDbConnection connection)