-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTableInformation.cs
47 lines (39 loc) · 984 Bytes
/
TableInformation.cs
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
36
37
38
39
40
41
42
43
44
45
46
47
using System;
using System.Collections.Generic;
using System.Text;
namespace SharpMapper
{
/// <summary>
/// Stores Type Table Mapping Information
/// </summary>
struct TableInformation
{
string m_name;
/// <summary>
/// Name of the Table
/// </summary>
public string Name
{
get { return m_name; }
set { m_name = value; }
}
FieldInformation m_primaryKey;
/// <summary>
/// Field that maps PrimaryKey
/// </summary>
public FieldInformation PrimaryKey
{
get { return m_primaryKey; }
set { m_primaryKey = value; }
}
FieldInformation[] m_fields;
/// <summary>
/// List of Property Mapped on the table Fields
/// </summary>
public FieldInformation[] Fields
{
get { return m_fields; }
set { m_fields = value; }
}
}
}