| Line | |
|---|
| 1 | using System;
|
|---|
| 2 |
|
|---|
| 3 | namespace IndianHealthService.BMXNet.Tools.SchemaBuilder
|
|---|
| 4 | {
|
|---|
| 5 | /// <summary>
|
|---|
| 6 | /// Represents a FIELD in a BMX ADO SCHEMA entry
|
|---|
| 7 | /// </summary>
|
|---|
| 8 | [Serializable]
|
|---|
| 9 | internal class BMXSchemaField: System.Object
|
|---|
| 10 | {
|
|---|
| 11 | internal BMXSchemaField()
|
|---|
| 12 | {
|
|---|
| 13 | }
|
|---|
| 14 | #region Fields
|
|---|
| 15 | private string m_sFieldName;
|
|---|
| 16 | private double m_nFieldNumber;
|
|---|
| 17 |
|
|---|
| 18 | #endregion Fields
|
|---|
| 19 |
|
|---|
| 20 | #region Properties
|
|---|
| 21 | /// <summary>
|
|---|
| 22 | /// Sets or returns the field number for this Schema Field
|
|---|
| 23 | /// </summary>
|
|---|
| 24 | internal double SchemaFieldNumber
|
|---|
| 25 | {
|
|---|
| 26 | get
|
|---|
| 27 | {
|
|---|
| 28 | return m_nFieldNumber;
|
|---|
| 29 | }
|
|---|
| 30 | set
|
|---|
| 31 | {
|
|---|
| 32 | m_nFieldNumber = value;
|
|---|
| 33 | }
|
|---|
| 34 | }
|
|---|
| 35 |
|
|---|
| 36 | private int m_nKey = 0;
|
|---|
| 37 |
|
|---|
| 38 | /// <summary>
|
|---|
| 39 | /// Getsthe IEN of the field subentry
|
|---|
| 40 | /// </summary>
|
|---|
| 41 | public int Key
|
|---|
| 42 | {
|
|---|
| 43 | get
|
|---|
| 44 | {
|
|---|
| 45 | return m_nKey;
|
|---|
| 46 | }
|
|---|
| 47 | }
|
|---|
| 48 |
|
|---|
| 49 | public string SchemaFieldName
|
|---|
| 50 | {
|
|---|
| 51 | get
|
|---|
| 52 | {
|
|---|
| 53 | return m_sFieldName;
|
|---|
| 54 | }
|
|---|
| 55 | set
|
|---|
| 56 | {
|
|---|
| 57 | m_sFieldName = value;
|
|---|
| 58 | }
|
|---|
| 59 | }
|
|---|
| 60 |
|
|---|
| 61 | #endregion Properties
|
|---|
| 62 |
|
|---|
| 63 | }
|
|---|
| 64 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.