-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConnectionStringEntry.cs
More file actions
35 lines (29 loc) · 880 Bytes
/
ConnectionStringEntry.cs
File metadata and controls
35 lines (29 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EnvDTE;
namespace ConnectionStringManager
{
public class ConnectionStringEntry
{
public static readonly ConnectionStringEntry Empty = new ConnectionStringEntry();
public string ProjectName { get; set; }
public string ConfigFile { get; set; }
public string ConfigPath { get; set; }
public string ConnectionName { get; set; }
public string ConnectionString { get; set; }
public ConnectionStatus Status { get; set; }
public ProjectItem ProjectItem { get; set; }
public override string ToString()
{
return string.Format("{0} -> {1}", ProjectName, ConfigFile);
}
}
public enum ConnectionStatus
{
Unknown = 0,
Invalid = 1,
Valid = 2
}
}