This commit is contained in:
92
PROMS/proms/Volian.CSLA.Library/Generated/ZSectionInfo.cs
Normal file
92
PROMS/proms/Volian.CSLA.Library/Generated/ZSectionInfo.cs
Normal file
@@ -0,0 +1,92 @@
|
||||
// ========================================================================
|
||||
// Copyright 2006 - Volian Enterprises, Inc. All rights reserved.
|
||||
// Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
|
||||
// ------------------------------------------------------------------------
|
||||
// $Workfile: $ $Revision: $
|
||||
// $Author: $ $Date: $
|
||||
//
|
||||
// $History: $
|
||||
// ========================================================================
|
||||
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using Csla;
|
||||
using Csla.Data;
|
||||
using System.Configuration;
|
||||
using System.IO;
|
||||
|
||||
namespace Volian.CSLA.Library
|
||||
{
|
||||
/// <summary>
|
||||
/// ZSectionInfo Generated by MyGeneration using the CSLA Object Mapping template
|
||||
/// </summary>
|
||||
[Serializable()]
|
||||
public partial class ZSectionInfo : ReadOnlyBase<ZSectionInfo>
|
||||
{
|
||||
#region Business Methods
|
||||
private int _SectID;
|
||||
[System.ComponentModel.DataObjectField(true, true)]
|
||||
public int SectID
|
||||
{
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty(true);
|
||||
return _SectID;
|
||||
}
|
||||
}
|
||||
private string _OldStepSequence = string.Empty;
|
||||
public string OldStepSequence
|
||||
{
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty(true);
|
||||
return _OldStepSequence;
|
||||
}
|
||||
}
|
||||
// TODO: Replace base ZSectionInfo.ToString function as necessary
|
||||
/// <summary>
|
||||
/// Overrides Base ToString
|
||||
/// </summary>
|
||||
/// <returns>A string representation of current ZSectionInfo</returns>
|
||||
//public override string ToString()
|
||||
//{
|
||||
// return base.ToString();
|
||||
//}
|
||||
// TODO: Check ZSectionInfo.GetIdValue to assure that the ID returned is unique
|
||||
/// <summary>
|
||||
/// Overrides Base GetIdValue - Used internally by CSLA to determine equality
|
||||
/// </summary>
|
||||
/// <returns>A Unique ID for the current ZSectionInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _SectID;
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
private ZSectionInfo()
|
||||
{ /* require use of factory methods */ }
|
||||
public ZSection Get()
|
||||
{
|
||||
return ZSection.Get(_SectID);
|
||||
}
|
||||
#endregion
|
||||
#region Data Access Portal
|
||||
internal ZSectionInfo(SafeDataReader dr)
|
||||
{
|
||||
try
|
||||
{
|
||||
_SectID = dr.GetInt32("SectID");
|
||||
_OldStepSequence = dr.GetString("OldStepSequence");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Database.LogException("ZSectionInfo.Constructor", ex);
|
||||
throw new DbCslaException("ZSectionInfo.Constructor", ex);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
} // Class
|
||||
} // Namespace
|
Reference in New Issue
Block a user