-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFieldInformation.cs
44 lines (39 loc) · 984 Bytes
/
FieldInformation.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
using System;
using System.Collections.Generic;
using System.Text;
namespace SharpMapper
{
/// <summary>
/// Stores the field informarmation and association
/// </summary>
struct FieldInformation
{
string m_name;
/// <summary>
/// Name where Property will be maped
/// </summary>
public string Name
{
get { return m_name; }
set { m_name = value; }
}
bool m_isPrimaryKey;
/// <summary>
/// This Field is a Primary Key?
/// </summary>
public bool IsPrimaryKey
{
get { return m_isPrimaryKey; }
set { m_isPrimaryKey = value; }
}
string propertyName;
/// <summary>
/// Name of the property mapped on this Field
/// </summary>
public string PropertyName
{
get { return propertyName; }
set { propertyName = value; }
}
}
}