This commit is contained in:
63
PROMS/VEPROMS.CSLA.Library/Extension/RODbExt.cs
Normal file
63
PROMS/VEPROMS.CSLA.Library/Extension/RODbExt.cs
Normal file
@@ -0,0 +1,63 @@
|
||||
// ========================================================================
|
||||
// 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.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
using System.Text;
|
||||
using System.IO;
|
||||
using System.Xml.Serialization;
|
||||
using System.Xml;
|
||||
using System.Xml.XPath;
|
||||
|
||||
namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
public partial class RODbInfo
|
||||
{
|
||||
#region RODb Config
|
||||
[NonSerialized]
|
||||
private RODbConfig _RODbConfig;
|
||||
public RODbConfig RODbConfig
|
||||
{ get { return (_RODbConfig != null ? _RODbConfig : _RODbConfig = new RODbConfig(this)); } }
|
||||
private void RODbConfigRefresh()
|
||||
{
|
||||
_RODbConfig = null;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
public partial class RODb
|
||||
{
|
||||
|
||||
#region Log4Net
|
||||
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
#endregion
|
||||
|
||||
#region RODb Config
|
||||
[NonSerialized]
|
||||
private RODbConfig _RODbConfig;
|
||||
public RODbConfig RODbConfig
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_RODbConfig == null)
|
||||
{
|
||||
_RODbConfig = new RODbConfig(this);
|
||||
_RODbConfig.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(_RODbConfig_PropertyChanged);
|
||||
}
|
||||
return _RODbConfig;
|
||||
}
|
||||
}
|
||||
private void _RODbConfig_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
|
||||
{
|
||||
Config = _RODbConfig.ToString();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user