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