This commit is contained in:
51
PROMS/VEPROMS.CSLA.Library/Extension/FormatExt.cs
Normal file
51
PROMS/VEPROMS.CSLA.Library/Extension/FormatExt.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
// ========================================================================
|
||||
// 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;
|
||||
using System.Xml;
|
||||
using System.Drawing;
|
||||
|
||||
namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
public partial class Format
|
||||
{
|
||||
#region PlantFormat
|
||||
//[NonSerialized]
|
||||
private PlantFormat _PlantFormat;
|
||||
public PlantFormat PlantFormat
|
||||
{ get { return (_PlantFormat != null ? _PlantFormat : _PlantFormat = new PlantFormat(this)); } }
|
||||
#endregion
|
||||
public override string ToString()
|
||||
{
|
||||
//return Name;
|
||||
return PlantFormat.FormatData.Name;
|
||||
}
|
||||
}
|
||||
public partial class FormatInfo
|
||||
{
|
||||
#region PlantFormat
|
||||
//[NonSerialized]
|
||||
private PlantFormat _PlantFormat;
|
||||
public PlantFormat PlantFormat
|
||||
{ get { return (_PlantFormat != null ? _PlantFormat : _PlantFormat = new PlantFormat(this.Get())); } }
|
||||
#endregion
|
||||
public override string ToString()
|
||||
{
|
||||
//return Name;
|
||||
return PlantFormat.FormatData.Name;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user