This commit is contained in:
92
PROMS/proms/Volian.CSLA.Library/Generated/ZStepInfo.cs
Normal file
92
PROMS/proms/Volian.CSLA.Library/Generated/ZStepInfo.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>
|
||||
/// ZStepInfo Generated by MyGeneration using the CSLA Object Mapping template
|
||||
/// </summary>
|
||||
[Serializable()]
|
||||
public partial class ZStepInfo : ReadOnlyBase<ZStepInfo>
|
||||
{
|
||||
#region Business Methods
|
||||
private int _StepID;
|
||||
[System.ComponentModel.DataObjectField(true, true)]
|
||||
public int StepID
|
||||
{
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty(true);
|
||||
return _StepID;
|
||||
}
|
||||
}
|
||||
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 ZStepInfo.ToString function as necessary
|
||||
/// <summary>
|
||||
/// Overrides Base ToString
|
||||
/// </summary>
|
||||
/// <returns>A string representation of current ZStepInfo</returns>
|
||||
//public override string ToString()
|
||||
//{
|
||||
// return base.ToString();
|
||||
//}
|
||||
// TODO: Check ZStepInfo.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 ZStepInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _StepID;
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
private ZStepInfo()
|
||||
{ /* require use of factory methods */ }
|
||||
public ZStep Get()
|
||||
{
|
||||
return ZStep.Get(_StepID);
|
||||
}
|
||||
#endregion
|
||||
#region Data Access Portal
|
||||
internal ZStepInfo(SafeDataReader dr)
|
||||
{
|
||||
try
|
||||
{
|
||||
_StepID = dr.GetInt32("StepID");
|
||||
_OldStepSequence = dr.GetString("OldStepSequence");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Database.LogException("ZStepInfo.Constructor", ex);
|
||||
throw new DbCslaException("ZStepInfo.Constructor", ex);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
} // Class
|
||||
} // Namespace
|
Reference in New Issue
Block a user