개정판 a7346d3c
issue #934: save un-handled exception to database
Change-Id: I1f8836956ac96821089f0c085cba4a06adfcf667
KCOM.sln | ||
---|---|---|
22 | 22 |
EndProject |
23 | 23 |
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CompareLib", "CompareLib\CompareLib.csproj", "{AB53FC3B-606B-499E-B2A8-ACDB3BCC2C98}" |
24 | 24 |
EndProject |
25 |
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "MARKUSSETUP", "MARKUSSETUP\MARKUSSETUP.vdproj", "{D391F4B0-7737-4FCC-8641-FF1B50B490BC}" |
|
26 |
EndProject |
|
27 | 25 |
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IFinalPDF", "IFinalPDF\IFinalPDF.csproj", "{784438BE-2074-41AE-A692-24E1A4A67FE3}" |
28 | 26 |
EndProject |
29 | 27 |
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SmartUpdate", "SmartUpdate\SmartUpdate.csproj", "{EA12FDC9-575E-471B-A691-3C31D03EA24C}" |
... | ... | |
100 | 98 |
{AB53FC3B-606B-499E-B2A8-ACDB3BCC2C98}.Release|Any CPU.Build.0 = Release|Any CPU |
101 | 99 |
{AB53FC3B-606B-499E-B2A8-ACDB3BCC2C98}.Release|x64.ActiveCfg = Release|Any CPU |
102 | 100 |
{AB53FC3B-606B-499E-B2A8-ACDB3BCC2C98}.Release|x64.Build.0 = Release|Any CPU |
103 |
{D391F4B0-7737-4FCC-8641-FF1B50B490BC}.Debug|Any CPU.ActiveCfg = Debug |
|
104 |
{D391F4B0-7737-4FCC-8641-FF1B50B490BC}.Debug|x64.ActiveCfg = Debug |
|
105 |
{D391F4B0-7737-4FCC-8641-FF1B50B490BC}.Release|Any CPU.ActiveCfg = Release |
|
106 |
{D391F4B0-7737-4FCC-8641-FF1B50B490BC}.Release|x64.ActiveCfg = Release |
|
107 | 101 |
{784438BE-2074-41AE-A692-24E1A4A67FE3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
108 | 102 |
{784438BE-2074-41AE-A692-24E1A4A67FE3}.Debug|Any CPU.Build.0 = Debug|Any CPU |
109 | 103 |
{784438BE-2074-41AE-A692-24E1A4A67FE3}.Debug|x64.ActiveCfg = Debug|Any CPU |
KCOM/AbstractDatabase.cs | ||
---|---|---|
1 |
using System; |
|
2 |
using System.Collections.Generic; |
|
3 |
using System.Linq; |
|
4 |
using System.Web; |
|
5 |
using System.Data; |
|
6 |
using System.Data.Common; |
|
7 |
|
|
8 |
namespace KCOM |
|
9 |
{ |
|
10 |
public class ColInfo |
|
11 |
{ |
|
12 |
public string Name { get; set; } |
|
13 |
public string DataType { get; set; } |
|
14 |
} |
|
15 |
|
|
16 |
/// <summary> |
|
17 |
/// Abstract base class for encapsulating provider independant database interactin logic. |
|
18 |
/// </summary> |
|
19 |
/// <remarks>Version 2.0</remarks> |
|
20 |
/// <typeparam name="CONNECTION_TYPE"><see cref="DbConnection"/> derived Connection type.</typeparam> |
|
21 |
/// <typeparam name="COMMAND_TYPE"><see cref="DbCommand"/> derived Command type.</typeparam> |
|
22 |
/// <typeparam name="ADAPTER_TYPE"><see cref="DbDataAdapater"/> derived Data Adapter type.</typeparam> |
|
23 |
public abstract class AbstractDatabase<CONNECTION_TYPE, COMMAND_TYPE, ADAPTER_TYPE> : IDisposable, IAbstractDatabase |
|
24 |
where CONNECTION_TYPE : DbConnection, new() |
|
25 |
where COMMAND_TYPE : DbCommand |
|
26 |
where ADAPTER_TYPE : DbDataAdapter, new() |
|
27 |
{ |
|
28 |
#region : Connection : |
|
29 |
|
|
30 |
/// <summary>Gets the Connection object associated with the current instance.</summary> |
|
31 |
public DbConnection Connection |
|
32 |
{ |
|
33 |
get |
|
34 |
{ |
|
35 |
if (internal_currentConnection == null) |
|
36 |
{ |
|
37 |
internal_currentConnection = new CONNECTION_TYPE() { ConnectionString = GetConnectionString() }; |
|
38 |
} |
|
39 |
return internal_currentConnection; |
|
40 |
} |
|
41 |
} |
|
42 |
private DbConnection internal_currentConnection = null; |
|
43 |
|
|
44 |
/// <summary>When overridden in derived classes returns the connection string for the database.</summary> |
|
45 |
/// <returns>The connection string for the database.</returns> |
|
46 |
protected abstract string GetConnectionString(); |
|
47 |
|
|
48 |
#endregion |
|
49 |
|
|
50 |
#region : Commands : |
|
51 |
|
|
52 |
/// <summary>Gets a DbCommand object with the specified <see cref="DbCommand.CommandText"/>.</summary> |
|
53 |
/// <param name="sqlString">The SQL string.</param> |
|
54 |
/// <returns>A DbCommand object with the specified <see cref="DbCommand.CommandText"/>.</returns> |
|
55 |
public DbCommand GetSqlStringCommand(string sqlString) |
|
56 |
{ |
|
57 |
if (this.Connection.State != ConnectionState.Open) |
|
58 |
this.Connection.Open(); |
|
59 |
|
|
60 |
DbCommand cmd = this.Connection.CreateCommand(); |
|
61 |
cmd.CommandType = CommandType.Text; |
|
62 |
cmd.CommandText = sqlString; |
|
63 |
cmd.CommandTimeout = 600; // 15.11.04 added by soohyun - Extend Time out of query |
|
64 |
return cmd; |
|
65 |
} |
|
66 |
|
|
67 |
/// <summary>Gets a DbCommand object with the specified <see cref="DbCommand.CommandText"/>.</summary> |
|
68 |
/// <param name="sqlStringFormat">The SQL string format.</param> |
|
69 |
/// <param name="args">The format arguments.</param> |
|
70 |
/// <returns>A DbCommand object with the specified <see cref="DbCommand.CommandText"/>.</returns> |
|
71 |
public DbCommand GetSqlStringCommand(string sqlStringFormat, params object[] args) |
|
72 |
{ |
|
73 |
return GetSqlStringCommand(string.Format(sqlStringFormat, args)); |
|
74 |
} |
|
75 |
|
|
76 |
/// <summary>Gets a DbCommand object for the specified Stored Procedure.</summary> |
|
77 |
/// <param name="storedProcName">The name of the stored procedure.</param> |
|
78 |
/// <returns>A DbCommand object for the specified Stored Procedure.</returns> |
|
79 |
public DbCommand GetStoredProcedureCommand(string storedProcName) |
|
80 |
{ |
|
81 |
if (this.Connection.State != ConnectionState.Open) |
|
82 |
this.Connection.Open(); |
|
83 |
|
|
84 |
DbCommand cmd = this.Connection.CreateCommand(); |
|
85 |
cmd.CommandType = CommandType.StoredProcedure; |
|
86 |
cmd.CommandText = storedProcName; |
|
87 |
return cmd; |
|
88 |
} |
|
89 |
|
|
90 |
#region : Parameters : |
|
91 |
|
|
92 |
/// <summary>Adds an input parameter to the given <see cref="DbCommand"/>.</summary> |
|
93 |
/// <param name="cmd">The command object the parameter should be added to.</param> |
|
94 |
/// <param name="paramName">The identifier of the parameter.</param> |
|
95 |
/// <param name="paramType">The type of the parameter.</param> |
|
96 |
/// <param name="value">The value of the parameter.</param> |
|
97 |
/// <returns>The <see cref="DbParameter"/> that was created.</returns> |
|
98 |
public DbParameter AddInParameter(DbCommand cmd, string paramName, DbType paramType, object value) |
|
99 |
{ |
|
100 |
return AddParameter(cmd, paramName, paramType, ParameterDirection.Input, value); |
|
101 |
} |
|
102 |
|
|
103 |
/// <summary>Adds an input parameter to the given <see cref="DbCommand"/>.</summary> |
|
104 |
/// <param name="cmd">The command object the parameter should be added to.</param> |
|
105 |
/// <param name="paramName">The identifier of the parameter.</param> |
|
106 |
/// <param name="paramType">The type of the parameter.</param> |
|
107 |
/// <param name="size">The maximum size in bytes, of the data table column to be affected.</param> |
|
108 |
/// <param name="value">The value of the parameter.</param> |
|
109 |
/// <returns>The <see cref="DbParameter"/> that was created.</returns> |
|
110 |
public DbParameter AddInParameter(DbCommand cmd, string paramName, DbType paramType, int size, object value) |
|
111 |
{ |
|
112 |
DbParameter param = AddInParameter(cmd, paramName, paramType, value); |
|
113 |
param.Size = size; |
|
114 |
cmd.Parameters.Add(param); |
|
115 |
return param; |
|
116 |
} |
|
117 |
|
|
118 |
/// <summary>Adds the out parameter to the given <see cref="DbCommand"/></summary> |
|
119 |
/// <param name="cmd">The command object the parameter should be added to.</param> |
|
120 |
/// <param name="paramName">The identifier of the parameter.</param> |
|
121 |
/// <param name="paramType">The type of the parameter.</param> |
|
122 |
/// <param name="value">The value of the parameter.</param> |
|
123 |
/// <returns>The <see cref="DbParameter"/> that was created.</returns> |
|
124 |
public DbParameter AddOutParameter(DbCommand cmd, string paramName, DbType paramType, object value) |
|
125 |
{ |
|
126 |
return AddParameter(cmd, paramName, paramType, ParameterDirection.Output, value); |
|
127 |
} |
|
128 |
|
|
129 |
/// <summary>Adds a parameter to the given <see cref="DbCommand"/>.</summary> |
|
130 |
/// <param name="cmd">The command object the parameter should be added to.</param> |
|
131 |
/// <param name="paramName">The identifier of the parameter.</param> |
|
132 |
/// <param name="paramType">The type of the parameter.</param> |
|
133 |
/// <param name="direction"><see cref="ParameterDirection"/> of the parameter.</param> |
|
134 |
/// <param name="value">The value of the parameter.</param> |
|
135 |
/// <returns>The <see cref="DbParameter"/> that was created.</returns> |
|
136 |
public DbParameter AddParameter(DbCommand cmd, string paramName, |
|
137 |
DbType paramType, |
|
138 |
ParameterDirection direction, |
|
139 |
object value) |
|
140 |
{ |
|
141 |
DbParameter param = cmd.CreateParameter(); |
|
142 |
param.DbType = paramType; |
|
143 |
param.ParameterName = paramName; |
|
144 |
param.Value = value; |
|
145 |
param.Direction = direction; |
|
146 |
cmd.Parameters.Add(param); |
|
147 |
return param; |
|
148 |
} |
|
149 |
|
|
150 |
/// <summary>Adds a parameter to the given <see cref="DbCommand"/>.</summary> |
|
151 |
/// <param name="cmd">The command object the parameter should be added to.</param> |
|
152 |
/// <param name="paramName">The identifier of the parameter.</param> |
|
153 |
/// <param name="paramType">The type of the parameter.</param> |
|
154 |
/// <param name="direction"><see cref="ParameterDirection"/> of the parameter.</param> |
|
155 |
/// <param name="size">The maximum size in bytes, of the data table column to be affected.</param> |
|
156 |
/// <param name="value">The value of the parameter.</param> |
|
157 |
/// <returns>The <see cref="DbParameter"/> that was created.</returns> |
|
158 |
public DbParameter AddParameter(DbCommand cmd, string paramName, |
|
159 |
DbType paramType, |
|
160 |
ParameterDirection direction, |
|
161 |
int size, |
|
162 |
object value) |
|
163 |
{ |
|
164 |
DbParameter param = AddParameter(cmd, paramName, paramType, direction, value); |
|
165 |
param.Size = size; |
|
166 |
return param; |
|
167 |
} |
|
168 |
|
|
169 |
#endregion |
|
170 |
|
|
171 |
#region : Executes : |
|
172 |
|
|
173 |
/// <summary>Executes the specified command against the current connection.</summary> |
|
174 |
/// <param name="cmd">The command to be executed.</param> |
|
175 |
/// <returns>Result returned by the database engine.</returns> |
|
176 |
public int ExecuteNonQuery(DbCommand cmd) |
|
177 |
{ |
|
178 |
if (this.Connection.State != ConnectionState.Open) |
|
179 |
this.Connection.Open(); |
|
180 |
|
|
181 |
return cmd.ExecuteNonQuery(); |
|
182 |
} |
|
183 |
|
|
184 |
public int ExecuteNonQuery(string sSql) |
|
185 |
{ |
|
186 |
if (this.Connection.State != ConnectionState.Open) |
|
187 |
this.Connection.Open(); |
|
188 |
|
|
189 |
return GetSqlStringCommand(sSql).ExecuteNonQuery(); |
|
190 |
} |
|
191 |
|
|
192 |
/// <summary>Executes the specified command against the current connection.</summary> |
|
193 |
/// <param name="cmd">The command to be executed.</param> |
|
194 |
/// <param name="txn">The database transaction inside which the command should be executed.</param> |
|
195 |
/// <returns>Result returned by the database engine.</returns> |
|
196 |
public int ExecuteNonQuery(DbCommand cmd, DbTransaction txn) |
|
197 |
{ |
|
198 |
if (this.Connection.State != ConnectionState.Open) |
|
199 |
this.Connection.Open(); |
|
200 |
|
|
201 |
cmd.Transaction = txn; |
|
202 |
return cmd.ExecuteNonQuery(); |
|
203 |
} |
|
204 |
|
|
205 |
/// <summary>Executes the specified command against the current connection.</summary> |
|
206 |
/// <param name="cmd">The command to be executed.</param> |
|
207 |
/// <returns>Result returned by the database engine.</returns> |
|
208 |
public DbDataReader ExecuteReader(DbCommand cmd) |
|
209 |
{ |
|
210 |
if (this.Connection.State != ConnectionState.Open) |
|
211 |
this.Connection.Open(); |
|
212 |
|
|
213 |
return cmd.ExecuteReader(); |
|
214 |
} |
|
215 |
|
|
216 |
/// <summary>Executes the specified command against the current connection.</summary> |
|
217 |
/// <param name="cmd">The command to be executed.</param> |
|
218 |
/// <param name="behavior">One of the <see cref="System.Data.CommandBehavior"/> values.</param> |
|
219 |
/// <returns>Result returned by the database engine.</returns> |
|
220 |
public DbDataReader ExecuteReader(DbCommand cmd, CommandBehavior behavior) |
|
221 |
{ |
|
222 |
if (this.Connection.State != ConnectionState.Open) |
|
223 |
this.Connection.Open(); |
|
224 |
|
|
225 |
return cmd.ExecuteReader(behavior); |
|
226 |
} |
|
227 |
|
|
228 |
/// <summary>Executes the specified command against the current connection.</summary> |
|
229 |
/// <param name="cmd">The command to be executed.</param> |
|
230 |
/// <returns>Result returned by the database engine.</returns> |
|
231 |
public T ExecuteScalar<T>(DbCommand cmd, T defaultValue) |
|
232 |
{ |
|
233 |
if (this.Connection.State != ConnectionState.Open) |
|
234 |
this.Connection.Open(); |
|
235 |
|
|
236 |
object retVal = cmd.ExecuteScalar(); |
|
237 |
if (null == retVal || DBNull.Value == retVal) |
|
238 |
return defaultValue; |
|
239 |
else |
|
240 |
return (T)retVal; |
|
241 |
} |
|
242 |
|
|
243 |
/// <summary>Executes the specified command against the current connection.</summary> |
|
244 |
/// <param name="cmd">The command to be executed.</param> |
|
245 |
/// <returns>Result returned by the database engine.</returns> |
|
246 |
public DataSet ExecuteDataSet(DbCommand cmd, DbTransaction txn = null) |
|
247 |
{ |
|
248 |
ADAPTER_TYPE adapter = new ADAPTER_TYPE(); |
|
249 |
if (null != txn) cmd.Transaction = txn; |
|
250 |
adapter.SelectCommand = (COMMAND_TYPE)cmd; |
|
251 |
|
|
252 |
DataSet retVal = new DataSet() |
|
253 |
{ |
|
254 |
Locale = System.Globalization.CultureInfo.InvariantCulture |
|
255 |
}; |
|
256 |
adapter.Fill(retVal); |
|
257 |
return retVal; |
|
258 |
} |
|
259 |
|
|
260 |
#endregion |
|
261 |
|
|
262 |
#endregion |
|
263 |
|
|
264 |
/// <summary>Begins a transaction.</summary> |
|
265 |
/// <returns>Created transaction.</returns> |
|
266 |
public DbTransaction BeginTransaction() |
|
267 |
{ |
|
268 |
if (this.Connection.State != ConnectionState.Open) |
|
269 |
this.Connection.Open(); |
|
270 |
return Connection.BeginTransaction(); |
|
271 |
} |
|
272 |
|
|
273 |
#region : Consturction / Destruction : |
|
274 |
|
|
275 |
/// <summary>Disposes the resources associated with the current database connection.</summary> |
|
276 |
~AbstractDatabase() |
|
277 |
{ |
|
278 |
Dispose(); |
|
279 |
} |
|
280 |
|
|
281 |
#region IDisposable Members |
|
282 |
|
|
283 |
/// <summary>Disposes the resources associated with the current database connection.</summary> |
|
284 |
public void Dispose() |
|
285 |
{ |
|
286 |
if (null != internal_currentConnection) |
|
287 |
{ |
|
288 |
internal_currentConnection.Dispose(); |
|
289 |
internal_currentConnection = null; |
|
290 |
} |
|
291 |
} |
|
292 |
|
|
293 |
#endregion |
|
294 |
|
|
295 |
#endregion |
|
296 |
} |
|
297 |
} |
KCOM/App.xaml.cs | ||
---|---|---|
14 | 14 |
using System.ServiceModel; |
15 | 15 |
using System.Windows; |
16 | 16 |
using System.Xml; |
17 |
using log4net; |
|
17 | 18 |
|
19 |
[assembly: log4net.Config.XmlConfigurator(Watch = true)] |
|
18 | 20 |
namespace KCOM |
19 | 21 |
{ |
20 | 22 |
public class OpenProperties |
... | ... | |
47 | 49 |
public static string Custom_ViewInfoId; |
48 | 50 |
public static bool ParameterMode = false; |
49 | 51 |
|
52 |
/// <summary> |
|
53 |
/// logger |
|
54 |
/// </summary> |
|
55 |
public static ILog log = null; |
|
56 |
|
|
57 |
/// <summary> |
|
58 |
/// Application Data Folder |
|
59 |
/// </summary> |
|
60 |
public static string AppDataFolder |
|
61 |
{ |
|
62 |
get |
|
63 |
{ |
|
64 |
return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "MARKUS"); |
|
65 |
} |
|
66 |
} |
|
50 | 67 |
|
51 | 68 |
public static RestSharp.RestClient BaseClient { get; set; } |
52 | 69 |
public static IKCOM.KCOM_SystemInfo SystemInfo { get; set; } |
... | ... | |
68 | 85 |
protected override void OnStartup(StartupEventArgs e) |
69 | 86 |
{ |
70 | 87 |
try |
71 |
{ |
|
88 |
{ |
|
89 |
/// create log database and table |
|
90 |
using (IAbstractDatabase database = new AppSQLiteDatabase() { FilePath = Path.Combine(AppDataFolder, "log4net.db") }) |
|
91 |
{ |
|
92 |
string sSql = "CREATE TABLE IF NOT EXISTS Log (LogId INTEGER PRIMARY KEY,Date DATETIME NOT NULL,Level VARCHAR(50) NOT NULL,Logger VARCHAR(255) NOT NULL,Message TEXT DEFAULT NULL,StackTrace TEXT DEFAULT NULL);"; |
|
93 |
database.ExecuteNonQuery(sSql); |
|
94 |
} |
|
95 |
/// up to here |
|
96 |
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); |
|
97 |
log4net.GlobalContext.Properties["LogFilePath"] = Path.Combine(AppDataFolder, "log4net.db"); |
|
98 |
log = LogManager.GetLogger(typeof(App)); |
|
99 |
|
|
72 | 100 |
splash.Show(false, false); |
73 | 101 |
|
74 | 102 |
if (e.Args.Count() > 0) |
... | ... | |
187 | 215 |
MessageBox.Show("Err" + ex.Message); |
188 | 216 |
} |
189 | 217 |
} |
190 |
|
|
218 |
|
|
219 |
/// <summary> |
|
220 |
/// log unhandled exception |
|
221 |
/// </summary> |
|
222 |
/// <author>humkyung</author> |
|
223 |
/// <date>2019.05.21</date> |
|
224 |
/// <param name="sender"></param> |
|
225 |
/// <param name="e"></param> |
|
226 |
private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) |
|
227 |
{ |
|
228 |
try |
|
229 |
{ |
|
230 |
App.log.Fatal(e.ExceptionObject as Exception); |
|
231 |
} |
|
232 |
catch (Exception ex) |
|
233 |
{ |
|
234 |
Console.WriteLine(ex.InnerException.ToString()); |
|
235 |
} |
|
236 |
finally |
|
237 |
{ |
|
238 |
Environment.Exit(0); |
|
239 |
} |
|
240 |
} |
|
241 |
|
|
191 | 242 |
protected void UpdateCheck(StartupEventArgs e) |
192 | 243 |
{ |
193 | 244 |
try |
KCOM/AppSQLiteDatabase.cs | ||
---|---|---|
1 |
using System; |
|
2 |
using System.Collections.Generic; |
|
3 |
using System.Linq; |
|
4 |
using System.Text; |
|
5 |
using System.Data; |
|
6 |
using System.Data.Common; |
|
7 |
using System.Data.SQLite; |
|
8 |
using System.Globalization; |
|
9 |
|
|
10 |
namespace KCOM |
|
11 |
{ |
|
12 |
class AppSQLiteDatabase : AbstractDatabase<SQLiteConnection , SQLiteCommand , SQLiteDataAdapter> |
|
13 |
{ |
|
14 |
public string FilePath{get;set;} |
|
15 |
|
|
16 |
/// <summary> |
|
17 |
/// sqlite connection string |
|
18 |
/// </summary> |
|
19 |
/// <author>humkyung</author> |
|
20 |
/// <date>2019.02.10</date> |
|
21 |
/// <returns></returns> |
|
22 |
protected override string GetConnectionString() |
|
23 |
{ |
|
24 |
return string.Format(CultureInfo.CurrentCulture, "Data Source = {0}", this.FilePath); |
|
25 |
} |
|
26 |
} |
|
27 |
} |
KCOM/IAbstractDatabase.cs | ||
---|---|---|
1 |
using System; |
|
2 |
using System.Collections.Generic; |
|
3 |
using System.Linq; |
|
4 |
using System.Web; |
|
5 |
using System.Text; |
|
6 |
using System.Data; |
|
7 |
using System.Data.Common; |
|
8 |
|
|
9 |
namespace KCOM |
|
10 |
{ |
|
11 |
public interface IAbstractDatabase : IDisposable |
|
12 |
{ |
|
13 |
DbConnection Connection { get; } |
|
14 |
DbCommand GetSqlStringCommand(string sqlString); |
|
15 |
DbCommand GetSqlStringCommand(string sqlStringFormat, params object[] args); |
|
16 |
DbCommand GetStoredProcedureCommand(string storedProcName); |
|
17 |
|
|
18 |
DbParameter AddInParameter(DbCommand cmd, string paramName, DbType paramType, object value); |
|
19 |
DbParameter AddInParameter(DbCommand cmd, string paramName, DbType paramType, int size, object value); |
|
20 |
DbParameter AddOutParameter(DbCommand cmd, string paramName, DbType paramType, object value); |
|
21 |
DbParameter AddParameter(DbCommand cmd, string paramName, |
|
22 |
DbType paramType, |
|
23 |
ParameterDirection direction, |
|
24 |
object value); |
|
25 |
DbParameter AddParameter(DbCommand cmd, string paramName, |
|
26 |
DbType paramType, |
|
27 |
ParameterDirection direction, |
|
28 |
int size, |
|
29 |
object value); |
|
30 |
|
|
31 |
int ExecuteNonQuery(DbCommand cmd); |
|
32 |
int ExecuteNonQuery(string sSql); |
|
33 |
int ExecuteNonQuery(DbCommand cmd, DbTransaction txn); |
|
34 |
DbDataReader ExecuteReader(DbCommand cmd); |
|
35 |
DbDataReader ExecuteReader(DbCommand cmd, CommandBehavior behavior); |
|
36 |
DataSet ExecuteDataSet(DbCommand cmd, DbTransaction txn = null); |
|
37 |
|
|
38 |
DbTransaction BeginTransaction(); |
|
39 |
} |
|
40 |
} |
KCOM/KCOM.csproj | ||
---|---|---|
40 | 40 |
</PropertyGroup> |
41 | 41 |
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"> |
42 | 42 |
<DebugSymbols>true</DebugSymbols> |
43 |
<OutputPath>bin\x64\Debug\</OutputPath>
|
|
43 |
<OutputPath>..\Setup\</OutputPath>
|
|
44 | 44 |
<DefineConstants>DEBUG;TRACE</DefineConstants> |
45 | 45 |
<DebugType>full</DebugType> |
46 | 46 |
<PlatformTarget>x64</PlatformTarget> |
... | ... | |
90 | 90 |
<Reference Include="itextsharp"> |
91 | 91 |
<HintPath>..\packages\iTextSharp.5.5.12\lib\itextsharp.dll</HintPath> |
92 | 92 |
</Reference> |
93 |
<Reference Include="log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL"> |
|
94 |
<HintPath>..\packages\log4net.2.0.8\lib\net45-full\log4net.dll</HintPath> |
|
95 |
</Reference> |
|
93 | 96 |
<Reference Include="MarkUsODAConvert"> |
94 | 97 |
<HintPath>..\packages\ODA\MarkUsODAConvert.dll</HintPath> |
95 | 98 |
</Reference> |
... | ... | |
126 | 129 |
<Reference Include="System.Configuration" /> |
127 | 130 |
<Reference Include="System.Data" /> |
128 | 131 |
<Reference Include="System.Data.Entity" /> |
132 |
<Reference Include="System.Data.SQLite, Version=1.0.110.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL"> |
|
133 |
<HintPath>..\packages\System.Data.SQLite.Core.1.0.110.0\lib\net45\System.Data.SQLite.dll</HintPath> |
|
134 |
</Reference> |
|
135 |
<Reference Include="System.Data.SQLite.EF6, Version=1.0.110.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL"> |
|
136 |
<HintPath>..\packages\System.Data.SQLite.EF6.1.0.110.0\lib\net45\System.Data.SQLite.EF6.dll</HintPath> |
|
137 |
</Reference> |
|
138 |
<Reference Include="System.Data.SQLite.Linq, Version=1.0.110.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL"> |
|
139 |
<HintPath>..\packages\System.Data.SQLite.Linq.1.0.110.0\lib\net45\System.Data.SQLite.Linq.dll</HintPath> |
|
140 |
</Reference> |
|
129 | 141 |
<Reference Include="System.Drawing" /> |
130 | 142 |
<Reference Include="System.EnterpriseServices" /> |
131 | 143 |
<Reference Include="System.Management" /> |
... | ... | |
233 | 245 |
<Generator>MSBuild:Compile</Generator> |
234 | 246 |
<SubType>Designer</SubType> |
235 | 247 |
</ApplicationDefinition> |
248 |
<Compile Include="AbstractDatabase.cs" /> |
|
249 |
<Compile Include="AppSQLiteDatabase.cs" /> |
|
236 | 250 |
<Compile Include="Common\Check_Inferface.cs" /> |
237 | 251 |
<Compile Include="Common\Converter\CmpUrlChange.cs" /> |
238 | 252 |
<Compile Include="Common\Converter\CommentTypeImgConverter.cs" /> |
... | ... | |
302 | 316 |
</Compile> |
303 | 317 |
<Compile Include="Controls\TeighaD3DImage.cs" /> |
304 | 318 |
<Compile Include="Controls\TeighaD3DImageResult.cs" /> |
319 |
<Compile Include="IAbstractDatabase.cs" /> |
|
305 | 320 |
<Compile Include="Logger.cs" /> |
306 | 321 |
<Compile Include="Messenger\ConversationView.xaml.cs"> |
307 | 322 |
<DependentUpon>ConversationView.xaml</DependentUpon> |
... | ... | |
1256 | 1271 |
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
1257 | 1272 |
</PropertyGroup> |
1258 | 1273 |
<Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" /> |
1274 |
<Error Condition="!Exists('..\packages\System.Data.SQLite.Core.1.0.110.0\build\net45\System.Data.SQLite.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\System.Data.SQLite.Core.1.0.110.0\build\net45\System.Data.SQLite.Core.targets'))" /> |
|
1259 | 1275 |
</Target> |
1260 | 1276 |
<PropertyGroup> |
1261 | 1277 |
<PostBuildEvent> |
1262 | 1278 |
</PostBuildEvent> |
1263 | 1279 |
</PropertyGroup> |
1280 |
<Import Project="..\packages\System.Data.SQLite.Core.1.0.110.0\build\net45\System.Data.SQLite.Core.targets" Condition="Exists('..\packages\System.Data.SQLite.Core.1.0.110.0\build\net45\System.Data.SQLite.Core.targets')" /> |
|
1264 | 1281 |
</Project> |
KCOM/KCOM.csproj.user | ||
---|---|---|
2 | 2 |
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 | 3 |
<PropertyGroup> |
4 | 4 |
<ReferencePath>C:\Users\Admin\Downloads\KCOM 2018-02-04(통합)\KCOM\x64\;C:\Users\Admin\Downloads\KCOM 2018-02-04(통합)\KCOM\x86\</ReferencePath> |
5 |
<ProjectView>ShowAllFiles</ProjectView> |
|
5 | 6 |
</PropertyGroup> |
6 | 7 |
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'"> |
7 | 8 |
<StartArguments>eyJEb2N1bWVudEl0ZW1JRCI6IjQwMDAwMDU3IiwiYlBhcnRuZXIiOmZhbHNlLCJDcmVhdGVGaW5hbFBERlBlcm1pc3Npb24iOnRydWUsIk5ld0NvbW1lbnRQZXJtaXNzaW9uIjp0cnVlLCJQcm9qZWN0Tk8iOiIwMDAwMDAiLCJVc2VySUQiOiJIMjAwOTExNSIsIk1vZGUiOjB9</StartArguments> |
... | ... | |
10 | 11 |
<StartArguments>eyJEb2N1bWVudEl0ZW1JRCI6IjQwMDAwMDU3IiwiYlBhcnRuZXIiOmZhbHNlLCJDcmVhdGVGaW5hbFBERlBlcm1pc3Npb24iOnRydWUsIk5ld0NvbW1lbnRQZXJtaXNzaW9uIjp0cnVlLCJQcm9qZWN0Tk8iOiIwMDAwMDAiLCJVc2VySUQiOiJIMjAxMTM1NyIsIk1vZGUiOjB9</StartArguments> |
11 | 12 |
<StartAction>Project</StartAction> |
12 | 13 |
</PropertyGroup> |
14 |
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> |
|
15 |
<StartArguments>eyJEb2N1bWVudEl0ZW1JRCI6IjQwMDAwMDU3IiwiYlBhcnRuZXIiOmZhbHNlLCJDcmVhdGVGaW5hbFBERlBlcm1pc3Npb24iOnRydWUsIk5ld0NvbW1lbnRQZXJtaXNzaW9uIjp0cnVlLCJQcm9qZWN0Tk8iOiIwMDAwMDAiLCJVc2VySUQiOiJIMjAwOTExNSIsIk1vZGUiOjB9</StartArguments> |
|
16 |
</PropertyGroup> |
|
13 | 17 |
</Project> |
KCOM/app.config | ||
---|---|---|
7 | 7 |
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
8 | 8 |
<section name="KCOM.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> |
9 | 9 |
</sectionGroup> |
10 |
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> |
|
11 |
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> |
|
10 | 12 |
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> |
11 |
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.3.1.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
|
12 | 13 |
</configSections> |
14 |
<startup> |
|
15 |
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" /> |
|
16 |
</startup> |
|
17 |
<log4net> |
|
18 |
<appender name="AdoNetAppender" type="log4net.Appender.AdoNetAppender"> |
|
19 |
<bufferSize value="100" /> |
|
20 |
<connectionType value="System.Data.SQLite.SQLiteConnection, System.Data.SQLite" /> |
|
21 |
<connectionString type="log4net.Util.PatternString" value="Data Source=%property{LogFilePath};Version=3;Synchronous=Off" /> |
|
22 |
<commandText value="INSERT INTO Log (Date, Level, Logger, Message, StackTrace) VALUES (@Date, @Level, @Logger, @Message, @StackTrace)" /> |
|
23 |
<parameter> |
|
24 |
<parameterName value="@Date" /> |
|
25 |
<dbType value="DateTime" /> |
|
26 |
<layout type="log4net.Layout.RawTimeStampLayout" /> |
|
27 |
</parameter> |
|
28 |
<parameter> |
|
29 |
<parameterName value="@Level" /> |
|
30 |
<dbType value="String" /> |
|
31 |
<layout type="log4net.Layout.PatternLayout"> |
|
32 |
<conversionPattern value="%level" /> |
|
33 |
</layout> |
|
34 |
</parameter> |
|
35 |
<parameter> |
|
36 |
<parameterName value="@Logger" /> |
|
37 |
<dbType value="String" /> |
|
38 |
<layout type="log4net.Layout.PatternLayout"> |
|
39 |
<conversionPattern value="%logger" /> |
|
40 |
</layout> |
|
41 |
</parameter> |
|
42 |
<parameter> |
|
43 |
<parameterName value="@Message" /> |
|
44 |
<dbType value="String" /> |
|
45 |
<layout type="log4net.Layout.PatternLayout"> |
|
46 |
<conversionPattern value="%message" /> |
|
47 |
</layout> |
|
48 |
</parameter> |
|
49 |
<parameter> |
|
50 |
<parameterName value="@StackTrace" /> |
|
51 |
<dbType value="String" /> |
|
52 |
<layout type="log4net.Layout.PatternLayout"> |
|
53 |
<conversionPattern value="%stacktrace" /> |
|
54 |
</layout> |
|
55 |
</parameter> |
|
56 |
</appender> |
|
57 |
<root> |
|
58 |
<level value="ALL" /> |
|
59 |
<appender-ref ref="AdoNetAppender" /> |
|
60 |
</root> |
|
61 |
</log4net> |
|
13 | 62 |
<runtime> |
14 | 63 |
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> |
15 | 64 |
<dependentAssembly> |
... | ... | |
26 | 75 |
</dependentAssembly> |
27 | 76 |
<dependentAssembly> |
28 | 77 |
<assemblyIdentity name="Telerik.Windows.Controls" publicKeyToken="5803cfa389c90ce7" culture="neutral" /> |
29 |
<bindingRedirect oldVersion="0.0.0.0-2017.3.1018.40" newVersion="2017.3.1018.40" />
|
|
78 |
<bindingRedirect oldVersion="0.0.0.0-2019.1.220.40" newVersion="2019.1.220.40" />
|
|
30 | 79 |
</dependentAssembly> |
31 | 80 |
<dependentAssembly> |
32 | 81 |
<assemblyIdentity name="Telerik.Windows.Data" publicKeyToken="5803cfa389c90ce7" culture="neutral" /> |
... | ... | |
40 | 89 |
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> |
41 | 90 |
<bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" /> |
42 | 91 |
</dependentAssembly> |
92 |
<dependentAssembly> |
|
93 |
<assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" culture="neutral" /> |
|
94 |
<bindingRedirect oldVersion="0.0.0.0-4.3.1.0" newVersion="4.3.1.0" /> |
|
95 |
</dependentAssembly> |
|
43 | 96 |
</assemblyBinding> |
44 | 97 |
</runtime> |
98 |
|
|
45 | 99 |
<userSettings> |
46 | 100 |
<KCOM.Properties.Settings> |
47 | 101 |
<setting name="BaseClientAddress" serializeAs="String"> |
... | ... | |
133 | 187 |
<parameter value="Data Source=.\SQLEXPRESS; Integrated Security=True; MultipleActiveResultSets=True" /> |
134 | 188 |
</parameters> |
135 | 189 |
</defaultConnectionFactory> |
190 |
<providers> |
|
191 |
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> |
|
192 |
<provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" /> |
|
193 |
</providers> |
|
136 | 194 |
</entityFramework> |
137 |
</configuration> |
|
195 |
|
|
196 |
<system.data> |
|
197 |
<DbProviderFactories> |
|
198 |
<remove invariant="System.Data.SQLite.EF6" /> |
|
199 |
<add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" /> |
|
200 |
<remove invariant="System.Data.SQLite" /><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /></DbProviderFactories> |
|
201 |
</system.data></configuration> |
KCOM/packages.config | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="utf-8"?> |
2 | 2 |
<packages> |
3 | 3 |
<package id="Bytescout.PDFExtractor" version="9.0.0.3095" targetFramework="net40" /> |
4 |
<package id="EntityFramework" version="4.3.1" targetFramework="net40" />
|
|
4 |
<package id="EntityFramework" version="6.2.0" targetFramework="net45" />
|
|
5 | 5 |
<package id="ICSharpCode.SharpZipLib.dll" version="0.85.4.369" targetFramework="net40" /> |
6 |
<package id="log4net" version="2.0.8" targetFramework="net45" /> |
|
6 | 7 |
<package id="Microsoft.Bcl" version="1.1.10" targetFramework="net40" requireReinstallation="true" /> |
7 | 8 |
<package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="net40" /> |
8 | 9 |
<package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="net40" /> |
... | ... | |
13 | 14 |
<package id="Rx-Main" version="1.0.11226" targetFramework="net40" /> |
14 | 15 |
<package id="Rxx" version="1.3.4451.33754" targetFramework="net40" /> |
15 | 16 |
<package id="Svg2Xaml" version="0.3.0.5" targetFramework="net45" /> |
17 |
<package id="System.Data.SQLite" version="1.0.110.0" targetFramework="net45" /> |
|
18 |
<package id="System.Data.SQLite.Core" version="1.0.110.0" targetFramework="net45" /> |
|
19 |
<package id="System.Data.SQLite.EF6" version="1.0.110.0" targetFramework="net45" /> |
|
20 |
<package id="System.Data.SQLite.Linq" version="1.0.110.0" targetFramework="net45" /> |
|
16 | 21 |
<package id="System.Windows.Interactivity.WPF" version="2.0.20525" targetFramework="net40" /> |
17 | 22 |
<package id="ToggleSwitch" version="1.1.2" targetFramework="net40" /> |
18 | 23 |
</packages> |
MARKUS.wxs | ||
---|---|---|
324 | 324 |
<Component Id="cmp1740A3550A865AACFD9E0F1551A7B3FF" Directory="INSTALLFOLDER" Guid="928E5BBF-790A-41CE-8373-6CA1BCABAD1B" Win64='yes'> |
325 | 325 |
<File Id="filC0040D2E5073284B85874B040079DC1C" KeyPath="yes" Source=".\Setup\TG_SwigDbMgd.dll" /> |
326 | 326 |
</Component> |
327 |
<Component Id="cmpF5FBD3938B844D06B2BB93F3C8E9735D" Directory="INSTALLFOLDER" Guid="972720D3-9F4E-4115-A867-D428DFFE9C00" Win64='yes'> |
|
328 |
<File Id="fil05D02B4AA1454B0BAAB715EC9DC4EA20" KeyPath="yes" Source=".\Setup\log4net.dll" /> |
|
329 |
</Component> |
|
330 |
<Component Id="cmp37D5E19B77924243BEC481CD72D30220" Directory="INSTALLFOLDER" Guid="FA4A1FA4-2393-4D7D-8C07-2012A751E1F5" Win64='yes'> |
|
331 |
<File Id="fil075399F2785342059E7C4C2B7872DA85" KeyPath="yes" Source=".\Setup\log4net.xml" /> |
|
332 |
</Component> |
|
333 |
<Component Id="cmpF187B9086CF14C36BDBD3C0DE1C638C3" Directory="INSTALLFOLDER" Guid="89E15C73-8F9B-4308-83EE-B35766DB54D2" Win64='yes'> |
|
334 |
<File Id="filE16E5C37CA1646DB833466207DAA438F" KeyPath="yes" Source=".\Setup\System.Data.SQLite.dll" /> |
|
335 |
</Component> |
|
336 |
<Component Id="cmp23D2D49DF6C44A029D1A2AB241AC5A70" Directory="INSTALLFOLDER" Guid="9879429A-61B9-4EF5-9BB0-2C71A34543AF" Win64='yes'> |
|
337 |
<File Id="filEABB54BD3D0148B59040DE16589206A3" KeyPath="yes" Source=".\Setup\System.Data.SQLite.EF6.dll" /> |
|
338 |
</Component> |
|
339 |
<Component Id="cmp068D509157D54D23A542123CE71B5374" Directory="INSTALLFOLDER" Guid="1F5C3864-2808-4315-A408-1E9FDA733621" Win64='yes'> |
|
340 |
<File Id="fil89495469897C42868399E2A1D1CE119F" KeyPath="yes" Source=".\Setup\System.Data.SQLite.Linq.dll" /> |
|
341 |
</Component> |
|
327 | 342 |
</ComponentGroup> |
328 | 343 |
</Fragment> |
329 | 344 |
</Wix> |
MarkupToPDF/bin/x64/Debug/KCOMDataModel.dll.config | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?>
|
|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 | 2 |
<configuration> |
3 | 3 |
<configSections> |
4 | 4 |
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> |
... | ... | |
9 | 9 |
</configSections> |
10 | 10 |
<connectionStrings> |
11 | 11 |
<add name="KCOMEntities" |
12 |
connectionString="metadata=res://*/DataModel.KCOM_Model.csdl|res://*/DataModel.KCOM_Model.ssdl|res://*/DataModel.KCOM_Model.msl;provider=System.Data.SqlClient;provider connection string="data source=cloud.devdoftech.co.kr,7777;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;application name=EntityFramework"" |
|
12 |
connectionString="metadata=res://*/DataModel.KCOM_Model.csdl|res://*/DataModel.KCOM_Model.ssdl|res://*/DataModel.KCOM_Model.msl;provider=System.Data.SqlClient;provider connection string="data source=cloud.devdoftech.co.kr,7777;initial catalog=markus;persist security info=True;user id=doftech;password=dof1073#;multipleactiveresultsets=True;application name=EntityFramework""
|
|
13 | 13 |
providerName="System.Data.EntityClient" /> |
14 | 14 |
<add name="CIEntities" |
15 | 15 |
connectionString="metadata=res://*/DataModel.CIModel.csdl|res://*/DataModel.CIModel.ssdl|res://*/DataModel.CIModel.msl;provider=System.Data.SqlClient;provider connection string="data source=cloud.devdoftech.co.kr,7777;initial catalog=markus;user id=doftech;password=dof1073#;MultipleActiveResultSets=True;App=EntityFramework"" |
... | ... | |
36 | 36 |
</setting> |
37 | 37 |
</KCOMDataModel.Properties.Settings> |
38 | 38 |
</applicationSettings> |
39 |
</configuration> |
|
39 |
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration> |
MarkupToPDF/bin/x64/Debug/MarkupToPDF.dll.config | ||
---|---|---|
12 | 12 |
<entityFramework> |
13 | 13 |
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"/> |
14 | 14 |
</entityFramework> |
15 |
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup><system.serviceModel>
|
|
15 |
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup><system.serviceModel>
|
|
16 | 16 |
<bindings> |
17 | 17 |
<basicHttpBinding> |
18 |
<binding name="DeepViewPoint" />
|
|
18 |
<binding name="DeepViewPoint"/> |
|
19 | 19 |
</basicHttpBinding> |
20 | 20 |
</bindings> |
21 | 21 |
<client> |
22 |
<endpoint address="http://localhost:13009/ServiceDeepView.svc" |
|
23 |
binding="basicHttpBinding" bindingConfiguration="DeepViewPoint" |
|
24 |
contract="markus_api.ServiceDeepView" name="DeepViewPoint" /> |
|
22 |
<endpoint address="http://localhost:13009/ServiceDeepView.svc" binding="basicHttpBinding" bindingConfiguration="DeepViewPoint" contract="markus_api.ServiceDeepView" name="DeepViewPoint"/> |
|
25 | 23 |
</client> |
26 | 24 |
</system.serviceModel> |
27 | 25 |
</configuration> |
packages/EntityFramework.4.3.1/Content/App.config.transform | ||
---|---|---|
1 |
<configuration> |
|
2 |
<configSections> |
|
3 |
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> |
|
4 |
</configSections> |
|
5 |
</configuration> |
packages/EntityFramework.4.3.1/Content/Web.config.transform | ||
---|---|---|
1 |
<configuration> |
|
2 |
<configSections> |
|
3 |
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> |
|
4 |
</configSections> |
|
5 |
</configuration> |
packages/EntityFramework.4.3.1/lib/net40/EntityFramework.xml | ||
---|---|---|
1 |
<?xml version="1.0"?> |
|
2 |
<doc> |
|
3 |
<assembly> |
|
4 |
<name>EntityFramework</name> |
|
5 |
</assembly> |
|
6 |
<members> |
|
7 |
<member name="T:System.Data.Entity.ModelConfiguration.Conventions.DecimalPropertyConvention"> |
|
8 |
<summary> |
|
9 |
Convention to set precision to 18 and scale to 2 for decimal properties. |
|
10 |
</summary> |
|
11 |
</member> |
|
12 |
<member name="T:System.Data.Entity.ModelConfiguration.Conventions.IConvention"> |
|
13 |
<summary> |
|
14 |
Identifies conventions that can be removed from a <see cref="T:System.Data.Entity.DbModelBuilder"/> instance. |
|
15 |
</summary> |
|
16 |
<remarks> |
|
17 |
Note that implementations of this interface must be immutable. |
|
18 |
</remarks> |
|
19 |
</member> |
|
20 |
<member name="T:System.Data.Entity.ModelConfiguration.Conventions.DatabaseGeneratedAttributeConvention"> |
|
21 |
<summary> |
|
22 |
Convention to process instances of <see cref="T:System.ComponentModel.DataAnnotations.DatabaseGeneratedAttribute"/> found on properties in the model. |
|
23 |
</summary> |
|
24 |
</member> |
|
25 |
<member name="T:System.Data.Entity.ModelConfiguration.Conventions.AttributeConfigurationConvention`3"> |
|
26 |
<summary> |
|
27 |
Base class for conventions that process CLR attributes found in the model. |
|
28 |
</summary> |
|
29 |
<typeparam name = "TMemberInfo">The type of member to look for.</typeparam> |
|
30 |
<typeparam name = "TConfiguration">The type of the configuration to look for.</typeparam> |
|
31 |
<typeparam name = "TAttribute">The type of the attribute to look for.</typeparam> |
|
32 |
</member> |
|
33 |
<member name="T:System.Data.Entity.ModelConfiguration.Conventions.ConcurrencyCheckAttributeConvention"> |
|
34 |
<summary> |
|
35 |
Convention to process instances of <see cref="T:System.ComponentModel.DataAnnotations.ConcurrencyCheckAttribute"/> found on properties in the model. |
|
36 |
</summary> |
|
37 |
</member> |
|
38 |
<member name="T:System.Data.Entity.ModelConfiguration.Configuration.ManyToManyNavigationPropertyConfiguration"> |
|
39 |
<summary> |
|
40 |
Configures a many:many relationship. |
|
41 |
This configuration functionality is available via the Code First Fluent API, see <see cref="T:System.Data.Entity.DbModelBuilder"/>. |
|
42 |
</summary> |
|
43 |
</member> |
|
44 |
<member name="M:System.Data.Entity.ModelConfiguration.Configuration.ManyToManyNavigationPropertyConfiguration.Map(System.Action{System.Data.Entity.ModelConfiguration.Configuration.ManyToManyAssociationMappingConfiguration})"> |
|
45 |
<summary> |
|
46 |
Configures the foreign key column(s) and table used to store the relationship. |
|
47 |
</summary> |
|
48 |
<param name = "configurationAction">Action that configures the foreign key column(s) and table.</param> |
|
49 |
</member> |
|
50 |
<member name="T:System.Data.Entity.Internal.Validation.ComplexTypeValidator"> |
|
51 |
<summary> |
|
52 |
Validator used to validate a property of a given EDM ComplexType. |
|
53 |
</summary> |
|
54 |
<remarks> |
|
55 |
This is a composite validator. |
|
56 |
</remarks> |
|
57 |
</member> |
|
58 |
<member name="T:System.Data.Entity.Internal.Validation.TypeValidator"> |
|
59 |
<summary> |
|
60 |
Validator used to validate an entity of a given EDM Type. |
|
61 |
</summary> |
|
62 |
<remarks> |
|
63 |
This is a composite validator for an EDM Type. |
|
64 |
</remarks> |
|
65 |
</member> |
|
66 |
<member name="M:System.Data.Entity.Internal.Validation.TypeValidator.#ctor(System.Collections.Generic.IEnumerable{System.Data.Entity.Internal.Validation.PropertyValidator},System.Collections.Generic.IEnumerable{System.Data.Entity.Internal.Validation.IValidator})"> |
|
67 |
<summary> |
|
68 |
Creates an instance <see cref="T:System.Data.Entity.Internal.Validation.EntityValidator"/> for a given EDM type. |
|
69 |
</summary> |
|
70 |
<param name="propertyValidators">Property validators.</param> |
|
71 |
<param name="typeLevelValidators">Type level validators.</param> |
|
72 |
</member> |
|
73 |
<member name="M:System.Data.Entity.Internal.Validation.TypeValidator.Validate(System.Data.Entity.Internal.Validation.EntityValidationContext,System.Data.Entity.Internal.InternalPropertyEntry)"> |
|
74 |
<summary> |
|
75 |
Validates an instance. |
|
76 |
</summary> |
|
77 |
<param name="entityValidationContext">Entity validation context. Must not be null.</param> |
|
78 |
<param name="property">The entry for the complex property. Null if validating an entity.</param> |
|
79 |
<returns><see cref="T:System.Data.Entity.Validation.DbEntityValidationResult"/> instance. Never null.</returns> |
|
80 |
<remarks> |
|
81 |
Protected so it doesn't appear on EntityValidator. |
|
82 |
</remarks> |
|
83 |
</member> |
|
84 |
<member name="M:System.Data.Entity.Internal.Validation.TypeValidator.ValidateProperties(System.Data.Entity.Internal.Validation.EntityValidationContext,System.Data.Entity.Internal.InternalPropertyEntry,System.Collections.Generic.List{System.Data.Entity.Validation.DbValidationError})"> |
|
85 |
<summary> |
|
86 |
Validates type properties. Any validation errors will be added to <paramref name = "validationErrors" /> |
|
87 |
collection. |
|
88 |
</summary> |
|
89 |
<param name = "entityValidationContext"> |
|
90 |
Validation context. Must not be null. |
|
91 |
</param> |
|
92 |
<param name = "validationErrors"> |
|
93 |
Collection of validation errors. Any validation errors will be added to it. |
|
94 |
</param> |
|
95 |
<param name = "parentProperty">The entry for the complex property. Null if validating an entity.</param> |
|
96 |
<remarks> |
|
97 |
Note that <paramref name = "validationErrors" /> will be modified by this method. Errors should be only added, |
|
98 |
never removed or changed. Taking a collection as a modifiable parameter saves a couple of memory allocations |
|
99 |
and a merge of validation error lists per entity. |
|
100 |
</remarks> |
|
101 |
</member> |
|
102 |
<member name="M:System.Data.Entity.Internal.Validation.TypeValidator.GetPropertyValidator(System.String)"> |
|
103 |
<summary> |
|
104 |
Returns a validator for a child property. |
|
105 |
</summary> |
|
106 |
<param name = "propertyName">Name of the child property for which to return a validator.</param> |
|
107 |
<returns> |
|
108 |
Validator for a child property. Possibly null if there are no validators for requested property. |
|
109 |
</returns> |
|
110 |
</member> |
|
111 |
<member name="M:System.Data.Entity.Internal.Validation.ComplexTypeValidator.#ctor(System.Collections.Generic.IEnumerable{System.Data.Entity.Internal.Validation.PropertyValidator},System.Collections.Generic.IEnumerable{System.Data.Entity.Internal.Validation.IValidator})"> |
|
112 |
<summary> |
|
113 |
Creates an instance <see cref="T:System.Data.Entity.Internal.Validation.EntityValidator"/> for a given EDM complex type. |
|
114 |
</summary> |
|
115 |
<param name="propertyValidators">Property validators.</param> |
|
116 |
<param name="typeLevelValidators">Type level validators.</param> |
|
117 |
</member> |
|
118 |
<member name="M:System.Data.Entity.Internal.Validation.ComplexTypeValidator.Validate(System.Data.Entity.Internal.Validation.EntityValidationContext,System.Data.Entity.Internal.InternalPropertyEntry)"> |
|
119 |
<summary> |
|
120 |
Validates an instance. |
|
121 |
</summary> |
|
122 |
<param name="entityValidationContext">Entity validation context. Must not be null.</param> |
|
123 |
<param name="property">The entry for the complex property. Null if validating an entity.</param> |
|
124 |
<returns><see cref="T:System.Data.Entity.Validation.DbEntityValidationResult"/> instance. Never null.</returns> |
|
125 |
</member> |
|
126 |
<member name="M:System.Data.Entity.Internal.Validation.ComplexTypeValidator.ValidateProperties(System.Data.Entity.Internal.Validation.EntityValidationContext,System.Data.Entity.Internal.InternalPropertyEntry,System.Collections.Generic.List{System.Data.Entity.Validation.DbValidationError})"> |
|
127 |
<summary> |
|
128 |
Validates type properties. Any validation errors will be added to <paramref name = "validationErrors" /> |
|
129 |
collection. |
|
130 |
</summary> |
|
131 |
<param name = "entityValidationContext"> |
|
132 |
Validation context. Must not be null. |
|
133 |
</param> |
|
134 |
<param name = "validationErrors"> |
|
135 |
Collection of validation errors. Any validation errors will be added to it. |
|
136 |
</param> |
|
137 |
<param name = "parentProperty">The entry for the complex property. Null if validating an entity.</param> |
|
138 |
<remarks> |
|
139 |
Note that <paramref name = "validationErrors" /> will be modified by this method. Errors should be only added, |
|
140 |
never removed or changed. Taking a collection as a modifiable parameter saves a couple of memory allocations |
|
141 |
and a merge of validation error lists per entity. |
|
142 |
</remarks> |
|
143 |
</member> |
|
144 |
<member name="T:System.Data.Entity.Internal.RetryLazy`2"> |
|
145 |
<summary> |
|
146 |
Adapted from <see cref="T:System.Lazy`1"/> to allow the initializer to take an input object and |
|
147 |
to retry initialization if it has previously failed. |
|
148 |
</summary> |
|
149 |
<remarks> |
|
150 |
This class can only be used to initialize reference types that will not be null when |
|
151 |
initialized. |
|
152 |
</remarks> |
|
153 |
<typeparam name="TInput">The type of the input.</typeparam> |
|
154 |
<typeparam name="TResult">The type of the result.</typeparam> |
|
155 |
</member> |
|
156 |
<member name="M:System.Data.Entity.Internal.RetryLazy`2.#ctor(System.Func{`0,`1})"> |
|
157 |
<summary> |
|
158 |
Initializes a new instance of the <see cref="T:System.Data.Entity.Internal.RetryLazy`2"/> class. |
|
159 |
</summary> |
|
160 |
<param name="valueFactory">The value factory.</param> |
|
161 |
</member> |
|
162 |
<member name="M:System.Data.Entity.Internal.RetryLazy`2.GetValue(`0)"> |
|
163 |
<summary> |
|
164 |
Gets the value, possibly by running the initializer if it has not been run before or |
|
165 |
if all previous times it ran resulted in exceptions. |
|
166 |
</summary> |
|
167 |
<param name = "input">The input to the initializer; ignored if initialization has already succeeded.</param> |
|
168 |
<returns>The initialized object.</returns> |
|
169 |
</member> |
|
170 |
<member name="T:System.Data.Entity.Internal.Linq.NonGenericDbQueryProvider"> |
|
171 |
<summary> |
|
172 |
A wrapping query provider that performs expression transformation and then delegates |
|
173 |
to the <see cref="T:System.Data.Objects.ObjectQuery"/> provider. The <see cref="T:System.Linq.IQueryable"/> objects returned |
|
174 |
are always instances of <see cref="T:System.Data.Entity.Infrastructure.DbQuery`1"/> when the generic CreateQuery method is |
|
175 |
used and are instances of <see cref="T:System.Data.Entity.Infrastructure.DbQuery"/> when the non-generic CreateQuery method |
|
176 |
is used. This provider is associated with non-generic <see cref="T:System.Data.Entity.Infrastructure.DbQuery"/> objects. |
|
177 |
</summary> |
|
178 |
</member> |
|
179 |
<member name="T:System.Data.Entity.Internal.Linq.DbQueryProvider"> |
|
180 |
<summary> |
|
181 |
A wrapping query provider that performs expression transformation and then delegates |
|
182 |
to the <see cref="T:System.Data.Objects.ObjectQuery"/> provider. The <see cref="T:System.Linq.IQueryable"/> objects returned are always instances |
|
183 |
of <see cref="T:System.Data.Entity.Infrastructure.DbQuery`1"/>. This provider is associated with generic <see cref="T:System.Data.Entity.Infrastructure.DbQuery`1"/> objects. |
|
184 |
</summary> |
|
185 |
</member> |
|
186 |
<member name="M:System.Data.Entity.Internal.Linq.DbQueryProvider.#ctor(System.Data.Entity.Internal.InternalContext,System.Linq.IQueryProvider)"> |
|
187 |
<summary> |
|
188 |
Creates a provider that wraps the given provider. |
|
189 |
</summary> |
|
190 |
<param name = "provider">The provider to wrap.</param> |
|
191 |
</member> |
|
192 |
<member name="M:System.Data.Entity.Internal.Linq.DbQueryProvider.CreateQuery``1(System.Linq.Expressions.Expression)"> |
|
193 |
<summary> |
|
194 |
Performs expression replacement and then delegates to the wrapped provider before wrapping |
|
195 |
the returned <see cref="T:System.Data.Objects.ObjectQuery"/> as a <see cref="T:System.Data.Entity.Infrastructure.DbQuery`1"/>. |
|
196 |
</summary> |
|
197 |
</member> |
|
198 |
<member name="M:System.Data.Entity.Internal.Linq.DbQueryProvider.CreateQuery(System.Linq.Expressions.Expression)"> |
|
199 |
<summary> |
|
200 |
Performs expression replacement and then delegates to the wrapped provider before wrapping |
|
201 |
the returned <see cref="T:System.Data.Objects.ObjectQuery"/> as a <see cref="T:System.Data.Entity.Infrastructure.DbQuery`1"/> where T is determined |
|
202 |
from the element type of the ObjectQuery. |
|
203 |
</summary> |
|
204 |
</member> |
|
205 |
<member name="M:System.Data.Entity.Internal.Linq.DbQueryProvider.Execute``1(System.Linq.Expressions.Expression)"> |
|
206 |
<summary> |
|
207 |
By default, calls the same method on the wrapped provider. |
|
208 |
</summary> |
|
209 |
</member> |
|
210 |
<member name="M:System.Data.Entity.Internal.Linq.DbQueryProvider.Execute(System.Linq.Expressions.Expression)"> |
|
211 |
<summary> |
|
212 |
By default, calls the same method on the wrapped provider. |
|
213 |
</summary> |
|
214 |
</member> |
|
215 |
<member name="M:System.Data.Entity.Internal.Linq.DbQueryProvider.CreateObjectQuery(System.Linq.Expressions.Expression)"> |
|
216 |
<summary> |
|
217 |
Performs expression replacement and then delegates to the wrapped provider to create an |
|
218 |
<see cref="T:System.Data.Objects.ObjectQuery"/>. |
|
219 |
</summary> |
|
220 |
</member> |
|
221 |
<member name="M:System.Data.Entity.Internal.Linq.DbQueryProvider.CreateInternalQuery(System.Data.Objects.ObjectQuery)"> |
|
222 |
<summary> |
|
223 |
Wraps the given <see cref="T:System.Data.Objects.ObjectQuery"/> as a <see cref="T:System.Data.Entity.Internal.Linq.InternalQuery`1"/> where T is determined |
|
224 |
from the element type of the ObjectQuery. |
|
225 |
</summary> |
|
226 |
</member> |
|
227 |
<member name="P:System.Data.Entity.Internal.Linq.DbQueryProvider.InternalContext"> |
|
228 |
<summary> |
|
229 |
Gets the internal context. |
|
230 |
</summary> |
|
231 |
<value>The internal context.</value> |
|
232 |
</member> |
|
233 |
<member name="M:System.Data.Entity.Internal.Linq.NonGenericDbQueryProvider.#ctor(System.Data.Entity.Internal.InternalContext,System.Linq.IQueryProvider)"> |
|
234 |
<summary> |
|
235 |
Creates a provider that wraps the given provider. |
|
236 |
</summary> |
|
237 |
<param name = "provider">The provider to wrap.</param> |
|
238 |
</member> |
|
239 |
<member name="M:System.Data.Entity.Internal.Linq.NonGenericDbQueryProvider.CreateQuery``1(System.Linq.Expressions.Expression)"> |
|
240 |
<summary> |
|
241 |
Performs expression replacement and then delegates to the wrapped provider before wrapping |
|
242 |
the returned <see cref="T:System.Data.Objects.ObjectQuery"/> as a <see cref="T:System.Data.Entity.Infrastructure.DbQuery"/>. |
|
243 |
</summary> |
|
244 |
</member> |
|
245 |
<member name="M:System.Data.Entity.Internal.Linq.NonGenericDbQueryProvider.CreateQuery(System.Linq.Expressions.Expression)"> |
|
246 |
<summary> |
|
247 |
Delegates to the wrapped provider except returns instances of <see cref="T:System.Data.Entity.Infrastructure.DbQuery"/>. |
|
248 |
</summary> |
|
249 |
</member> |
|
250 |
<member name="T:System.Data.Entity.Internal.Linq.InternalQuery`1"> |
|
251 |
<summary> |
|
252 |
An InternalQuery underlies every instance of DbSet and DbQuery. It acts to lazily initialize a InternalContext as well |
|
253 |
as an ObjectQuery and EntitySet the first time that it is used. The InternalQuery also acts to expose necessary |
|
254 |
information to other parts of the design in a controlled manner without adding a lot of internal methods and |
|
255 |
properties to the DbSet and DbQuery classes themselves. |
|
256 |
</summary> |
|
257 |
<typeparam name = "TElement">The type of entity to query for.</typeparam> |
|
258 |
</member> |
|
259 |
<member name="T:System.Data.Entity.Internal.Linq.IInternalQuery`1"> |
|
260 |
<summary> |
|
261 |
An interface implemented by <see cref="T:System.Data.Entity.Internal.Linq.InternalQuery`1"/>. |
|
262 |
</summary> |
|
263 |
<typeparam name="TElement">The type of the element.</typeparam> |
|
264 |
</member> |
|
265 |
<member name="T:System.Data.Entity.Internal.Linq.IInternalQuery"> |
|
266 |
<summary> |
|
267 |
A non-generic interface implemented by <see cref="T:System.Data.Entity.Internal.Linq.InternalQuery`1"/> that allows operations on |
|
268 |
any query object without knowing the type to which it applies. |
|
269 |
</summary> |
|
270 |
</member> |
|
271 |
<member name="M:System.Data.Entity.Internal.Linq.InternalQuery`1.#ctor(System.Data.Entity.Internal.InternalContext)"> |
|
272 |
<summary> |
|
273 |
Creates a new query that will be backed by the given InternalContext. |
|
274 |
</summary> |
|
275 |
<param name = "internalContext">The backing context.</param> |
|
276 |
</member> |
|
277 |
<member name="M:System.Data.Entity.Internal.Linq.InternalQuery`1.#ctor(System.Data.Entity.Internal.InternalContext,System.Data.Objects.ObjectQuery)"> |
|
278 |
<summary> |
|
279 |
Creates a new internal query based on the information in an existing query together with |
|
280 |
a new underlying ObjectQuery. |
|
281 |
</summary> |
|
282 |
</member> |
|
283 |
<member name="M:System.Data.Entity.Internal.Linq.InternalQuery`1.ResetQuery"> |
|
284 |
<summary> |
|
285 |
Resets the query to its uninitialized state so that it will be re-lazy initialized the next |
|
286 |
time it is used. This allows the ObjectContext backing a DbContext to be switched out. |
|
287 |
</summary> |
|
288 |
</member> |
|
289 |
<member name="M:System.Data.Entity.Internal.Linq.InternalQuery`1.Include(System.String)"> |
|
290 |
<summary> |
|
291 |
Updates the underlying ObjectQuery with the given include path. |
|
292 |
</summary> |
|
293 |
<param name = "path">The include path.</param> |
|
294 |
<returns>A new query containing the defined include path.</returns> |
|
295 |
</member> |
|
296 |
<member name="M:System.Data.Entity.Internal.Linq.InternalQuery`1.AsNoTracking"> |
|
297 |
<summary> |
|
298 |
Returns a new query where the entities returned will not be cached in the <see cref="T:System.Data.Entity.DbContext"/>. |
|
299 |
</summary> |
|
300 |
<returns> A new query with NoTracking applied.</returns> |
|
301 |
</member> |
|
302 |
<member name="M:System.Data.Entity.Internal.Linq.InternalQuery`1.InitializeQuery(System.Data.Objects.ObjectQuery{`0})"> |
|
303 |
<summary> |
|
304 |
Performs lazy initialization of the underlying ObjectContext, ObjectQuery, and EntitySet objects |
|
305 |
so that the query can be used. |
|
306 |
</summary> |
|
307 |
</member> |
|
308 |
<member name="M:System.Data.Entity.Internal.Linq.InternalQuery`1.ToString"> |
|
309 |
<summary> |
|
310 |
Returns a <see cref="T:System.String"/> representation of the underlying query, equivalent |
|
311 |
to ToTraceString on ObjectQuery. |
|
312 |
</summary> |
|
313 |
<returns> |
|
314 |
The query string. |
|
315 |
</returns> |
|
316 |
</member> |
|
317 |
<member name="M:System.Data.Entity.Internal.Linq.InternalQuery`1.GetEnumerator"> |
|
318 |
<summary> |
|
319 |
Gets the enumeration of this query causing it to be executed against the store. |
|
320 |
</summary> |
|
321 |
<returns>An enumerator for the query</returns> |
|
322 |
</member> |
|
323 |
<member name="M:System.Data.Entity.Internal.Linq.InternalQuery`1.System#Data#Entity#Internal#Linq#IInternalQuery#GetEnumerator"> |
|
324 |
<summary> |
|
325 |
Gets the enumeration of this query causing it to be executed against the store. |
|
326 |
</summary> |
|
327 |
<returns>An enumerator for the query</returns> |
|
328 |
</member> |
|
329 |
<member name="P:System.Data.Entity.Internal.Linq.InternalQuery`1.InternalContext"> |
|
330 |
<summary> |
|
331 |
The underlying InternalContext. |
|
332 |
</summary> |
|
333 |
</member> |
|
334 |
<member name="P:System.Data.Entity.Internal.Linq.InternalQuery`1.ObjectQuery"> |
|
335 |
<summary> |
|
336 |
The underlying ObjectQuery. |
|
337 |
</summary> |
|
338 |
</member> |
|
339 |
<member name="P:System.Data.Entity.Internal.Linq.InternalQuery`1.System#Data#Entity#Internal#Linq#IInternalQuery#ObjectQuery"> |
|
340 |
<summary> |
|
341 |
The underlying ObjectQuery. |
|
342 |
</summary> |
|
343 |
</member> |
|
344 |
<member name="P:System.Data.Entity.Internal.Linq.InternalQuery`1.Expression"> |
|
345 |
<summary> |
|
346 |
The LINQ query expression. |
|
347 |
</summary> |
|
348 |
</member> |
|
349 |
<member name="P:System.Data.Entity.Internal.Linq.InternalQuery`1.ObjectQueryProvider"> |
|
350 |
<summary> |
|
351 |
The LINQ query provider for the underlying <see cref="P:System.Data.Entity.Internal.Linq.InternalQuery`1.ObjectQuery"/>. |
|
352 |
</summary> |
|
353 |
</member> |
|
354 |
<member name="P:System.Data.Entity.Internal.Linq.InternalQuery`1.ElementType"> |
|
355 |
<summary> |
|
356 |
The IQueryable element type. |
|
357 |
</summary> |
|
358 |
</member> |
|
359 |
<member name="T:System.Data.Entity.Internal.InternalSqlSetQuery"> |
|
360 |
<summary> |
|
361 |
Represents a raw SQL query against the context for entities in an entity set. |
|
362 |
</summary> |
|
363 |
</member> |
|
364 |
<member name="T:System.Data.Entity.Internal.InternalSqlQuery"> |
|
365 |
<summary> |
|
366 |
Represents a raw SQL query against the context that may be for entities in an entity set |
|
367 |
or for some other non-entity element type. |
|
368 |
</summary> |
|
369 |
</member> |
|
370 |
<member name="M:System.Data.Entity.Internal.InternalSqlQuery.#ctor(System.String,System.Object[])"> |
|
371 |
<summary> |
|
372 |
Initializes a new instance of the <see cref="T:System.Data.Entity.Internal.InternalSqlQuery"/> class. |
|
373 |
</summary> |
|
374 |
<param name="sql">The SQL.</param> |
|
375 |
<param name="parameters">The parameters.</param> |
|
376 |
</member> |
|
377 |
<member name="M:System.Data.Entity.Internal.InternalSqlQuery.AsNoTracking"> |
|
378 |
<summary> |
|
379 |
If the query is would track entities, then this method returns a new query that will |
|
380 |
not track entities. |
|
381 |
</summary> |
|
382 |
<returns>A no-tracking query.</returns> |
|
383 |
</member> |
|
384 |
<member name="M:System.Data.Entity.Internal.InternalSqlQuery.GetEnumerator"> |
|
385 |
<summary> |
|
386 |
Executes the query and returns an enumerator for the results. |
|
387 |
</summary> |
|
388 |
<returns>The query results.</returns> |
|
389 |
</member> |
|
390 |
<member name="M:System.Data.Entity.Internal.InternalSqlQuery.GetList"> |
|
391 |
<summary> |
|
392 |
Throws an exception indicating that binding directly to a store query is not supported. |
|
393 |
</summary> |
|
394 |
<returns> |
|
395 |
Never returns; always throws. |
|
396 |
</returns> |
|
397 |
</member> |
|
398 |
<member name="M:System.Data.Entity.Internal.InternalSqlQuery.ToString"> |
|
399 |
<summary> |
|
400 |
Returns a <see cref="T:System.String"/> that contains the SQL string that was set |
|
401 |
when the query was created. The parameters are not included. |
|
402 |
</summary> |
|
403 |
<returns> |
|
404 |
A <see cref="T:System.String"/> that represents this instance. |
|
405 |
</returns> |
|
406 |
</member> |
|
407 |
<member name="P:System.Data.Entity.Internal.InternalSqlQuery.Sql"> |
|
408 |
<summary> |
|
409 |
Gets the SQL query string, |
|
410 |
</summary> |
|
411 |
<value>The SQL query.</value> |
|
412 |
</member> |
|
413 |
<member name="P:System.Data.Entity.Internal.InternalSqlQuery.Parameters"> |
|
414 |
<summary> |
|
415 |
Gets the parameters. |
|
416 |
</summary> |
|
417 |
<value>The parameters.</value> |
|
418 |
</member> |
|
419 |
<member name="P:System.Data.Entity.Internal.InternalSqlQuery.ContainsListCollection"> |
|
420 |
<summary> |
|
421 |
Returns <c>false</c>. |
|
422 |
</summary> |
|
423 |
<returns><c>false</c>.</returns> |
|
424 |
</member> |
|
425 |
<member name="M:System.Data.Entity.Internal.InternalSqlSetQuery.#ctor(System.Data.Entity.Internal.Linq.IInternalSet,System.String,System.Boolean,System.Object[])"> |
|
426 |
<summary> |
|
427 |
Initializes a new instance of the <see cref="T:System.Data.Entity.Internal.InternalSqlSetQuery"/> class. |
|
428 |
</summary> |
|
429 |
<param name="set">The set.</param> |
|
430 |
<param name="sql">The SQL.</param> |
|
431 |
<param name="isNoTracking">if set to <c>true</c> then the entities will not be tracked.</param> |
|
432 |
<param name="parameters">The parameters.</param> |
|
433 |
</member> |
|
434 |
<member name="M:System.Data.Entity.Internal.InternalSqlSetQuery.AsNoTracking"> |
|
435 |
<summary> |
|
436 |
If the query is would track entities, then this method returns a new query that will |
|
437 |
not track entities. |
|
438 |
</summary> |
|
439 |
<returns>A no-tracking query.</returns> |
|
440 |
</member> |
|
441 |
<member name="M:System.Data.Entity.Internal.InternalSqlSetQuery.GetEnumerator"> |
|
442 |
<summary> |
|
443 |
Executes the query and returns an enumerator for the results. |
|
444 |
</summary> |
|
445 |
<returns>The query results.</returns> |
|
446 |
</member> |
|
447 |
<member name="P:System.Data.Entity.Internal.InternalSqlSetQuery.IsNoTracking"> |
|
448 |
<summary> |
|
449 |
Gets a value indicating whether this instance is set to track entities or not. |
|
450 |
</summary> |
|
451 |
<value> |
|
452 |
<c>true</c> if this instance is no-tracking; otherwise, <c>false</c>. |
|
453 |
</value> |
|
454 |
</member> |
|
455 |
<member name="T:System.Data.Entity.Internal.IInternalConnection"> |
|
456 |
<summary> |
|
457 |
IInternalConnection objects manage DbConnections. |
|
458 |
Two concrete implementations of this interface exist--LazyInternalConnection and EagerInternalConnection. |
|
459 |
</summary> |
|
460 |
</member> |
|
461 |
<member name="M:System.Data.Entity.Internal.IInternalConnection.CreateObjectContextFromConnectionModel"> |
|
462 |
<summary> |
|
463 |
Creates an <see cref="T:System.Data.Objects.ObjectContext"/> from metadata in the connection. This method must |
|
464 |
only be called if ConnectionHasModel returns true. |
|
465 |
</summary> |
|
466 |
<returns>The newly created context.</returns> |
|
467 |
</member> |
|
468 |
<member name="P:System.Data.Entity.Internal.IInternalConnection.Connection"> |
|
469 |
<summary> |
|
470 |
Returns the underlying DbConnection. |
|
471 |
</summary> |
|
472 |
</member> |
|
473 |
<member name="P:System.Data.Entity.Internal.IInternalConnection.ConnectionKey"> |
|
474 |
<summary> |
|
475 |
Returns a key consisting of the connection type and connection string. |
|
476 |
If this is an EntityConnection then the metadata path is included in the key returned. |
|
477 |
</summary> |
|
478 |
</member> |
|
479 |
<member name="P:System.Data.Entity.Internal.IInternalConnection.ConnectionHasModel"> |
|
480 |
<summary> |
|
481 |
Gets a value indicating whether the connection is an EF connection which therefore contains |
|
482 |
metadata specifying the model, or instead is a store connection, in which case it contains no |
|
483 |
model info. |
|
484 |
</summary> |
|
485 |
<value><c>true</c> if the connection contains model info; otherwise, <c>false</c>.</value> |
|
486 |
</member> |
|
487 |
<member name="P:System.Data.Entity.Internal.IInternalConnection.ConnectionStringOrigin"> |
|
488 |
<summary> |
|
489 |
Returns the origin of the underlying connection string. |
|
490 |
</summary> |
|
491 |
</member> |
|
492 |
<member name="P:System.Data.Entity.Internal.IInternalConnection.AppConfig"> |
|
493 |
<summary> |
|
494 |
Gets or sets an object representing a config file used for looking for DefaultConnectionFactory entries |
|
495 |
and connection strins. |
|
496 |
</summary> |
|
497 |
</member> |
|
498 |
<member name="P:System.Data.Entity.Internal.IInternalConnection.ProviderName"> |
|
499 |
<summary> |
|
500 |
Gets or sets the provider to be used when creating the underlying connection. |
|
501 |
</summary> |
|
502 |
</member> |
|
503 |
<member name="P:System.Data.Entity.Internal.IInternalConnection.ConnectionStringName"> |
|
504 |
<summary> |
|
505 |
Gets the name of the underlying connection string. |
|
506 |
</summary> |
|
507 |
</member> |
|
508 |
<member name="P:System.Data.Entity.Internal.IInternalConnection.OriginalConnectionString"> |
|
509 |
<summary> |
|
510 |
Gets the original connection string. |
|
511 |
</summary> |
|
512 |
</member> |
|
513 |
<member name="T:System.Data.Entity.Internal.MemberEntryMetadata"> |
|
514 |
<summary> |
|
515 |
Contains metadata about a member of an entity type or complex type. |
|
516 |
</summary> |
|
517 |
</member> |
|
518 |
<member name="M:System.Data.Entity.Internal.MemberEntryMetadata.#ctor(System.Type,System.Type,System.String)"> |
|
519 |
<summary> |
|
520 |
Initializes a new instance of the <see cref="T:System.Data.Entity.Internal.MemberEntryMetadata"/> class. |
|
521 |
</summary> |
|
522 |
<param name="declaringType">The type that the property is declared on.</param> |
|
523 |
<param name="elementType">Type of the property.</param> |
|
524 |
<param name="memberName">The property name.</param> |
|
525 |
</member> |
|
526 |
<member name="M:System.Data.Entity.Internal.MemberEntryMetadata.CreateMemberEntry(System.Data.Entity.Internal.InternalEntityEntry,System.Data.Entity.Internal.InternalPropertyEntry)"> |
|
527 |
<summary> |
|
528 |
Creates a new <see cref="T:System.Data.Entity.Internal.InternalMemberEntry"/> the runtime type of which will be |
|
529 |
determined by the metadata. |
|
530 |
</summary> |
|
531 |
<param name="internalEntityEntry">The entity entry to which the member belongs.</param> |
|
532 |
<param name="parentPropertyEntry">The parent property entry if the new entry is nested, otherwise null.</param> |
|
533 |
<returns>The new entry.</returns> |
|
534 |
</member> |
|
535 |
<member name="P:System.Data.Entity.Internal.MemberEntryMetadata.MemberEntryType"> |
|
536 |
<summary> |
|
537 |
Gets the type of the member for which this is metadata. |
|
538 |
</summary> |
|
539 |
<value>The type of the member entry.</value> |
|
540 |
</member> |
|
541 |
<member name="P:System.Data.Entity.Internal.MemberEntryMetadata.MemberName"> |
|
542 |
<summary> |
|
543 |
Gets the name of the property. |
|
544 |
</summary> |
|
545 |
<value>The name.</value> |
|
546 |
</member> |
|
547 |
<member name="P:System.Data.Entity.Internal.MemberEntryMetadata.DeclaringType"> |
|
548 |
<summary> |
|
549 |
Gets the type of the entity or complex object that on which the member is declared. |
|
550 |
</summary> |
|
551 |
<value>The type that the member is declared on.</value> |
|
552 |
</member> |
|
553 |
<member name="P:System.Data.Entity.Internal.MemberEntryMetadata.ElementType"> |
|
554 |
<summary> |
|
555 |
Gets the type of element for the property, which for non-collection properties |
|
556 |
is the same as the MemberType and which for collection properties is the type |
|
557 |
of element contained in the collection. |
|
558 |
</summary> |
|
559 |
<value>The type of the element.</value> |
|
560 |
</member> |
|
561 |
<member name="P:System.Data.Entity.Internal.MemberEntryMetadata.MemberType"> |
|
562 |
<summary> |
|
563 |
Gets the type of the member, which for collection properties is the type |
|
564 |
of the collection rather than the type in the collection. |
|
565 |
</summary> |
|
566 |
<value>The type of the member.</value> |
|
567 |
</member> |
|
568 |
<member name="T:System.Data.Entity.Infrastructure.SqlCeConnectionFactory"> |
|
569 |
<summary> |
|
570 |
Instances of this class are used to create DbConnection objects for |
|
571 |
SQL Server Compact Edition based on a given database name or connection string. |
|
572 |
</summary> |
|
573 |
<remarks> |
|
574 |
It is necessary to provide the provider invariant name of the SQL Server Compact |
|
575 |
Edition to use when creating an instance of this class. This is because different |
|
576 |
versions of SQL Server Compact Editions use different invariant names. |
|
577 |
An instance of this class can be set on the <see cref="T:System.Data.Entity.Database"/> class to |
|
578 |
cause all DbContexts created with no connection information or just a database |
|
579 |
name or connection string to use SQL Server Compact Edition by default. |
|
580 |
This class is immutable since multiple threads may access instances simultaneously |
|
581 |
when creating connections. |
|
582 |
</remarks> |
|
583 |
</member> |
|
584 |
<member name="T:System.Data.Entity.Infrastructure.IDbConnectionFactory"> |
|
585 |
<summary> |
|
586 |
Implementations of this interface are used to create DbConnection objects for |
|
587 |
a type of database server based on a given database name. |
|
588 |
An Instance is set on the <see cref="T:System.Data.Entity.Database"/> class to |
|
589 |
cause all DbContexts created with no connection information or just a database |
|
590 |
name or connection string to use a certain type of database server by default. |
|
591 |
Two implementations of this interface are provided: <see cref="T:System.Data.Entity.Infrastructure.SqlConnectionFactory"/> |
|
592 |
is used to create connections to Microsoft SQL Server, including EXPRESS editions. |
|
593 |
<see cref="T:System.Data.Entity.Infrastructure.SqlCeConnectionFactory"/> is used to create connections to Microsoft SQL |
|
594 |
Server Compact Editions. |
|
595 |
Other implementations for other database servers can be added as needed. |
|
596 |
Note that implementations should be thread safe or immutable since they may |
|
597 |
be accessed by multiple threads at the same time. |
|
598 |
</summary> |
|
599 |
</member> |
|
600 |
<member name="M:System.Data.Entity.Infrastructure.IDbConnectionFactory.CreateConnection(System.String)"> |
|
601 |
<summary> |
|
602 |
Creates a connection based on the given database name or connection string. |
|
603 |
</summary> |
|
604 |
<param name = "nameOrConnectionString">The database name or connection string.</param> |
|
605 |
<returns>An initialized DbConnection.</returns> |
|
606 |
</member> |
|
607 |
<member name="M:System.Data.Entity.Infrastructure.SqlCeConnectionFactory.#ctor(System.String)"> |
|
608 |
<summary> |
|
609 |
Creates a new connection factory with empty (default) DatabaseDirectory and BaseConnectionString |
|
610 |
properties. |
|
611 |
</summary> |
|
612 |
<param name = "providerInvariantName">The provider invariant name that specifies the version of SQL Server Compact Edition that should be used.</param> |
|
613 |
</member> |
|
614 |
<member name="M:System.Data.Entity.Infrastructure.SqlCeConnectionFactory.#ctor(System.String,System.String,System.String)"> |
|
615 |
<summary> |
|
616 |
Creates a new connection factory with the given DatabaseDirectory and BaseConnectionString properties. |
|
617 |
</summary> |
|
618 |
<param name = "providerInvariantName"> |
|
619 |
The provider invariant name that specifies the version of SQL Server Compact Edition that should be used. |
|
620 |
</param> |
|
621 |
<param name = "databaseDirectory"> |
|
622 |
The path to prepend to the database name that will form the file name used by SQL Server Compact Edition |
|
623 |
when it creates or reads the database file. An empty string means that SQL Server Compact Edition will use |
|
624 |
its default for the database file location. |
|
625 |
</param> |
|
626 |
<param name = "baseConnectionString"> |
|
627 |
The connection string to use for options to the database other than the 'Data Source'. The Data Source will |
|
628 |
be prepended to this string based on the database name when CreateConnection is called. |
|
629 |
</param> |
|
630 |
</member> |
|
631 |
<member name="M:System.Data.Entity.Infrastructure.SqlCeConnectionFactory.CreateConnection(System.String)"> |
|
632 |
<summary> |
|
633 |
Creates a connection for SQL Server Compact Edition based on the given database name or connection string. |
|
634 |
If the given string contains an '=' character then it is treated as a full connection string, |
|
635 |
otherwise it is treated as a database name only. |
|
636 |
</summary> |
|
637 |
<param name = "nameOrConnectionString">The database name or connection string.</param> |
|
638 |
<returns>An initialized DbConnection.</returns> |
|
639 |
</member> |
|
640 |
<member name="P:System.Data.Entity.Infrastructure.SqlCeConnectionFactory.DatabaseDirectory"> |
|
641 |
<summary> |
|
642 |
The path to prepend to the database name that will form the file name used by |
|
643 |
SQL Server Compact Edition when it creates or reads the database file. |
|
644 |
The default value is "|DataDirectory|", which means the file will be placed |
|
645 |
in the designated data directory. |
|
646 |
</summary> |
|
647 |
</member> |
|
648 |
<member name="P:System.Data.Entity.Infrastructure.SqlCeConnectionFactory.BaseConnectionString"> |
|
649 |
<summary> |
|
650 |
The connection string to use for options to the database other than the 'Data Source'. |
|
651 |
The Data Source will be prepended to this string based on the database name when |
|
652 |
CreateConnection is called. |
|
653 |
The default is the empty string, which means no other options will be used. |
|
654 |
</summary> |
|
655 |
</member> |
|
656 |
<member name="P:System.Data.Entity.Infrastructure.SqlCeConnectionFactory.ProviderInvariantName"> |
|
657 |
<summary> |
|
658 |
The provider invariant name that specifies the version of SQL Server Compact Edition |
|
659 |
that should be used. |
|
660 |
</summary> |
|
661 |
</member> |
|
662 |
<member name="T:System.Data.Entity.Infrastructure.ReplacementDbQueryWrapper`1"> |
|
663 |
<summary> |
내보내기 Unified diff