C2025-011 PROMS – RO Update Admin Tool Memory Enhancements
The purpose of this upgrade is to improve the user experience when using the Admin tool to Update ROs. Currently for larger RO dbs (like Barakah) we can run up against memory constraints that do not allow all the ROs to be updated at one time. This is based upon some initial resource where some places were identified where we could improve memory usage. Some of these should benefit PROMS as a whole while others will be specific to the RO Update option in Admin Tools.
This commit is contained in:
parent
f2d330bd0e
commit
378653c536
@ -200,6 +200,7 @@
|
|||||||
this.txtResults.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
this.txtResults.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||||
this.txtResults.Size = new System.Drawing.Size(489, 473);
|
this.txtResults.Size = new System.Drawing.Size(489, 473);
|
||||||
this.txtResults.TabIndex = 4;
|
this.txtResults.TabIndex = 4;
|
||||||
|
this.txtResults.TextChanged += new System.EventHandler(this.txtResults_TextChanged);
|
||||||
//
|
//
|
||||||
// panel1
|
// panel1
|
||||||
//
|
//
|
||||||
@ -312,6 +313,7 @@
|
|||||||
this.txtProcess.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
this.txtProcess.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||||
this.txtProcess.Size = new System.Drawing.Size(291, 375);
|
this.txtProcess.Size = new System.Drawing.Size(291, 375);
|
||||||
this.txtProcess.TabIndex = 5;
|
this.txtProcess.TabIndex = 5;
|
||||||
|
this.txtProcess.TextChanged += new System.EventHandler(this.txtProcess_TextChanged);
|
||||||
//
|
//
|
||||||
// pbProcess
|
// pbProcess
|
||||||
//
|
//
|
||||||
@ -340,7 +342,7 @@
|
|||||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
|
this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.panel3.Location = new System.Drawing.Point(0, 23);
|
this.panel3.Location = new System.Drawing.Point(0, 23);
|
||||||
this.panel3.Name = "panel3";
|
this.panel3.Name = "panel3";
|
||||||
this.panel3.Padding = new System.Windows.Forms.Padding(6, 6, 6, 6);
|
this.panel3.Padding = new System.Windows.Forms.Padding(6);
|
||||||
this.panel3.Size = new System.Drawing.Size(291, 79);
|
this.panel3.Size = new System.Drawing.Size(291, 79);
|
||||||
this.panel3.TabIndex = 2;
|
this.panel3.TabIndex = 2;
|
||||||
//
|
//
|
||||||
@ -353,7 +355,7 @@
|
|||||||
this.pnlLater.Enabled = false;
|
this.pnlLater.Enabled = false;
|
||||||
this.pnlLater.Location = new System.Drawing.Point(6, 23);
|
this.pnlLater.Location = new System.Drawing.Point(6, 23);
|
||||||
this.pnlLater.Name = "pnlLater";
|
this.pnlLater.Name = "pnlLater";
|
||||||
this.pnlLater.Padding = new System.Windows.Forms.Padding(6, 6, 6, 6);
|
this.pnlLater.Padding = new System.Windows.Forms.Padding(6);
|
||||||
this.pnlLater.Size = new System.Drawing.Size(279, 37);
|
this.pnlLater.Size = new System.Drawing.Size(279, 37);
|
||||||
this.pnlLater.TabIndex = 3;
|
this.pnlLater.TabIndex = 3;
|
||||||
//
|
//
|
||||||
@ -484,7 +486,7 @@
|
|||||||
this.sideNavItmExit});
|
this.sideNavItmExit});
|
||||||
this.sideNav1.Location = new System.Drawing.Point(0, 0);
|
this.sideNav1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.sideNav1.Name = "sideNav1";
|
this.sideNav1.Name = "sideNav1";
|
||||||
this.sideNav1.Padding = new System.Windows.Forms.Padding(1, 1, 1, 1);
|
this.sideNav1.Padding = new System.Windows.Forms.Padding(1);
|
||||||
this.sideNav1.Size = new System.Drawing.Size(385, 525);
|
this.sideNav1.Size = new System.Drawing.Size(385, 525);
|
||||||
this.sideNav1.TabIndex = 3;
|
this.sideNav1.TabIndex = 3;
|
||||||
this.sideNav1.Text = "sideNav1";
|
this.sideNav1.Text = "sideNav1";
|
||||||
@ -501,7 +503,7 @@
|
|||||||
this.sideNavPanel4.Location = new System.Drawing.Point(81, 31);
|
this.sideNavPanel4.Location = new System.Drawing.Point(81, 31);
|
||||||
this.sideNavPanel4.MinimumSize = new System.Drawing.Size(0, 493);
|
this.sideNavPanel4.MinimumSize = new System.Drawing.Size(0, 493);
|
||||||
this.sideNavPanel4.Name = "sideNavPanel4";
|
this.sideNavPanel4.Name = "sideNavPanel4";
|
||||||
this.sideNavPanel4.Size = new System.Drawing.Size(300, 493);
|
this.sideNavPanel4.Size = new System.Drawing.Size(299, 493);
|
||||||
this.sideNavPanel4.TabIndex = 27;
|
this.sideNavPanel4.TabIndex = 27;
|
||||||
//
|
//
|
||||||
// swDeleteFolder
|
// swDeleteFolder
|
||||||
@ -572,7 +574,7 @@
|
|||||||
this.myTVdel.Dock = System.Windows.Forms.DockStyle.Bottom;
|
this.myTVdel.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||||
this.myTVdel.Location = new System.Drawing.Point(0, 126);
|
this.myTVdel.Location = new System.Drawing.Point(0, 126);
|
||||||
this.myTVdel.Name = "myTVdel";
|
this.myTVdel.Name = "myTVdel";
|
||||||
this.myTVdel.Size = new System.Drawing.Size(300, 367);
|
this.myTVdel.Size = new System.Drawing.Size(299, 367);
|
||||||
this.myTVdel.TabIndex = 34;
|
this.myTVdel.TabIndex = 34;
|
||||||
this.myTVdel.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.myTV_AfterCheck_DelAnn);
|
this.myTVdel.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.myTV_AfterCheck_DelAnn);
|
||||||
//
|
//
|
||||||
@ -585,7 +587,7 @@
|
|||||||
this.btnDeleteItems.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
this.btnDeleteItems.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||||
this.btnDeleteItems.Location = new System.Drawing.Point(39, 98);
|
this.btnDeleteItems.Location = new System.Drawing.Point(39, 98);
|
||||||
this.btnDeleteItems.Name = "btnDeleteItems";
|
this.btnDeleteItems.Name = "btnDeleteItems";
|
||||||
this.btnDeleteItems.Size = new System.Drawing.Size(221, 23);
|
this.btnDeleteItems.Size = new System.Drawing.Size(220, 23);
|
||||||
this.btnDeleteItems.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
this.btnDeleteItems.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
this.superTooltip1.SetSuperTooltip(this.btnDeleteItems, new DevComponents.DotNetBar.SuperTooltipInfo("Process Deletions", "", resources.GetString("btnDeleteItems.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(200, 175)));
|
this.superTooltip1.SetSuperTooltip(this.btnDeleteItems, new DevComponents.DotNetBar.SuperTooltipInfo("Process Deletions", "", resources.GetString("btnDeleteItems.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(200, 175)));
|
||||||
this.btnDeleteItems.TabIndex = 35;
|
this.btnDeleteItems.TabIndex = 35;
|
||||||
@ -649,7 +651,7 @@
|
|||||||
this.warningBox5.CloseButtonVisible = false;
|
this.warningBox5.CloseButtonVisible = false;
|
||||||
this.warningBox5.Image = ((System.Drawing.Image)(resources.GetObject("warningBox5.Image")));
|
this.warningBox5.Image = ((System.Drawing.Image)(resources.GetObject("warningBox5.Image")));
|
||||||
this.warningBox5.Location = new System.Drawing.Point(17, 145);
|
this.warningBox5.Location = new System.Drawing.Point(17, 145);
|
||||||
this.warningBox5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.warningBox5.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.warningBox5.Name = "warningBox5";
|
this.warningBox5.Name = "warningBox5";
|
||||||
this.warningBox5.OptionsButtonVisible = false;
|
this.warningBox5.OptionsButtonVisible = false;
|
||||||
this.warningBox5.Size = new System.Drawing.Size(262, 32);
|
this.warningBox5.Size = new System.Drawing.Size(262, 32);
|
||||||
@ -733,7 +735,7 @@
|
|||||||
this.warningBox1.CloseButtonVisible = false;
|
this.warningBox1.CloseButtonVisible = false;
|
||||||
this.warningBox1.Image = ((System.Drawing.Image)(resources.GetObject("warningBox1.Image")));
|
this.warningBox1.Image = ((System.Drawing.Image)(resources.GetObject("warningBox1.Image")));
|
||||||
this.warningBox1.Location = new System.Drawing.Point(17, 181);
|
this.warningBox1.Location = new System.Drawing.Point(17, 181);
|
||||||
this.warningBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.warningBox1.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.warningBox1.Name = "warningBox1";
|
this.warningBox1.Name = "warningBox1";
|
||||||
this.warningBox1.OptionsButtonVisible = false;
|
this.warningBox1.OptionsButtonVisible = false;
|
||||||
this.warningBox1.Size = new System.Drawing.Size(262, 43);
|
this.warningBox1.Size = new System.Drawing.Size(262, 43);
|
||||||
@ -782,7 +784,7 @@
|
|||||||
this.warningBox3.CloseButtonVisible = false;
|
this.warningBox3.CloseButtonVisible = false;
|
||||||
this.warningBox3.Image = ((System.Drawing.Image)(resources.GetObject("warningBox3.Image")));
|
this.warningBox3.Image = ((System.Drawing.Image)(resources.GetObject("warningBox3.Image")));
|
||||||
this.warningBox3.Location = new System.Drawing.Point(17, 207);
|
this.warningBox3.Location = new System.Drawing.Point(17, 207);
|
||||||
this.warningBox3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.warningBox3.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.warningBox3.Name = "warningBox3";
|
this.warningBox3.Name = "warningBox3";
|
||||||
this.warningBox3.OptionsButtonVisible = false;
|
this.warningBox3.OptionsButtonVisible = false;
|
||||||
this.warningBox3.Size = new System.Drawing.Size(264, 32);
|
this.warningBox3.Size = new System.Drawing.Size(264, 32);
|
||||||
@ -986,7 +988,7 @@
|
|||||||
this.warningBox4.CloseButtonVisible = false;
|
this.warningBox4.CloseButtonVisible = false;
|
||||||
this.warningBox4.Image = ((System.Drawing.Image)(resources.GetObject("warningBox4.Image")));
|
this.warningBox4.Image = ((System.Drawing.Image)(resources.GetObject("warningBox4.Image")));
|
||||||
this.warningBox4.Location = new System.Drawing.Point(12, 264);
|
this.warningBox4.Location = new System.Drawing.Point(12, 264);
|
||||||
this.warningBox4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.warningBox4.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.warningBox4.Name = "warningBox4";
|
this.warningBox4.Name = "warningBox4";
|
||||||
this.warningBox4.OptionsButtonVisible = false;
|
this.warningBox4.OptionsButtonVisible = false;
|
||||||
this.warningBox4.Size = new System.Drawing.Size(264, 32);
|
this.warningBox4.Size = new System.Drawing.Size(264, 32);
|
||||||
@ -999,7 +1001,7 @@
|
|||||||
this.warningBox2.CloseButtonVisible = false;
|
this.warningBox2.CloseButtonVisible = false;
|
||||||
this.warningBox2.Image = ((System.Drawing.Image)(resources.GetObject("warningBox2.Image")));
|
this.warningBox2.Image = ((System.Drawing.Image)(resources.GetObject("warningBox2.Image")));
|
||||||
this.warningBox2.Location = new System.Drawing.Point(12, 302);
|
this.warningBox2.Location = new System.Drawing.Point(12, 302);
|
||||||
this.warningBox2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.warningBox2.Margin = new System.Windows.Forms.Padding(4);
|
||||||
this.warningBox2.Name = "warningBox2";
|
this.warningBox2.Name = "warningBox2";
|
||||||
this.warningBox2.OptionsButtonVisible = false;
|
this.warningBox2.OptionsButtonVisible = false;
|
||||||
this.warningBox2.Size = new System.Drawing.Size(264, 43);
|
this.warningBox2.Size = new System.Drawing.Size(264, 43);
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Data;
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
@ -10,7 +8,6 @@ using System.IO;
|
|||||||
using Volian.Controls.Library;
|
using Volian.Controls.Library;
|
||||||
using DevComponents.DotNetBar;
|
using DevComponents.DotNetBar;
|
||||||
using JR.Utils.GUI.Forms;
|
using JR.Utils.GUI.Forms;
|
||||||
using Volian.Controls.Library;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace VEPROMS
|
namespace VEPROMS
|
||||||
@ -342,6 +339,8 @@ namespace VEPROMS
|
|||||||
pbProcess.PerformStep();
|
pbProcess.PerformStep();
|
||||||
Application.DoEvents();
|
Application.DoEvents();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ClearCache();
|
||||||
}
|
}
|
||||||
|
|
||||||
Application.DoEvents();
|
Application.DoEvents();
|
||||||
@ -389,6 +388,23 @@ namespace VEPROMS
|
|||||||
this.Cursor = Cursors.Default;
|
this.Cursor = Cursors.Default;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//C2025-011 RO Update Admin Tool Memory Enhancements
|
||||||
|
//Clear what we can from the cache
|
||||||
|
//runs after each section
|
||||||
|
private void ClearCache()
|
||||||
|
{
|
||||||
|
txtProcess.AppendText("Reclaiming memory used during previous sections.");
|
||||||
|
|
||||||
|
PartInfo.ClearPartInfoCache();
|
||||||
|
ItemInfo.ClearItemInfoCache();
|
||||||
|
Item.ClearItemCache();
|
||||||
|
ContentInfo.ClearContentInfoCache();
|
||||||
|
GridInfo.ClearGridInfoCache();
|
||||||
|
|
||||||
|
GC.Collect();
|
||||||
|
GC.WaitForPendingFinalizers();
|
||||||
|
}
|
||||||
|
|
||||||
//C2022-028 check for Bad RO Links - we will check all of the RO links found in procedure step text
|
//C2022-028 check for Bad RO Links - we will check all of the RO links found in procedure step text
|
||||||
//B2022-144 Allow to check individual procedures for bad RO links
|
//B2022-144 Allow to check individual procedures for bad RO links
|
||||||
private void CheckROLinks()
|
private void CheckROLinks()
|
||||||
@ -1002,6 +1018,9 @@ namespace VEPROMS
|
|||||||
txtResults.AppendText(Environment.NewLine);
|
txtResults.AppendText(Environment.NewLine);
|
||||||
txtResults.AppendText(Environment.NewLine);
|
txtResults.AppendText(Environment.NewLine);
|
||||||
}
|
}
|
||||||
|
//C2025-011 RO Update Admin Tool Memory Enhancements
|
||||||
|
//clear the list since no longer using it
|
||||||
|
myItems.Clear();
|
||||||
DateTime pEnd = DateTime.Now;
|
DateTime pEnd = DateTime.Now;
|
||||||
txtProcess.AppendText(string.Format("Completed: {0}", pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
txtProcess.AppendText(string.Format("Completed: {0}", pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||||
txtProcess.AppendText(Environment.NewLine);
|
txtProcess.AppendText(Environment.NewLine);
|
||||||
@ -1088,6 +1107,7 @@ namespace VEPROMS
|
|||||||
}
|
}
|
||||||
roFstInfo.ROTableUpdate += new ROFstInfoROTableUpdateEvent(roFstInfo_ROTableUpdate);
|
roFstInfo.ROTableUpdate += new ROFstInfoROTableUpdateEvent(roFstInfo_ROTableUpdate);
|
||||||
ROFst newrofst = ROFstInfo.RefreshROFst(dv, roFstInfo, DoProgressBarRefresh, txtProcess);
|
ROFst newrofst = ROFstInfo.RefreshROFst(dv, roFstInfo, DoProgressBarRefresh, txtProcess);
|
||||||
|
//ROFst newrofst = ROFstInfo.RefreshROFst(dv, roFstInfo, DoProgressBarRefresh, null);
|
||||||
roFstInfo.ROTableUpdate -= new ROFstInfoROTableUpdateEvent(roFstInfo_ROTableUpdate);
|
roFstInfo.ROTableUpdate -= new ROFstInfoROTableUpdateEvent(roFstInfo_ROTableUpdate);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1976,6 +1996,19 @@ namespace VEPROMS
|
|||||||
pil.Add(myProcedures[tn]);
|
pil.Add(myProcedures[tn]);
|
||||||
return pil;
|
return pil;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//C2025-011 RO Update Admin Tool Memory Enhancements
|
||||||
|
private void txtProcess_TextChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//clears the stack to help with memory - should never need to undo text changes to this.
|
||||||
|
txtProcess.ClearUndo();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void txtResults_TextChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//clears the stack to help with memory - should never need to undo text changes to this.
|
||||||
|
txtResults.ClearUndo();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -49,9 +49,10 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
if (DocVersionAssociations == null || DocVersionAssociations.Count == 0) return false;
|
if (DocVersionAssociations == null || DocVersionAssociations.Count == 0) return false;
|
||||||
|
|
||||||
ROFstInfo roFstInfo = ROFstInfo.GetJustROFst(DocVersionAssociations[0].ROFstID);
|
using (ROFstInfo roFstInfo = ROFstInfo.GetJustROFst(DocVersionAssociations[0].ROFstID))
|
||||||
|
{
|
||||||
RODbInfo rdi = RODbInfo.GetJustRODB(roFstInfo.RODbID);
|
using (RODbInfo rdi = RODbInfo.GetJustRODB(roFstInfo.RODbID))
|
||||||
|
{
|
||||||
string rofstPath = rdi.FolderPath + @"\ro.fst";
|
string rofstPath = rdi.FolderPath + @"\ro.fst";
|
||||||
if (!File.Exists(rofstPath)) return false;
|
if (!File.Exists(rofstPath)) return false;
|
||||||
|
|
||||||
@ -73,6 +74,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
// rofsts of the size of the file & compare bytes.
|
// rofsts of the size of the file & compare bytes.
|
||||||
return ROFstInfoList.ROFstDiffBySize(rofstPath, rdi.RODbID, (int)fiRofst.Length);
|
return ROFstInfoList.ROFstDiffBySize(rofstPath, rdi.RODbID, (int)fiRofst.Length);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
public bool ROfstLastCompleted
|
public bool ROfstLastCompleted
|
||||||
{
|
{
|
||||||
|
@ -40,6 +40,17 @@ namespace VEPROMS.CSLA.Library
|
|||||||
Console.WriteLine("- - - - - -");
|
Console.WriteLine("- - - - - -");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//C2025-011 RO Update Admin Tool Memory Enhancements
|
||||||
|
//clears everything in cache - to run between sections in the Admin Tool to reclaim memory
|
||||||
|
public static void ClearItemCache()
|
||||||
|
{
|
||||||
|
_CacheByPrimaryKey.Clear();
|
||||||
|
while (_CacheList.Count > 0)
|
||||||
|
{
|
||||||
|
_CacheList[0].DisposeOfContent = true;
|
||||||
|
_CacheList[0].Dispose();
|
||||||
|
}
|
||||||
|
}
|
||||||
public override string ToString()
|
public override string ToString()
|
||||||
{
|
{
|
||||||
return string.Format("{0} {1}", MyContent.Number, MyContent.Text).Trim();
|
return string.Format("{0} {1}", MyContent.Number, MyContent.Text).Trim();
|
||||||
@ -326,6 +337,32 @@ namespace VEPROMS.CSLA.Library
|
|||||||
#region ItemInfo
|
#region ItemInfo
|
||||||
public partial class ItemInfo : IVEDrillDownReadOnly
|
public partial class ItemInfo : IVEDrillDownReadOnly
|
||||||
{
|
{
|
||||||
|
|
||||||
|
//C2025-011 RO Update Admin Tool Memory Enhancements
|
||||||
|
//clears everything in cache - to run between sections in the Admin Tool to reclaim memory
|
||||||
|
public static void ClearItemInfoCache()
|
||||||
|
{
|
||||||
|
while (_CacheByPrimaryKey.Count > 0)
|
||||||
|
{
|
||||||
|
var ii = _CacheByPrimaryKey.FirstOrDefault();
|
||||||
|
|
||||||
|
while (ii.Value.Count > 0)
|
||||||
|
{
|
||||||
|
if (ii.Value[0]?.MyContent?.ContentParts != null)
|
||||||
|
{ foreach (PartInfo pi in ii.Value[0]?.MyContent?.ContentParts) pi.Dispose(); }
|
||||||
|
ii.Value[0].Dispose();
|
||||||
|
}
|
||||||
|
_CacheByPrimaryKey.Remove(ii.Key);
|
||||||
|
}
|
||||||
|
|
||||||
|
while (_CacheList.Count > 0)
|
||||||
|
{
|
||||||
|
if (_CacheList[0]?.MyContent?.ContentParts != null)
|
||||||
|
{foreach (PartInfo pi in _CacheList[0]?.MyContent?.ContentParts) pi.Dispose(); }
|
||||||
|
_CacheList[0].Dispose();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private bool _PrintAllAtOnce = false;
|
private bool _PrintAllAtOnce = false;
|
||||||
|
|
||||||
public bool PrintAllAtOnce
|
public bool PrintAllAtOnce
|
||||||
@ -2491,16 +2528,20 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public ItemInfo LastChild(E_FromType partType)
|
public ItemInfo LastChild(E_FromType partType)
|
||||||
{
|
{
|
||||||
ItemInfoList myitems = Lookup((int)partType);
|
using (ItemInfoList myitems = Lookup((int)partType))
|
||||||
|
{
|
||||||
if (myitems != null) return myitems[myitems.Count - 1];
|
if (myitems != null) return myitems[myitems.Count - 1];
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
public ItemInfo FirstChild(E_FromType partType)
|
public ItemInfo FirstChild(E_FromType partType)
|
||||||
{
|
{
|
||||||
ItemInfoList myitems = Lookup((int)partType);
|
using (ItemInfoList myitems = Lookup((int)partType))
|
||||||
|
{
|
||||||
if (myitems != null) return myitems[0];
|
if (myitems != null) return myitems[0];
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
public bool HasAncestor(ItemInfo ancestor)
|
public bool HasAncestor(ItemInfo ancestor)
|
||||||
{
|
{
|
||||||
if (ancestor == null) return false;
|
if (ancestor == null) return false;
|
||||||
@ -3863,17 +3904,19 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
#region IVEReadOnlyItem
|
#region IVEReadOnlyItem
|
||||||
PartInfoList _PartInfoList;
|
|
||||||
public System.Collections.IList GetChildren()
|
public System.Collections.IList GetChildren()
|
||||||
{
|
{
|
||||||
_PartInfoList = this.MyContent.ContentParts;
|
using (PartInfoList _PartInfoList = this.MyContent.ContentParts)
|
||||||
|
{
|
||||||
if (_PartInfoList.Count == 1 && ((IsProcedure && _PartInfoList[0].ToString() == "Sections") || _PartInfoList[0].ToString() == "Steps"))
|
if (_PartInfoList.Count == 1 && ((IsProcedure && _PartInfoList[0].ToString() == "Sections") || _PartInfoList[0].ToString() == "Steps"))
|
||||||
return _PartInfoList[0].GetChildren();
|
return _PartInfoList[0].GetChildren();
|
||||||
return _PartInfoList;
|
return _PartInfoList;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
public System.Collections.IList GetChildren(bool allParts)
|
public System.Collections.IList GetChildren(bool allParts)
|
||||||
{
|
{
|
||||||
_PartInfoList = this.MyContent.ContentParts;
|
using (PartInfoList _PartInfoList = this.MyContent.ContentParts)
|
||||||
|
{
|
||||||
if (allParts)
|
if (allParts)
|
||||||
{
|
{
|
||||||
if (_PartInfoList.Count == 1 && ((IsProcedure && _PartInfoList[0].ToString() == "Sections") || _PartInfoList[0].ToString() == "Steps"))
|
if (_PartInfoList.Count == 1 && ((IsProcedure && _PartInfoList[0].ToString() == "Sections") || _PartInfoList[0].ToString() == "Steps"))
|
||||||
@ -3889,6 +3932,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
//public bool ChildrenAreLoaded
|
//public bool ChildrenAreLoaded
|
||||||
//{
|
//{
|
||||||
// get { return _PartInfoList == null; }
|
// get { return _PartInfoList == null; }
|
||||||
@ -6185,8 +6229,8 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new MoveItemCriteria(itemID, index));
|
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new MoveItemCriteria(itemID, index)))
|
||||||
return tmp;
|
{ return tmp; }
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
@ -6198,14 +6242,16 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListCriteria(itemID, type));
|
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListCriteria(itemID, type)))
|
||||||
|
{
|
||||||
ItemInfo.AddList(tmp);
|
ItemInfo.AddList(tmp);
|
||||||
tmp.AddEvents();
|
tmp.AddEvents();
|
||||||
#if (!ItemWithContent) // If ItemWithContent is set, the content is returned with the ItemInfoList
|
#if (!ItemWithContent) // If ItemWithContent is set, the content is returned with the ItemInfoList
|
||||||
ContentInfoList.GetList(itemID); // Performance - Load All Content
|
ContentInfoList.GetList(itemID); // Performance - Load All Content
|
||||||
#endif
|
#endif
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
throw new DbCslaException("Error on ItemInfoList.GetChildren", ex);
|
throw new DbCslaException("Error on ItemInfoList.GetChildren", ex);
|
||||||
@ -6215,14 +6261,17 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemTranToListCriteria());
|
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemTranToListCriteria()))
|
||||||
|
{
|
||||||
ItemInfo.AddList(tmp);
|
ItemInfo.AddList(tmp);
|
||||||
tmp.AddEvents();
|
tmp.AddEvents();
|
||||||
#if (!ItemWithContent) // If ItemWithContent is set, the content is returned with the ItemInfoList
|
#if (!ItemWithContent) // If ItemWithContent is set, the content is returned with the ItemInfoList
|
||||||
ContentInfoList.GetList(itemID); // Performance - Load All Content
|
ContentInfoList.GetList(itemID); // Performance - Load All Content
|
||||||
#endif
|
#endif
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
throw new DbCslaException("Error on ItemInfoList.GetTranToList", ex);
|
throw new DbCslaException("Error on ItemInfoList.GetTranToList", ex);
|
||||||
@ -6232,14 +6281,16 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemTranFromListCriteria());
|
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemTranFromListCriteria()))
|
||||||
|
{
|
||||||
ItemInfo.AddList(tmp);
|
ItemInfo.AddList(tmp);
|
||||||
tmp.AddEvents();
|
tmp.AddEvents();
|
||||||
#if (!ItemWithContent) // If ItemWithContent is set, the content is returned with the ItemInfoList
|
#if (!ItemWithContent) // If ItemWithContent is set, the content is returned with the ItemInfoList
|
||||||
ContentInfoList.GetList(itemID); // Performance - Load All Content
|
ContentInfoList.GetList(itemID); // Performance - Load All Content
|
||||||
#endif
|
#endif
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
throw new DbCslaException("Error on ItemInfoList.GetTranFromList", ex);
|
throw new DbCslaException("Error on ItemInfoList.GetTranFromList", ex);
|
||||||
@ -6249,14 +6300,16 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListPartTypeCriteria(fromType));
|
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListPartTypeCriteria(fromType)))
|
||||||
|
{
|
||||||
ItemInfo.AddList(tmp);
|
ItemInfo.AddList(tmp);
|
||||||
tmp.AddEvents();
|
tmp.AddEvents();
|
||||||
#if (!ItemWithContent) // If ItemWithContent is set, the content is returned with the ItemInfoList
|
#if (!ItemWithContent) // If ItemWithContent is set, the content is returned with the ItemInfoList
|
||||||
ContentInfoList.GetList(itemID); // Performance - Load All Content
|
ContentInfoList.GetList(itemID); // Performance - Load All Content
|
||||||
#endif
|
#endif
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
throw new DbCslaException("Error on ItemInfoList.GetChildren", ex);
|
throw new DbCslaException("Error on ItemInfoList.GetChildren", ex);
|
||||||
@ -6740,8 +6793,8 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListEnhancedTextDifferencesCriteria(procItem.ItemID));
|
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListEnhancedTextDifferencesCriteria(procItem.ItemID)))
|
||||||
return tmp;
|
{ return tmp; }
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
@ -6809,8 +6862,8 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListEnhancedMissingCriteria(srcItem.ItemID, enhType));
|
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListEnhancedMissingCriteria(srcItem.ItemID, enhType)))
|
||||||
return tmp;
|
{ return tmp; }
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
@ -6879,12 +6932,14 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListSearchCriteria(docVersionList, stepTypeList, searchString, caseSensitive, includeLinks, includeRtfFormatting, includeSpecialCharacters, unitPrefix, byWordPrefix, byWordSuffix));
|
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListSearchCriteria(docVersionList, stepTypeList, searchString, caseSensitive, includeLinks, includeRtfFormatting, includeSpecialCharacters, unitPrefix, byWordPrefix, byWordSuffix)))
|
||||||
|
{
|
||||||
tmp.SourceOfList = "Search";
|
tmp.SourceOfList = "Search";
|
||||||
ItemInfo.AddList(tmp);
|
ItemInfo.AddList(tmp);
|
||||||
tmp.AddEvents();
|
tmp.AddEvents();
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
throw new DbCslaException("Error on ItemInfoList.GetListFromTextSearch", ex);
|
throw new DbCslaException("Error on ItemInfoList.GetListFromTextSearch", ex);
|
||||||
@ -7038,11 +7093,13 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListROSearchCriteria(docVersionList, stepTypeList, roSearchString, unitPrefix));
|
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListROSearchCriteria(docVersionList, stepTypeList, roSearchString, unitPrefix)))
|
||||||
|
{
|
||||||
ItemInfo.AddList(tmp);
|
ItemInfo.AddList(tmp);
|
||||||
tmp.AddEvents();
|
tmp.AddEvents();
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
throw new DbCslaException("Error on ItemInfoList.GetChildren", ex);
|
throw new DbCslaException("Error on ItemInfoList.GetChildren", ex);
|
||||||
@ -7142,11 +7199,13 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListAnnotationSearchCriteria(docVersionList, stepTypeList, annotationTypeList, searchString, caseSensitive, unitPrefix));
|
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListAnnotationSearchCriteria(docVersionList, stepTypeList, annotationTypeList, searchString, caseSensitive, unitPrefix)))
|
||||||
|
{
|
||||||
ItemInfo.AddList(tmp);
|
ItemInfo.AddList(tmp);
|
||||||
tmp.AddEvents();
|
tmp.AddEvents();
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
throw new DbCslaException("Error on ItemInfoList.GetChildren", ex);
|
throw new DbCslaException("Error on ItemInfoList.GetChildren", ex);
|
||||||
@ -7266,11 +7325,13 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListTransitionSearchCriteria(docVersionList, tranType, tranCategory, stepTypeList));
|
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListTransitionSearchCriteria(docVersionList, tranType, tranCategory, stepTypeList)))
|
||||||
|
{
|
||||||
ItemInfo.AddList(tmp);
|
ItemInfo.AddList(tmp);
|
||||||
tmp.AddEvents();
|
tmp.AddEvents();
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
throw new DbCslaException("Error on ItemInfoList.GetListFromTransitionSearch", ex);
|
throw new DbCslaException("Error on ItemInfoList.GetListFromTransitionSearch", ex);
|
||||||
@ -7355,11 +7416,13 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListROReportCriteria(docVersionList, stepTypeList, roSearchString, unitPrefix));
|
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListROReportCriteria(docVersionList, stepTypeList, roSearchString, unitPrefix)))
|
||||||
|
{
|
||||||
ItemInfo.AddList(tmp);
|
ItemInfo.AddList(tmp);
|
||||||
tmp.AddEvents();
|
tmp.AddEvents();
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
throw new DbCslaException("Error on ItemInfoList.GetChildren", ex);
|
throw new DbCslaException("Error on ItemInfoList.GetChildren", ex);
|
||||||
@ -7460,12 +7523,14 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListApplicabilitySearchCriteria(docVersionList, stepTypeList, searchString, caseSensitive, includeLinks, includeRtfFormatting, includeSpecialCharacters, unitPrefix, applicSetting));
|
using (ItemInfoList tmp = DataPortal.Fetch<ItemInfoList>(new ItemListApplicabilitySearchCriteria(docVersionList, stepTypeList, searchString, caseSensitive, includeLinks, includeRtfFormatting, includeSpecialCharacters, unitPrefix, applicSetting)))
|
||||||
|
{
|
||||||
tmp.SourceOfList = "Search";
|
tmp.SourceOfList = "Search";
|
||||||
ItemInfo.AddList(tmp);
|
ItemInfo.AddList(tmp);
|
||||||
tmp.AddEvents();
|
tmp.AddEvents();
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
throw new DbCslaException("Error on ItemInfoList.GetListFromApplicabilitySearch", ex);
|
throw new DbCslaException("Error on ItemInfoList.GetListFromApplicabilitySearch", ex);
|
||||||
@ -8114,7 +8179,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
|
|
||||||
// get list of differences from sql. This list does not resolve links and may have other rtf commands.
|
// get list of differences from sql. This list does not resolve links and may have other rtf commands.
|
||||||
// also this list is source items, not enhanced.
|
// also this list is source items, not enhanced.
|
||||||
ItemInfoList iil = ItemInfoList.GetListEnhancedTextDifferences(this);
|
|
||||||
|
using (ItemInfoList iil = ItemInfoList.GetListEnhancedTextDifferences(this))
|
||||||
|
{
|
||||||
if (iil == null || iil.Count == 0) return null; // no differences were found.
|
if (iil == null || iil.Count == 0) return null; // no differences were found.
|
||||||
|
|
||||||
// from sql list, get display text of source items & compare to this procedure's items. This
|
// from sql list, get display text of source items & compare to this procedure's items. This
|
||||||
@ -8136,6 +8203,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
return retiil;
|
return retiil;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
public void EnhancedProcedureRefreshTextDifferences(ItemInfoList iil)
|
public void EnhancedProcedureRefreshTextDifferences(ItemInfoList iil)
|
||||||
{
|
{
|
||||||
// the input list is a list of enhanced items within a procedure where
|
// the input list is a list of enhanced items within a procedure where
|
||||||
|
@ -84,7 +84,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("LastChanged", true);
|
|
||||||
return _LastChanged;
|
return _LastChanged;
|
||||||
}
|
}
|
||||||
set { _LastChanged = value; }
|
set { _LastChanged = value; }
|
||||||
|
@ -80,7 +80,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("LastChanged", true);
|
|
||||||
return _LastChanged;
|
return _LastChanged;
|
||||||
}
|
}
|
||||||
set { _LastChanged = value; }
|
set { _LastChanged = value; }
|
||||||
|
@ -108,7 +108,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AnnotationID", true);
|
|
||||||
return _AnnotationID;
|
return _AnnotationID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -118,7 +117,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemID", true);
|
|
||||||
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
||||||
return _ItemID;
|
return _ItemID;
|
||||||
}
|
}
|
||||||
@ -129,14 +127,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyItem", true);
|
|
||||||
if (_MyItem == null && _ItemID != 0) _MyItem = Item.Get(_ItemID);
|
if (_MyItem == null && _ItemID != 0) _MyItem = Item.Get(_ItemID);
|
||||||
return _MyItem;
|
return _MyItem;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyItem", true);
|
|
||||||
if (_MyItem != value)
|
if (_MyItem != value)
|
||||||
{
|
{
|
||||||
_MyItem = value;
|
_MyItem = value;
|
||||||
@ -151,7 +147,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("TypeID", true);
|
|
||||||
if (_MyAnnotationType != null) _TypeID = _MyAnnotationType.TypeID;
|
if (_MyAnnotationType != null) _TypeID = _MyAnnotationType.TypeID;
|
||||||
return _TypeID;
|
return _TypeID;
|
||||||
}
|
}
|
||||||
@ -162,14 +157,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyAnnotationType", true);
|
|
||||||
if (_MyAnnotationType == null && _TypeID != 0) _MyAnnotationType = AnnotationType.Get(_TypeID);
|
if (_MyAnnotationType == null && _TypeID != 0) _MyAnnotationType = AnnotationType.Get(_TypeID);
|
||||||
return _MyAnnotationType;
|
return _MyAnnotationType;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyAnnotationType", true);
|
|
||||||
if (_MyAnnotationType != value)
|
if (_MyAnnotationType != value)
|
||||||
{
|
{
|
||||||
_MyAnnotationType = value;
|
_MyAnnotationType = value;
|
||||||
@ -184,13 +177,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RtfText", true);
|
|
||||||
return _RtfText;
|
return _RtfText;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("RtfText", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_RtfText != value)
|
if (_RtfText != value)
|
||||||
{
|
{
|
||||||
@ -205,13 +196,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("SearchText", true);
|
|
||||||
return _SearchText;
|
return _SearchText;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("SearchText", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_SearchText != value)
|
if (_SearchText != value)
|
||||||
{
|
{
|
||||||
@ -226,13 +215,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -247,13 +234,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -267,13 +252,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
|
@ -106,7 +106,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,13 +115,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AnnotationID", true);
|
|
||||||
return _AnnotationID;
|
return _AnnotationID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("AnnotationID", true);
|
|
||||||
if (_AnnotationID != value)
|
if (_AnnotationID != value)
|
||||||
{
|
{
|
||||||
_AnnotationID = value;
|
_AnnotationID = value;
|
||||||
@ -136,13 +133,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemID", true);
|
|
||||||
return _ItemID;
|
return _ItemID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ItemID", true);
|
|
||||||
if (_ItemID != value)
|
if (_ItemID != value)
|
||||||
{
|
{
|
||||||
_ItemID = value;
|
_ItemID = value;
|
||||||
@ -156,13 +151,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("TypeID", true);
|
|
||||||
return _TypeID;
|
return _TypeID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("TypeID", true);
|
|
||||||
if (_TypeID != value)
|
if (_TypeID != value)
|
||||||
{
|
{
|
||||||
_TypeID = value;
|
_TypeID = value;
|
||||||
@ -176,13 +169,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RtfText", true);
|
|
||||||
return _RtfText;
|
return _RtfText;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("RtfText", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_RtfText != value)
|
if (_RtfText != value)
|
||||||
{
|
{
|
||||||
@ -197,13 +188,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("SearchText", true);
|
|
||||||
return _SearchText;
|
return _SearchText;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("SearchText", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_SearchText != value)
|
if (_SearchText != value)
|
||||||
{
|
{
|
||||||
@ -218,13 +207,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -239,13 +226,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -259,13 +244,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -280,13 +263,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DeleteStatus", true);
|
|
||||||
if (_DeleteStatus != value)
|
if (_DeleteStatus != value)
|
||||||
{
|
{
|
||||||
_DeleteStatus = value;
|
_DeleteStatus = value;
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AnnotationID", true);
|
|
||||||
return _AnnotationID;
|
return _AnnotationID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemID", true);
|
|
||||||
return _ItemID;
|
return _ItemID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("TypeID", true);
|
|
||||||
return _TypeID;
|
return _TypeID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RtfText", true);
|
|
||||||
return _RtfText;
|
return _RtfText;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -146,7 +141,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("SearchText", true);
|
|
||||||
return _SearchText;
|
return _SearchText;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -156,7 +150,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -166,7 +159,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -176,7 +168,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -186,7 +177,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -109,7 +109,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AnnotationID", true);
|
|
||||||
return _AnnotationID;
|
return _AnnotationID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -119,7 +118,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemID", true);
|
|
||||||
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
||||||
return _ItemID;
|
return _ItemID;
|
||||||
}
|
}
|
||||||
@ -130,7 +128,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyItem", true);
|
|
||||||
if (_MyItem == null && _ItemID != 0) _MyItem = ItemInfo.Get(_ItemID);
|
if (_MyItem == null && _ItemID != 0) _MyItem = ItemInfo.Get(_ItemID);
|
||||||
return _MyItem;
|
return _MyItem;
|
||||||
}
|
}
|
||||||
@ -141,7 +138,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("TypeID", true);
|
|
||||||
if (_MyAnnotationType != null) _TypeID = _MyAnnotationType.TypeID;
|
if (_MyAnnotationType != null) _TypeID = _MyAnnotationType.TypeID;
|
||||||
return _TypeID;
|
return _TypeID;
|
||||||
}
|
}
|
||||||
@ -152,7 +148,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyAnnotationType", true);
|
|
||||||
if (_MyAnnotationType == null && _TypeID != 0) _MyAnnotationType = AnnotationTypeInfo.Get(_TypeID);
|
if (_MyAnnotationType == null && _TypeID != 0) _MyAnnotationType = AnnotationTypeInfo.Get(_TypeID);
|
||||||
return _MyAnnotationType;
|
return _MyAnnotationType;
|
||||||
}
|
}
|
||||||
@ -163,7 +158,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RtfText", true);
|
|
||||||
return _RtfText;
|
return _RtfText;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -173,7 +167,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("SearchText", true);
|
|
||||||
return _SearchText;
|
return _SearchText;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -183,7 +176,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -193,7 +185,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -203,7 +194,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -129,7 +129,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("TypeID", true);
|
|
||||||
return _TypeID;
|
return _TypeID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -139,13 +138,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Name", true);
|
|
||||||
return _Name;
|
return _Name;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Name", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Name != value)
|
if (_Name != value)
|
||||||
{
|
{
|
||||||
@ -160,13 +157,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -181,13 +176,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -201,13 +194,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -226,7 +217,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AnnotationTypeAnnotationCount", true);
|
|
||||||
return _AnnotationTypeAnnotationCount;
|
return _AnnotationTypeAnnotationCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -240,7 +230,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AnnotationTypeAnnotations", true);
|
|
||||||
if (_AnnotationTypeAnnotationCount < 0 || (_AnnotationTypeAnnotationCount > 0 && _AnnotationTypeAnnotations == null))
|
if (_AnnotationTypeAnnotationCount < 0 || (_AnnotationTypeAnnotationCount > 0 && _AnnotationTypeAnnotations == null))
|
||||||
_AnnotationTypeAnnotations = AnnotationTypeAnnotations.GetByTypeID(TypeID);
|
_AnnotationTypeAnnotations = AnnotationTypeAnnotations.GetByTypeID(TypeID);
|
||||||
if (_AnnotationTypeAnnotationCount < 0 )
|
if (_AnnotationTypeAnnotationCount < 0 )
|
||||||
|
@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AnnotationID", true);
|
|
||||||
if (_MyAnnotation != null) _AnnotationID = _MyAnnotation.AnnotationID;
|
if (_MyAnnotation != null) _AnnotationID = _MyAnnotation.AnnotationID;
|
||||||
return _AnnotationID;
|
return _AnnotationID;
|
||||||
}
|
}
|
||||||
@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyAnnotation", true);
|
|
||||||
if (_MyAnnotation == null && _AnnotationID != 0) _MyAnnotation = Annotation.Get(_AnnotationID);
|
if (_MyAnnotation == null && _AnnotationID != 0) _MyAnnotation = Annotation.Get(_AnnotationID);
|
||||||
return _MyAnnotation;
|
return _MyAnnotation;
|
||||||
}
|
}
|
||||||
@ -66,7 +64,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemID", true);
|
|
||||||
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
||||||
return _ItemID;
|
return _ItemID;
|
||||||
}
|
}
|
||||||
@ -77,14 +74,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyItem", true);
|
|
||||||
if (_MyItem == null && _ItemID != 0) _MyItem = Item.Get(_ItemID);
|
if (_MyItem == null && _ItemID != 0) _MyItem = Item.Get(_ItemID);
|
||||||
return _MyItem;
|
return _MyItem;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyItem", true);
|
|
||||||
if (_MyItem != value)
|
if (_MyItem != value)
|
||||||
{
|
{
|
||||||
_MyItem = value;
|
_MyItem = value;
|
||||||
@ -99,13 +94,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RtfText", true);
|
|
||||||
return _RtfText;
|
return _RtfText;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("RtfText", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_RtfText != value)
|
if (_RtfText != value)
|
||||||
{
|
{
|
||||||
@ -120,13 +113,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("SearchText", true);
|
|
||||||
return _SearchText;
|
return _SearchText;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("SearchText", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_SearchText != value)
|
if (_SearchText != value)
|
||||||
{
|
{
|
||||||
@ -141,13 +132,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -162,13 +151,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -182,13 +169,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -204,7 +189,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Item_PreviousID", true);
|
|
||||||
return _Item_PreviousID;
|
return _Item_PreviousID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -214,7 +198,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Item_ContentID", true);
|
|
||||||
return _Item_ContentID;
|
return _Item_ContentID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -224,7 +207,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Item_DTS", true);
|
|
||||||
return _Item_DTS;
|
return _Item_DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -234,7 +216,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Item_UserID", true);
|
|
||||||
return _Item_UserID;
|
return _Item_UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("TypeID", true);
|
|
||||||
return _TypeID;
|
return _TypeID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Name", true);
|
|
||||||
return _Name;
|
return _Name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -149,7 +144,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AnnotationTypeAnnotationCount", true);
|
|
||||||
if (_AnnotationTypeAnnotationCount < 0)
|
if (_AnnotationTypeAnnotationCount < 0)
|
||||||
_AnnotationTypeAnnotationCount = AnnotationTypeAnnotations.Count;
|
_AnnotationTypeAnnotationCount = AnnotationTypeAnnotations.Count;
|
||||||
return _AnnotationTypeAnnotationCount;
|
return _AnnotationTypeAnnotationCount;
|
||||||
@ -162,7 +156,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AnnotationTypeAnnotations", true);
|
|
||||||
if (_AnnotationTypeAnnotationCount < 0 || (_AnnotationTypeAnnotationCount > 0 && _AnnotationTypeAnnotations == null))
|
if (_AnnotationTypeAnnotationCount < 0 || (_AnnotationTypeAnnotationCount > 0 && _AnnotationTypeAnnotations == null))
|
||||||
_AnnotationTypeAnnotations = AnnotationInfoList.GetByTypeID(_TypeID);
|
_AnnotationTypeAnnotations = AnnotationInfoList.GetByTypeID(_TypeID);
|
||||||
if (_AnnotationTypeAnnotationCount < 0)
|
if (_AnnotationTypeAnnotationCount < 0)
|
||||||
|
@ -109,7 +109,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AID", true);
|
|
||||||
return _AID;
|
return _AID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -119,7 +118,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("GID", true);
|
|
||||||
if (_MyGroup != null) _GID = _MyGroup.GID;
|
if (_MyGroup != null) _GID = _MyGroup.GID;
|
||||||
return _GID;
|
return _GID;
|
||||||
}
|
}
|
||||||
@ -130,14 +128,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyGroup", true);
|
|
||||||
if (_MyGroup == null && _GID != 0) _MyGroup = Group.Get(_GID);
|
if (_MyGroup == null && _GID != 0) _MyGroup = Group.Get(_GID);
|
||||||
return _MyGroup;
|
return _MyGroup;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyGroup", true);
|
|
||||||
if (_MyGroup != value)
|
if (_MyGroup != value)
|
||||||
{
|
{
|
||||||
_MyGroup = value;
|
_MyGroup = value;
|
||||||
@ -152,7 +148,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RID", true);
|
|
||||||
if (_MyRole != null) _RID = _MyRole.RID;
|
if (_MyRole != null) _RID = _MyRole.RID;
|
||||||
return _RID;
|
return _RID;
|
||||||
}
|
}
|
||||||
@ -163,14 +158,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyRole", true);
|
|
||||||
if (_MyRole == null && _RID != 0) _MyRole = Role.Get(_RID);
|
if (_MyRole == null && _RID != 0) _MyRole = Role.Get(_RID);
|
||||||
return _MyRole;
|
return _MyRole;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyRole", true);
|
|
||||||
if (_MyRole != value)
|
if (_MyRole != value)
|
||||||
{
|
{
|
||||||
_MyRole = value;
|
_MyRole = value;
|
||||||
@ -185,7 +178,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FolderID", true);
|
|
||||||
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
||||||
return _FolderID;
|
return _FolderID;
|
||||||
}
|
}
|
||||||
@ -196,14 +188,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyFolder", true);
|
|
||||||
if (_MyFolder == null && _FolderID != 0) _MyFolder = Folder.Get(_FolderID);
|
if (_MyFolder == null && _FolderID != 0) _MyFolder = Folder.Get(_FolderID);
|
||||||
return _MyFolder;
|
return _MyFolder;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyFolder", true);
|
|
||||||
if (_MyFolder != value)
|
if (_MyFolder != value)
|
||||||
{
|
{
|
||||||
_MyFolder = value;
|
_MyFolder = value;
|
||||||
@ -218,13 +208,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("StartDate", true);
|
|
||||||
return _StartDate;
|
return _StartDate;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("StartDate", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
_StartDate = value;
|
_StartDate = value;
|
||||||
try
|
try
|
||||||
@ -248,13 +236,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("EndDate", true);
|
|
||||||
return _EndDate;
|
return _EndDate;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("EndDate", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
_EndDate = value;
|
_EndDate = value;
|
||||||
try
|
try
|
||||||
@ -278,13 +264,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -298,13 +282,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UsrID", true);
|
|
||||||
return _UsrID;
|
return _UsrID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UsrID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UsrID != value)
|
if (_UsrID != value)
|
||||||
{
|
{
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AID", true);
|
|
||||||
return _AID;
|
return _AID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("GID", true);
|
|
||||||
if (_MyGroup != null) _GID = _MyGroup.GID;
|
if (_MyGroup != null) _GID = _MyGroup.GID;
|
||||||
return _GID;
|
return _GID;
|
||||||
}
|
}
|
||||||
@ -117,7 +115,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyGroup", true);
|
|
||||||
if (_MyGroup == null && _GID != 0) _MyGroup = GroupInfo.Get(_GID);
|
if (_MyGroup == null && _GID != 0) _MyGroup = GroupInfo.Get(_GID);
|
||||||
return _MyGroup;
|
return _MyGroup;
|
||||||
}
|
}
|
||||||
@ -128,7 +125,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RID", true);
|
|
||||||
if (_MyRole != null) _RID = _MyRole.RID;
|
if (_MyRole != null) _RID = _MyRole.RID;
|
||||||
return _RID;
|
return _RID;
|
||||||
}
|
}
|
||||||
@ -139,7 +135,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyRole", true);
|
|
||||||
if (_MyRole == null && _RID != 0) _MyRole = RoleInfo.Get(_RID);
|
if (_MyRole == null && _RID != 0) _MyRole = RoleInfo.Get(_RID);
|
||||||
return _MyRole;
|
return _MyRole;
|
||||||
}
|
}
|
||||||
@ -150,7 +145,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FolderID", true);
|
|
||||||
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
||||||
return _FolderID;
|
return _FolderID;
|
||||||
}
|
}
|
||||||
@ -161,7 +155,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyFolder", true);
|
|
||||||
if (_MyFolder == null && _FolderID != 0) _MyFolder = FolderInfo.Get(_FolderID);
|
if (_MyFolder == null && _FolderID != 0) _MyFolder = FolderInfo.Get(_FolderID);
|
||||||
return _MyFolder;
|
return _MyFolder;
|
||||||
}
|
}
|
||||||
@ -172,7 +165,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("StartDate", true);
|
|
||||||
return _StartDate;
|
return _StartDate;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -182,7 +174,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("EndDate", true);
|
|
||||||
return _EndDate;
|
return _EndDate;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -192,7 +183,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -202,7 +192,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UsrID", true);
|
|
||||||
return _UsrID;
|
return _UsrID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -118,7 +118,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AssociationID", true);
|
|
||||||
return _AssociationID;
|
return _AssociationID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -128,7 +127,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("VersionID", true);
|
|
||||||
if (_MyDocVersion != null) _VersionID = _MyDocVersion.VersionID;
|
if (_MyDocVersion != null) _VersionID = _MyDocVersion.VersionID;
|
||||||
return _VersionID;
|
return _VersionID;
|
||||||
}
|
}
|
||||||
@ -139,14 +137,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyDocVersion", true);
|
|
||||||
if (_MyDocVersion == null && _VersionID != 0) _MyDocVersion = DocVersion.Get(_VersionID);
|
if (_MyDocVersion == null && _VersionID != 0) _MyDocVersion = DocVersion.Get(_VersionID);
|
||||||
return _MyDocVersion;
|
return _MyDocVersion;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyDocVersion", true);
|
|
||||||
if (_MyDocVersion != value)
|
if (_MyDocVersion != value)
|
||||||
{
|
{
|
||||||
_MyDocVersion = value;
|
_MyDocVersion = value;
|
||||||
@ -161,7 +157,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ROFstID", true);
|
|
||||||
if (_MyROFst != null) _ROFstID = _MyROFst.ROFstID;
|
if (_MyROFst != null) _ROFstID = _MyROFst.ROFstID;
|
||||||
return _ROFstID;
|
return _ROFstID;
|
||||||
}
|
}
|
||||||
@ -172,14 +168,13 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyROFst", true);
|
|
||||||
if (_MyROFst == null && _ROFstID != 0) _MyROFst = ROFst.Get(_ROFstID);
|
if (_MyROFst == null && _ROFstID != 0) _MyROFst = ROFst.Get(_ROFstID);
|
||||||
return _MyROFst;
|
return _MyROFst;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyROFst", true);
|
|
||||||
if (_MyROFst != value)
|
if (_MyROFst != value)
|
||||||
{
|
{
|
||||||
_MyROFst = value;
|
_MyROFst = value;
|
||||||
@ -194,13 +189,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -215,13 +208,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -235,13 +226,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -255,7 +244,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -273,7 +262,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyDocVersion == null ? true : _MyDocVersion.IsValidList(list)) && (_MyROFst == null ? true : _MyROFst.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyDocVersion == null ? true : _MyDocVersion.IsValidList(list)) && (_MyROFst == null ? true : _MyROFst.IsValidList(list));
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AssociationID", true);
|
|
||||||
return _AssociationID;
|
return _AssociationID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("VersionID", true);
|
|
||||||
if (_MyDocVersion != null) _VersionID = _MyDocVersion.VersionID;
|
if (_MyDocVersion != null) _VersionID = _MyDocVersion.VersionID;
|
||||||
return _VersionID;
|
return _VersionID;
|
||||||
}
|
}
|
||||||
@ -117,7 +115,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyDocVersion", true);
|
|
||||||
if (_MyDocVersion == null && _VersionID != 0) _MyDocVersion = DocVersionInfo.Get(_VersionID);
|
if (_MyDocVersion == null && _VersionID != 0) _MyDocVersion = DocVersionInfo.Get(_VersionID);
|
||||||
return _MyDocVersion;
|
return _MyDocVersion;
|
||||||
}
|
}
|
||||||
@ -128,7 +125,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ROFstID", true);
|
|
||||||
if (_MyROFst != null) _ROFstID = _MyROFst.ROFstID;
|
if (_MyROFst != null) _ROFstID = _MyROFst.ROFstID;
|
||||||
return _ROFstID;
|
return _ROFstID;
|
||||||
}
|
}
|
||||||
@ -139,7 +135,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyROFst", true);
|
|
||||||
//if (_MyROFst == null && _ROFstID != 0) _MyROFst = ROFstInfo.Get(_ROFstID);
|
//if (_MyROFst == null && _ROFstID != 0) _MyROFst = ROFstInfo.Get(_ROFstID);
|
||||||
if (_MyROFst == null && _ROFstID != 0) _MyROFst = ROFstInfo.GetJustROFst(_ROFstID);// Improve performance by not loading all ROImages
|
if (_MyROFst == null && _ROFstID != 0) _MyROFst = ROFstInfo.GetJustROFst(_ROFstID);// Improve performance by not loading all ROImages
|
||||||
return _MyROFst;
|
return _MyROFst;
|
||||||
@ -151,7 +146,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -161,7 +155,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -171,7 +164,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -108,7 +108,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("CheckID", true);
|
|
||||||
return _CheckID;
|
return _CheckID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -118,7 +117,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RevisionID", true);
|
|
||||||
if (_MyRevision != null) _RevisionID = _MyRevision.RevisionID;
|
if (_MyRevision != null) _RevisionID = _MyRevision.RevisionID;
|
||||||
return _RevisionID;
|
return _RevisionID;
|
||||||
}
|
}
|
||||||
@ -129,14 +127,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyRevision", true);
|
|
||||||
if (_MyRevision == null && _RevisionID != 0) _MyRevision = Revision.Get(_RevisionID);
|
if (_MyRevision == null && _RevisionID != 0) _MyRevision = Revision.Get(_RevisionID);
|
||||||
return _MyRevision;
|
return _MyRevision;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyRevision", true);
|
|
||||||
if (_MyRevision != value)
|
if (_MyRevision != value)
|
||||||
{
|
{
|
||||||
_MyRevision = value;
|
_MyRevision = value;
|
||||||
@ -151,7 +147,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("StageID", true);
|
|
||||||
if (_MyStage != null) _StageID = _MyStage.StageID;
|
if (_MyStage != null) _StageID = _MyStage.StageID;
|
||||||
return _StageID;
|
return _StageID;
|
||||||
}
|
}
|
||||||
@ -162,14 +157,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyStage", true);
|
|
||||||
if (_MyStage == null && _StageID != 0) _MyStage = Stage.GetJustStage(_StageID);
|
if (_MyStage == null && _StageID != 0) _MyStage = Stage.GetJustStage(_StageID);
|
||||||
return _MyStage;
|
return _MyStage;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyStage", true);
|
|
||||||
if (_MyStage != value)
|
if (_MyStage != value)
|
||||||
{
|
{
|
||||||
_MyStage = value;
|
_MyStage = value;
|
||||||
@ -184,13 +177,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ConsistencyChecks", true);
|
|
||||||
return _ConsistencyChecks;
|
return _ConsistencyChecks;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ConsistencyChecks", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_ConsistencyChecks != value)
|
if (_ConsistencyChecks != value)
|
||||||
{
|
{
|
||||||
@ -205,13 +196,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -225,13 +214,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -245,7 +232,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -263,7 +250,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyRevision == null ? true : _MyRevision.IsValidList(list)) && (_MyStage == null ? true : _MyStage.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyRevision == null ? true : _MyRevision.IsValidList(list)) && (_MyStage == null ? true : _MyStage.IsValidList(list));
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("CheckID", true);
|
|
||||||
return _CheckID;
|
return _CheckID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RevisionID", true);
|
|
||||||
if (_MyRevision != null) _RevisionID = _MyRevision.RevisionID;
|
if (_MyRevision != null) _RevisionID = _MyRevision.RevisionID;
|
||||||
return _RevisionID;
|
return _RevisionID;
|
||||||
}
|
}
|
||||||
@ -117,7 +115,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyRevision", true);
|
|
||||||
if (_MyRevision == null && _RevisionID != 0) _MyRevision = RevisionInfo.Get(_RevisionID);
|
if (_MyRevision == null && _RevisionID != 0) _MyRevision = RevisionInfo.Get(_RevisionID);
|
||||||
return _MyRevision;
|
return _MyRevision;
|
||||||
}
|
}
|
||||||
@ -128,7 +125,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("StageID", true);
|
|
||||||
if (_MyStage != null) _StageID = _MyStage.StageID;
|
if (_MyStage != null) _StageID = _MyStage.StageID;
|
||||||
return _StageID;
|
return _StageID;
|
||||||
}
|
}
|
||||||
@ -139,7 +135,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyStage", true);
|
|
||||||
if (_MyStage == null && _StageID != 0) _MyStage = StageInfo.GetJustStage(_StageID);
|
if (_MyStage == null && _StageID != 0) _MyStage = StageInfo.GetJustStage(_StageID);
|
||||||
return _MyStage;
|
return _MyStage;
|
||||||
}
|
}
|
||||||
@ -150,7 +145,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ConsistencyChecks", true);
|
|
||||||
return _ConsistencyChecks;
|
return _ConsistencyChecks;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -160,7 +154,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -170,7 +163,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -129,7 +129,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DBID", true);
|
|
||||||
return _DBID;
|
return _DBID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -139,13 +138,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Name", true);
|
|
||||||
return _Name;
|
return _Name;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Name", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Name != value)
|
if (_Name != value)
|
||||||
{
|
{
|
||||||
@ -160,13 +157,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Title", true);
|
|
||||||
return _Title;
|
return _Title;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Title", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Title != value)
|
if (_Title != value)
|
||||||
{
|
{
|
||||||
@ -181,13 +176,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ConnectionString", true);
|
|
||||||
return _ConnectionString;
|
return _ConnectionString;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ConnectionString", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_ConnectionString != value)
|
if (_ConnectionString != value)
|
||||||
{
|
{
|
||||||
@ -205,13 +198,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ServerType", true);
|
|
||||||
return _ServerType;
|
return _ServerType;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ServerType", true);
|
|
||||||
if (_ServerType != value)
|
if (_ServerType != value)
|
||||||
{
|
{
|
||||||
_ServerType = value;
|
_ServerType = value;
|
||||||
@ -225,13 +216,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -246,13 +235,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -266,13 +253,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UsrID", true);
|
|
||||||
return _UsrID;
|
return _UsrID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UsrID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UsrID != value)
|
if (_UsrID != value)
|
||||||
{
|
{
|
||||||
@ -291,7 +276,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ConnectionFolderCount", true);
|
|
||||||
return _ConnectionFolderCount;
|
return _ConnectionFolderCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -305,10 +289,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ConnectionFolders", true);
|
|
||||||
if (_ConnectionFolderCount < 0 || (_ConnectionFolderCount > 0 && _ConnectionFolders == null))
|
if (_ConnectionFolderCount < 0 || (_ConnectionFolderCount > 0 && _ConnectionFolders == null))
|
||||||
_ConnectionFolders = ConnectionFolders.GetByDBID(DBID);
|
_ConnectionFolders = ConnectionFolders.GetByDBID(DBID);
|
||||||
if (_ConnectionFolderCount < 0 )
|
if (_ConnectionFolderCount < 0)
|
||||||
_ConnectionFolderCount = _ConnectionFolders == null ? 0 : _ConnectionFolders.Count;
|
_ConnectionFolderCount = _ConnectionFolders == null ? 0 : _ConnectionFolders.Count;
|
||||||
if (_ConnectionFolders == null)
|
if (_ConnectionFolders == null)
|
||||||
_ConnectionFolders = ConnectionFolders.New();
|
_ConnectionFolders = ConnectionFolders.New();
|
||||||
@ -323,7 +306,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -341,7 +324,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_ConnectionFolders == null ? true : _ConnectionFolders.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_ConnectionFolders == null ? true : _ConnectionFolders.IsValidList(list));
|
||||||
|
@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FolderID", true);
|
|
||||||
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
||||||
return _FolderID;
|
return _FolderID;
|
||||||
}
|
}
|
||||||
@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyFolder", true);
|
|
||||||
if (_MyFolder == null && _FolderID != 0) _MyFolder = Folder.Get(_FolderID);
|
if (_MyFolder == null && _FolderID != 0) _MyFolder = Folder.Get(_FolderID);
|
||||||
return _MyFolder;
|
return _MyFolder;
|
||||||
}
|
}
|
||||||
@ -66,7 +64,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ParentID", true);
|
|
||||||
if (_MyParent != null) _ParentID = _MyParent.FolderID;
|
if (_MyParent != null) _ParentID = _MyParent.FolderID;
|
||||||
return _ParentID;
|
return _ParentID;
|
||||||
}
|
}
|
||||||
@ -77,14 +74,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyParent", true);
|
|
||||||
if (_MyParent == null && _ParentID != _FolderID) _MyParent = Folder.Get(_ParentID);
|
if (_MyParent == null && _ParentID != _FolderID) _MyParent = Folder.Get(_ParentID);
|
||||||
return _MyParent;
|
return _MyParent;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyParent", true);
|
|
||||||
if (_MyParent != value)
|
if (_MyParent != value)
|
||||||
{
|
{
|
||||||
_MyParent = value;
|
_MyParent = value;
|
||||||
@ -99,13 +94,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Name", true);
|
|
||||||
return _Name;
|
return _Name;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Name", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Name != value)
|
if (_Name != value)
|
||||||
{
|
{
|
||||||
@ -120,13 +113,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Title", true);
|
|
||||||
return _Title;
|
return _Title;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Title", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Title != value)
|
if (_Title != value)
|
||||||
{
|
{
|
||||||
@ -141,13 +132,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ShortName", true);
|
|
||||||
return _ShortName;
|
return _ShortName;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ShortName", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_ShortName != value)
|
if (_ShortName != value)
|
||||||
{
|
{
|
||||||
@ -162,7 +151,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatID", true);
|
|
||||||
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
||||||
return _FormatID;
|
return _FormatID;
|
||||||
}
|
}
|
||||||
@ -173,14 +161,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyFormat", true);
|
|
||||||
if (_MyFormat == null && _FormatID != null) _MyFormat = Format.Get((int)_FormatID);
|
if (_MyFormat == null && _FormatID != null) _MyFormat = Format.Get((int)_FormatID);
|
||||||
return _MyFormat;
|
return _MyFormat;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyFormat", true);
|
|
||||||
if ((_MyFormat == null ? _FormatID : (int?)_MyFormat.FormatID) != (value == null ? null : (int?)value.FormatID))
|
if ((_MyFormat == null ? _FormatID : (int?)_MyFormat.FormatID) != (value == null ? null : (int?)value.FormatID))
|
||||||
{
|
{
|
||||||
_MyFormat = value;
|
_MyFormat = value;
|
||||||
@ -195,13 +181,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ManualOrder", true);
|
|
||||||
return _ManualOrder;
|
return _ManualOrder;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ManualOrder", true);
|
|
||||||
if (_ManualOrder != value)
|
if (_ManualOrder != value)
|
||||||
{
|
{
|
||||||
_ManualOrder = value;
|
_ManualOrder = value;
|
||||||
@ -215,13 +199,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -236,13 +218,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -256,13 +236,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UsrID", true);
|
|
||||||
return _UsrID;
|
return _UsrID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UsrID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UsrID != value)
|
if (_UsrID != value)
|
||||||
{
|
{
|
||||||
@ -294,7 +272,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -312,7 +290,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyFolder == null ? true : _MyFolder.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyFolder == null ? true : _MyFolder.IsValidList(list));
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DBID", true);
|
|
||||||
return _DBID;
|
return _DBID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Name", true);
|
|
||||||
return _Name;
|
return _Name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Title", true);
|
|
||||||
return _Title;
|
return _Title;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ConnectionString", true);
|
|
||||||
return _ConnectionString;
|
return _ConnectionString;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -139,7 +135,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ServerType", true);
|
|
||||||
return _ServerType;
|
return _ServerType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -149,7 +144,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -159,7 +153,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -169,7 +162,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UsrID", true);
|
|
||||||
return _UsrID;
|
return _UsrID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -182,7 +174,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ConnectionFolderCount", true);
|
|
||||||
if (_ConnectionFolderCount < 0)
|
if (_ConnectionFolderCount < 0)
|
||||||
_ConnectionFolderCount = ConnectionFolders.Count;
|
_ConnectionFolderCount = ConnectionFolders.Count;
|
||||||
return _ConnectionFolderCount;
|
return _ConnectionFolderCount;
|
||||||
@ -195,7 +186,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ConnectionFolders", true);
|
|
||||||
if (_ConnectionFolderCount < 0 || (_ConnectionFolderCount > 0 && _ConnectionFolders == null))
|
if (_ConnectionFolderCount < 0 || (_ConnectionFolderCount > 0 && _ConnectionFolders == null))
|
||||||
_ConnectionFolders = FolderInfoList.GetByDBID(_DBID);
|
_ConnectionFolders = FolderInfoList.GetByDBID(_DBID);
|
||||||
if (_ConnectionFolderCount < 0)
|
if (_ConnectionFolderCount < 0)
|
||||||
|
@ -175,7 +175,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -188,13 +187,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Number", true);
|
|
||||||
return _Number;
|
return _Number;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Number", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Number != value)
|
if (_Number != value)
|
||||||
{
|
{
|
||||||
@ -210,14 +207,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (Disposed) throw new Exception("Attempt to access Disposed Object");
|
if (Disposed) throw new Exception("Attempt to access Disposed Object");
|
||||||
CanReadProperty("Text", true);
|
|
||||||
return _Text;
|
return _Text;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if (Disposed) throw new Exception("Attempt to access Disposed Object");
|
if (Disposed) throw new Exception("Attempt to access Disposed Object");
|
||||||
CanWriteProperty("Text", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Text != value)
|
if (_Text != value)
|
||||||
{
|
{
|
||||||
@ -235,13 +230,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Type", true);
|
|
||||||
return _Type;
|
return _Type;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Type", true);
|
|
||||||
if (_Type != value)
|
if (_Type != value)
|
||||||
{
|
{
|
||||||
_Type = value;
|
_Type = value;
|
||||||
@ -255,7 +248,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatID", true);
|
|
||||||
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
||||||
return _FormatID;
|
return _FormatID;
|
||||||
}
|
}
|
||||||
@ -266,14 +258,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyFormat", true);
|
|
||||||
if (_MyFormat == null && _FormatID != null) _MyFormat = Format.Get((int)_FormatID);
|
if (_MyFormat == null && _FormatID != null) _MyFormat = Format.Get((int)_FormatID);
|
||||||
return _MyFormat;
|
return _MyFormat;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyFormat", true);
|
|
||||||
if ((_MyFormat == null ? _FormatID : (int?)_MyFormat.FormatID) != (value == null ? null : (int?)value.FormatID))
|
if ((_MyFormat == null ? _FormatID : (int?)_MyFormat.FormatID) != (value == null ? null : (int?)value.FormatID))
|
||||||
{
|
{
|
||||||
_MyFormat = value;
|
_MyFormat = value;
|
||||||
@ -288,13 +278,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -309,13 +297,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -329,13 +315,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -350,7 +334,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("LastChanged", true);
|
|
||||||
return _LastChanged;
|
return _LastChanged;
|
||||||
}
|
}
|
||||||
set { _LastChanged = value; }
|
set { _LastChanged = value; }
|
||||||
@ -364,7 +347,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentDetailCount", true);
|
|
||||||
return _ContentDetailCount;
|
return _ContentDetailCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -378,10 +360,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentDetails", true);
|
|
||||||
if (_ContentDetailCount < 0 || (_ContentDetailCount > 0 && _ContentDetails == null))
|
if (_ContentDetailCount < 0 || (_ContentDetailCount > 0 && _ContentDetails == null))
|
||||||
_ContentDetails = ContentDetails.GetByContentID(ContentID);
|
_ContentDetails = ContentDetails.GetByContentID(ContentID);
|
||||||
if (_ContentDetailCount < 0 )
|
if (_ContentDetailCount < 0)
|
||||||
_ContentDetailCount = _ContentDetails == null ? 0 : _ContentDetails.Count;
|
_ContentDetailCount = _ContentDetails == null ? 0 : _ContentDetails.Count;
|
||||||
if (_ContentDetails == null)
|
if (_ContentDetails == null)
|
||||||
_ContentDetails = ContentDetails.New();
|
_ContentDetails = ContentDetails.New();
|
||||||
@ -401,7 +382,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentEntryCount", true);
|
|
||||||
return _ContentEntryCount;
|
return _ContentEntryCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -415,7 +395,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyEntry", true);
|
|
||||||
if (_MyEntry == null) _MyEntry = Entry.New(this);
|
if (_MyEntry == null) _MyEntry = Entry.New(this);
|
||||||
return _MyEntry;
|
return _MyEntry;
|
||||||
}
|
}
|
||||||
@ -435,7 +414,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentGridCount", true);
|
|
||||||
return _ContentGridCount;
|
return _ContentGridCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -449,7 +427,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyGrid", true);
|
|
||||||
if (_MyGrid == null) _MyGrid = Grid.New(this);
|
if (_MyGrid == null) _MyGrid = Grid.New(this);
|
||||||
return _MyGrid;
|
return _MyGrid;
|
||||||
}
|
}
|
||||||
@ -467,7 +444,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentImageCount", true);
|
|
||||||
return _ContentImageCount;
|
return _ContentImageCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -481,7 +457,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyImage", true);
|
|
||||||
if (_MyImage == null) _MyImage = Image.New(this);
|
if (_MyImage == null) _MyImage = Image.New(this);
|
||||||
return _MyImage;
|
return _MyImage;
|
||||||
}
|
}
|
||||||
@ -495,7 +470,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentItemCount", true);
|
|
||||||
return _ContentItemCount;
|
return _ContentItemCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -509,10 +483,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentItems", true);
|
|
||||||
if (_ContentItemCount < 0 || (_ContentItemCount > 0 && _ContentItems == null))
|
if (_ContentItemCount < 0 || (_ContentItemCount > 0 && _ContentItems == null))
|
||||||
_ContentItems = ContentItems.GetByContentID(ContentID);
|
_ContentItems = ContentItems.GetByContentID(ContentID);
|
||||||
if (_ContentItemCount < 0 )
|
if (_ContentItemCount < 0)
|
||||||
_ContentItemCount = _ContentItems == null ? 0 : _ContentItems.Count;
|
_ContentItemCount = _ContentItems == null ? 0 : _ContentItems.Count;
|
||||||
if (_ContentItems == null)
|
if (_ContentItems == null)
|
||||||
_ContentItems = ContentItems.New();
|
_ContentItems = ContentItems.New();
|
||||||
@ -532,7 +505,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentPartCount", true);
|
|
||||||
return _ContentPartCount;
|
return _ContentPartCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -546,10 +518,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentParts", true);
|
|
||||||
if (_ContentPartCount < 0 || (_ContentPartCount > 0 && _ContentParts == null))
|
if (_ContentPartCount < 0 || (_ContentPartCount > 0 && _ContentParts == null))
|
||||||
_ContentParts = ContentParts.GetByContentID(ContentID);
|
_ContentParts = ContentParts.GetByContentID(ContentID);
|
||||||
if (_ContentPartCount < 0 )
|
if (_ContentPartCount < 0)
|
||||||
_ContentPartCount = _ContentParts == null ? 0 : _ContentParts.Count;
|
_ContentPartCount = _ContentParts == null ? 0 : _ContentParts.Count;
|
||||||
if (_ContentParts == null)
|
if (_ContentParts == null)
|
||||||
_ContentParts = ContentParts.New();
|
_ContentParts = ContentParts.New();
|
||||||
@ -569,7 +540,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentRoUsageCount", true);
|
|
||||||
if (_ContentRoUsageCount < 0)
|
if (_ContentRoUsageCount < 0)
|
||||||
_ContentRoUsageCount = ContentRoUsages.Count;
|
_ContentRoUsageCount = ContentRoUsages.Count;
|
||||||
return _ContentRoUsageCount;
|
return _ContentRoUsageCount;
|
||||||
@ -585,10 +555,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentRoUsages", true);
|
|
||||||
if (_ContentRoUsageCount < 0 || (_ContentRoUsageCount > 0 && _ContentRoUsages == null))
|
if (_ContentRoUsageCount < 0 || (_ContentRoUsageCount > 0 && _ContentRoUsages == null))
|
||||||
_ContentRoUsages = ContentRoUsages.GetByContentID(ContentID);
|
_ContentRoUsages = ContentRoUsages.GetByContentID(ContentID);
|
||||||
if (_ContentRoUsageCount < 0 )
|
if (_ContentRoUsageCount < 0)
|
||||||
_ContentRoUsageCount = _ContentRoUsages == null ? 0 : _ContentRoUsages.Count;
|
_ContentRoUsageCount = _ContentRoUsages == null ? 0 : _ContentRoUsages.Count;
|
||||||
if (_ContentRoUsages == null)
|
if (_ContentRoUsages == null)
|
||||||
_ContentRoUsages = ContentRoUsages.New();
|
_ContentRoUsages = ContentRoUsages.New();
|
||||||
@ -608,7 +577,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentTransitionCount", true);
|
|
||||||
if (_ContentTransitionCount < 0)
|
if (_ContentTransitionCount < 0)
|
||||||
_ContentTransitionCount = ContentTransitions.Count;
|
_ContentTransitionCount = ContentTransitions.Count;
|
||||||
return _ContentTransitionCount;
|
return _ContentTransitionCount;
|
||||||
@ -624,10 +592,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentTransitions", true);
|
|
||||||
if (_ContentTransitionCount < 0 || (_ContentTransitionCount > 0 && _ContentTransitions == null))
|
if (_ContentTransitionCount < 0 || (_ContentTransitionCount > 0 && _ContentTransitions == null))
|
||||||
_ContentTransitions = ContentTransitions.GetByFromID(ContentID);
|
_ContentTransitions = ContentTransitions.GetByFromID(ContentID);
|
||||||
if (_ContentTransitionCount < 0 )
|
if (_ContentTransitionCount < 0)
|
||||||
_ContentTransitionCount = _ContentTransitions == null ? 0 : _ContentTransitions.Count;
|
_ContentTransitionCount = _ContentTransitions == null ? 0 : _ContentTransitions.Count;
|
||||||
if (_ContentTransitions == null)
|
if (_ContentTransitions == null)
|
||||||
_ContentTransitions = ContentTransitions.New();
|
_ContentTransitions = ContentTransitions.New();
|
||||||
@ -647,7 +614,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentZContentCount", true);
|
|
||||||
return _ContentZContentCount;
|
return _ContentZContentCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -661,7 +627,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyZContent", true);
|
|
||||||
if (_MyZContent == null) _MyZContent = ZContent.New(this);
|
if (_MyZContent == null) _MyZContent = ZContent.New(this);
|
||||||
return _MyZContent;
|
return _MyZContent;
|
||||||
}
|
}
|
||||||
@ -670,7 +635,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -688,7 +653,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_ContentDetails == null ? true : _ContentDetails.IsValidList(list)) && (_MyEntry == null ? true : _MyEntry.IsValidList(list)) && (_MyGrid == null ? true : _MyGrid.IsValidList(list)) && (_MyImage == null ? true : _MyImage.IsValidList(list)) && (_ContentItems == null ? true : _ContentItems.IsValidList(list)) && (_ContentParts == null ? true : _ContentParts.IsValidList(list)) && (_ContentRoUsages == null ? true : _ContentRoUsages.IsValidList(list)) && (_ContentTransitions == null ? true : _ContentTransitions.IsValidList(list)) && (_MyZContent == null ? true : _MyZContent.IsValidList(list)) && (_MyFormat == null ? true : _MyFormat.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_ContentDetails == null ? true : _ContentDetails.IsValidList(list)) && (_MyEntry == null ? true : _MyEntry.IsValidList(list)) && (_MyGrid == null ? true : _MyGrid.IsValidList(list)) && (_MyImage == null ? true : _MyImage.IsValidList(list)) && (_ContentItems == null ? true : _ContentItems.IsValidList(list)) && (_ContentParts == null ? true : _ContentParts.IsValidList(list)) && (_ContentRoUsages == null ? true : _ContentRoUsages.IsValidList(list)) && (_ContentTransitions == null ? true : _ContentTransitions.IsValidList(list)) && (_MyZContent == null ? true : _MyZContent.IsValidList(list)) && (_MyFormat == null ? true : _MyFormat.IsValidList(list));
|
||||||
|
@ -106,7 +106,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,13 +115,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ContentID", true);
|
|
||||||
if (_ContentID != value)
|
if (_ContentID != value)
|
||||||
{
|
{
|
||||||
_ContentID = value;
|
_ContentID = value;
|
||||||
@ -136,13 +133,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Number", true);
|
|
||||||
return _Number;
|
return _Number;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Number", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Number != value)
|
if (_Number != value)
|
||||||
{
|
{
|
||||||
@ -157,13 +152,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Text", true);
|
|
||||||
return _Text;
|
return _Text;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Text", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Text != value)
|
if (_Text != value)
|
||||||
{
|
{
|
||||||
@ -178,13 +171,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Type", true);
|
|
||||||
return _Type;
|
return _Type;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Type", true);
|
|
||||||
if (_Type != value)
|
if (_Type != value)
|
||||||
{
|
{
|
||||||
_Type = value;
|
_Type = value;
|
||||||
@ -198,13 +189,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatID", true);
|
|
||||||
return _FormatID;
|
return _FormatID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("FormatID", true);
|
|
||||||
if (_FormatID != value)
|
if (_FormatID != value)
|
||||||
{
|
{
|
||||||
_FormatID = value;
|
_FormatID = value;
|
||||||
@ -218,13 +207,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -239,13 +226,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -259,13 +244,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -280,13 +263,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DeleteStatus", true);
|
|
||||||
if (_DeleteStatus != value)
|
if (_DeleteStatus != value)
|
||||||
{
|
{
|
||||||
_DeleteStatus = value;
|
_DeleteStatus = value;
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Number", true);
|
|
||||||
return _Number;
|
return _Number;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Text", true);
|
|
||||||
return _Text;
|
return _Text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Type", true);
|
|
||||||
return _Type;
|
return _Type;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -146,7 +141,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatID", true);
|
|
||||||
return _FormatID;
|
return _FormatID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -156,7 +150,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -166,7 +159,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -176,7 +168,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -186,7 +177,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DetailID", true);
|
|
||||||
if (_MyDetail != null) _DetailID = _MyDetail.DetailID;
|
if (_MyDetail != null) _DetailID = _MyDetail.DetailID;
|
||||||
return _DetailID;
|
return _DetailID;
|
||||||
}
|
}
|
||||||
@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyDetail", true);
|
|
||||||
if (_MyDetail == null && _DetailID != 0) _MyDetail = Detail.Get(_DetailID);
|
if (_MyDetail == null && _DetailID != 0) _MyDetail = Detail.Get(_DetailID);
|
||||||
return _MyDetail;
|
return _MyDetail;
|
||||||
}
|
}
|
||||||
@ -66,13 +64,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemType", true);
|
|
||||||
return _ItemType;
|
return _ItemType;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ItemType", true);
|
|
||||||
if (_ItemType != value)
|
if (_ItemType != value)
|
||||||
{
|
{
|
||||||
_ItemType = value;
|
_ItemType = value;
|
||||||
@ -86,13 +82,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Text", true);
|
|
||||||
return _Text;
|
return _Text;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Text", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Text != value)
|
if (_Text != value)
|
||||||
{
|
{
|
||||||
@ -107,13 +101,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -128,13 +120,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -148,13 +138,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
|
@ -43,7 +43,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
private void OnChange()
|
private void OnChange()
|
||||||
{
|
{
|
||||||
string key = ContentID.ToString();
|
string key = ContentID.ToString();
|
||||||
if( _CacheByPrimaryKey.ContainsKey(key))
|
if (_CacheByPrimaryKey.ContainsKey(key))
|
||||||
foreach (ContentInfo cont in _CacheByPrimaryKey[key])
|
foreach (ContentInfo cont in _CacheByPrimaryKey[key])
|
||||||
cont.OnChange(cont);
|
cont.OnChange(cont);
|
||||||
else
|
else
|
||||||
@ -88,6 +88,19 @@ namespace VEPROMS.CSLA.Library
|
|||||||
if (_CacheByPrimaryKey.ContainsKey(key)) return _CacheByPrimaryKey[key][0];
|
if (_CacheByPrimaryKey.ContainsKey(key)) return _CacheByPrimaryKey[key][0];
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
public static void ClearContentInfoCache()
|
||||||
|
{
|
||||||
|
_CacheByPrimaryKey.Clear();
|
||||||
|
while (_CacheList.Count > 0)
|
||||||
|
{
|
||||||
|
while (_CacheList[0]?._ContentItems?.Count > 0)
|
||||||
|
{
|
||||||
|
_CacheList[0]?._ContentItems[0]?.Dispose();
|
||||||
|
}
|
||||||
|
_CacheList[0]?._ContentItems?.Dispose();
|
||||||
|
_CacheList[0].Dispose();
|
||||||
|
}
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
||||||
#region Business Methods
|
#region Business Methods
|
||||||
private string _ErrorMessage = string.Empty;
|
private string _ErrorMessage = string.Empty;
|
||||||
@ -113,7 +126,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -123,7 +135,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("LastChanged", true);
|
|
||||||
return _LastChanged;
|
return _LastChanged;
|
||||||
}
|
}
|
||||||
set { _LastChanged = value; }
|
set { _LastChanged = value; }
|
||||||
@ -138,7 +149,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Number", true);
|
|
||||||
return _Number;
|
return _Number;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -149,7 +159,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (_Disposed) throw new Exception("Cannot access disposed object");
|
if (_Disposed) throw new Exception("Cannot access disposed object");
|
||||||
CanReadProperty("Text", true);
|
|
||||||
return _Text;
|
return _Text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -162,7 +171,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Type", true);
|
|
||||||
return _Type;
|
return _Type;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -172,7 +180,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatID", true);
|
|
||||||
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
||||||
return _FormatID;
|
return _FormatID;
|
||||||
}
|
}
|
||||||
@ -183,7 +190,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyFormat", true);
|
|
||||||
if (_MyFormat == null && _FormatID != null) _MyFormat = FormatInfo.Get((int)_FormatID);
|
if (_MyFormat == null && _FormatID != null) _MyFormat = FormatInfo.Get((int)_FormatID);
|
||||||
return _MyFormat;
|
return _MyFormat;
|
||||||
}
|
}
|
||||||
@ -194,7 +200,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -204,7 +209,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -214,7 +218,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -227,7 +230,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentDetailCount", true);
|
|
||||||
if (_ContentDetailCount < 0)
|
if (_ContentDetailCount < 0)
|
||||||
_ContentDetailCount = ContentDetails.Count;
|
_ContentDetailCount = ContentDetails.Count;
|
||||||
return _ContentDetailCount;
|
return _ContentDetailCount;
|
||||||
@ -240,7 +242,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentDetails", true);
|
|
||||||
if (_ContentDetailCount < 0 || (_ContentDetailCount > 0 && _ContentDetails == null))
|
if (_ContentDetailCount < 0 || (_ContentDetailCount > 0 && _ContentDetails == null))
|
||||||
_ContentDetails = DetailInfoList.GetByContentID(_ContentID);
|
_ContentDetails = DetailInfoList.GetByContentID(_ContentID);
|
||||||
if (_ContentDetailCount < 0)
|
if (_ContentDetailCount < 0)
|
||||||
@ -265,7 +266,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentEntryCount", true);
|
|
||||||
if (_ContentEntryCount < 0)
|
if (_ContentEntryCount < 0)
|
||||||
{
|
{
|
||||||
_MyEntry = EntryInfo.Get(_ContentID);
|
_MyEntry = EntryInfo.Get(_ContentID);
|
||||||
@ -281,7 +281,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyEntry", true);
|
|
||||||
if (_ContentEntryCount != 0 && _MyEntry == null)
|
if (_ContentEntryCount != 0 && _MyEntry == null)
|
||||||
{
|
{
|
||||||
_MyEntry = EntryInfo.Get(_ContentID);
|
_MyEntry = EntryInfo.Get(_ContentID);
|
||||||
@ -299,7 +298,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentGridCount", true);
|
|
||||||
return _ContentGridCount;
|
return _ContentGridCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -310,7 +308,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyGrid", true);
|
|
||||||
if (_ContentGridCount == -1 && _MyGrid != null)
|
if (_ContentGridCount == -1 && _MyGrid != null)
|
||||||
{
|
{
|
||||||
_MyGrid = null;
|
_MyGrid = null;
|
||||||
@ -332,7 +329,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentImageCount", true);
|
|
||||||
return _ContentImageCount;
|
return _ContentImageCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -343,7 +339,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyImage", true);
|
|
||||||
if (_ContentImageCount != 0 && _MyImage == null)
|
if (_ContentImageCount != 0 && _MyImage == null)
|
||||||
{
|
{
|
||||||
_MyImage = ImageInfo.Get(_ContentID);
|
_MyImage = ImageInfo.Get(_ContentID);
|
||||||
@ -361,7 +356,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentItemCount", true);
|
|
||||||
if (_ContentItemCount < 0)
|
if (_ContentItemCount < 0)
|
||||||
_ContentItemCount = ContentItems.Count;
|
_ContentItemCount = ContentItems.Count;
|
||||||
return _ContentItemCount;
|
return _ContentItemCount;
|
||||||
@ -374,7 +368,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentItems", true);
|
|
||||||
if (_ContentItemCount < 0 || (_ContentItemCount > 0 && _ContentItems == null))
|
if (_ContentItemCount < 0 || (_ContentItemCount > 0 && _ContentItems == null))
|
||||||
_ContentItems = ItemInfoList.GetByContentID(_ContentID);
|
_ContentItems = ItemInfoList.GetByContentID(_ContentID);
|
||||||
if (_ContentItemCount < 0)
|
if (_ContentItemCount < 0)
|
||||||
@ -399,7 +392,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentPartCount", true);
|
|
||||||
if (_ContentPartCount < 0)
|
if (_ContentPartCount < 0)
|
||||||
_ContentPartCount = ContentParts.Count;
|
_ContentPartCount = ContentParts.Count;
|
||||||
return _ContentPartCount;
|
return _ContentPartCount;
|
||||||
@ -412,7 +404,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentParts", true);
|
|
||||||
if (_ContentPartCount < 0 || (_ContentPartCount > 0 && _ContentParts == null))
|
if (_ContentPartCount < 0 || (_ContentPartCount > 0 && _ContentParts == null))
|
||||||
_ContentParts = PartInfoList.GetByContentID(_ContentID);
|
_ContentParts = PartInfoList.GetByContentID(_ContentID);
|
||||||
if (_ContentPartCount < 0)
|
if (_ContentPartCount < 0)
|
||||||
@ -437,7 +428,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentRoUsageCount", true);
|
|
||||||
if (_ContentRoUsageCount < 0)
|
if (_ContentRoUsageCount < 0)
|
||||||
_ContentRoUsageCount = ContentRoUsages.Count;
|
_ContentRoUsageCount = ContentRoUsages.Count;
|
||||||
return _ContentRoUsageCount;
|
return _ContentRoUsageCount;
|
||||||
@ -450,7 +440,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentRoUsages", true);
|
|
||||||
if (_ContentRoUsageCount < 0 || (_ContentRoUsageCount > 0 && _ContentRoUsages == null))
|
if (_ContentRoUsageCount < 0 || (_ContentRoUsageCount > 0 && _ContentRoUsages == null))
|
||||||
_ContentRoUsages = RoUsageInfoList.GetByContentID(_ContentID);
|
_ContentRoUsages = RoUsageInfoList.GetByContentID(_ContentID);
|
||||||
if (_ContentRoUsageCount < 0)
|
if (_ContentRoUsageCount < 0)
|
||||||
@ -475,7 +464,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentTransitionCount", true);
|
|
||||||
if (_ContentTransitionCount < 0)
|
if (_ContentTransitionCount < 0)
|
||||||
_ContentTransitionCount = ContentTransitions.Count;
|
_ContentTransitionCount = ContentTransitions.Count;
|
||||||
return _ContentTransitionCount;
|
return _ContentTransitionCount;
|
||||||
@ -488,7 +476,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentTransitions", true);
|
|
||||||
if (_ContentTransitionCount < 0 || (_ContentTransitionCount > 0 && _ContentTransitions == null))
|
if (_ContentTransitionCount < 0 || (_ContentTransitionCount > 0 && _ContentTransitions == null))
|
||||||
_ContentTransitions = TransitionInfoList.GetByFromID(_ContentID);
|
_ContentTransitions = TransitionInfoList.GetByFromID(_ContentID);
|
||||||
if (_ContentTransitionCount < 0)
|
if (_ContentTransitionCount < 0)
|
||||||
@ -513,7 +500,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentZContentCount", true);
|
|
||||||
return _ContentZContentCount;
|
return _ContentZContentCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -524,7 +510,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyZContent", true);
|
|
||||||
if (_ContentZContentCount != 0 && _MyZContent == null)
|
if (_ContentZContentCount != 0 && _MyZContent == null)
|
||||||
{
|
{
|
||||||
_MyZContent = ZContentInfo.Get(_ContentID);
|
_MyZContent = ZContentInfo.Get(_ContentID);
|
||||||
@ -597,7 +582,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
|
|
||||||
List<ContentInfo> listContentInfo = _CacheByPrimaryKey[str]; // Get the list of items
|
List<ContentInfo> listContentInfo = _CacheByPrimaryKey[str]; // Get the list of items
|
||||||
if (listContentInfo.Count >1) Console.WriteLine("**Cache - {0}, count = {1}", str, listContentInfo.Count);
|
if (listContentInfo.Count > 1) Console.WriteLine("**Cache - {0}, count = {1}", str, listContentInfo.Count);
|
||||||
if (listContentInfo.Count > 1)
|
if (listContentInfo.Count > 1)
|
||||||
{
|
{
|
||||||
Console.WriteLine("**Cache - {0}, count = {1}", str, listContentInfo.Count);
|
Console.WriteLine("**Cache - {0}, count = {1}", str, listContentInfo.Count);
|
||||||
|
@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemID", true);
|
|
||||||
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
||||||
return _ItemID;
|
return _ItemID;
|
||||||
}
|
}
|
||||||
@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyItem", true);
|
|
||||||
if (_MyItem == null && _ItemID != 0) _MyItem = Item.Get(_ItemID);
|
if (_MyItem == null && _ItemID != 0) _MyItem = Item.Get(_ItemID);
|
||||||
return _MyItem;
|
return _MyItem;
|
||||||
}
|
}
|
||||||
@ -66,7 +64,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("PreviousID", true);
|
|
||||||
if (_MyPrevious != null) _PreviousID = _MyPrevious.ItemID;
|
if (_MyPrevious != null) _PreviousID = _MyPrevious.ItemID;
|
||||||
return _PreviousID;
|
return _PreviousID;
|
||||||
}
|
}
|
||||||
@ -77,14 +74,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyPrevious", true);
|
|
||||||
if (_MyPrevious == null && _PreviousID != null) _MyPrevious = Item.Get((int)_PreviousID);
|
if (_MyPrevious == null && _PreviousID != null) _MyPrevious = Item.Get((int)_PreviousID);
|
||||||
return _MyPrevious;
|
return _MyPrevious;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyPrevious", true);
|
|
||||||
if ((_MyPrevious == null ? _PreviousID : (int?)_MyPrevious.ItemID) != (value == null ? null : (int?)value.ItemID))
|
if ((_MyPrevious == null ? _PreviousID : (int?)_MyPrevious.ItemID) != (value == null ? null : (int?)value.ItemID))
|
||||||
{
|
{
|
||||||
_MyPrevious = value;
|
_MyPrevious = value;
|
||||||
@ -99,13 +94,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -119,13 +112,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
|
@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FromType", true);
|
|
||||||
return _FromType;
|
return _FromType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -53,7 +52,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemID", true);
|
|
||||||
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
||||||
return _ItemID;
|
return _ItemID;
|
||||||
}
|
}
|
||||||
@ -64,14 +62,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyItem", true);
|
|
||||||
if (_MyItem == null && _ItemID != 0) _MyItem = Item.Get(_ItemID);
|
if (_MyItem == null && _ItemID != 0) _MyItem = Item.Get(_ItemID);
|
||||||
return _MyItem;
|
return _MyItem;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyItem", true);
|
|
||||||
if (_MyItem != value)
|
if (_MyItem != value)
|
||||||
{
|
{
|
||||||
_MyItem = value;
|
_MyItem = value;
|
||||||
@ -86,13 +82,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -106,13 +100,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -128,7 +120,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Item_PreviousID", true);
|
|
||||||
return _Item_PreviousID;
|
return _Item_PreviousID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -138,7 +129,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Item_ContentID", true);
|
|
||||||
return _Item_ContentID;
|
return _Item_ContentID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -148,7 +138,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Item_DTS", true);
|
|
||||||
return _Item_DTS;
|
return _Item_DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -158,7 +147,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Item_UserID", true);
|
|
||||||
return _Item_UserID;
|
return _Item_UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -184,7 +172,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -202,7 +190,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyItem == null ? true : _MyItem.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyItem == null ? true : _MyItem.IsValidList(list));
|
||||||
|
@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ROUsageID", true);
|
|
||||||
if (_MyRoUsage != null) _ROUsageID = _MyRoUsage.ROUsageID;
|
if (_MyRoUsage != null) _ROUsageID = _MyRoUsage.ROUsageID;
|
||||||
return _ROUsageID;
|
return _ROUsageID;
|
||||||
}
|
}
|
||||||
@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyRoUsage", true);
|
|
||||||
if (_MyRoUsage == null && _ROUsageID != 0) _MyRoUsage = RoUsage.Get(_ROUsageID);
|
if (_MyRoUsage == null && _ROUsageID != 0) _MyRoUsage = RoUsage.Get(_ROUsageID);
|
||||||
return _MyRoUsage;
|
return _MyRoUsage;
|
||||||
}
|
}
|
||||||
@ -66,13 +64,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ROID", true);
|
|
||||||
return _ROID;
|
return _ROID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ROID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_ROID != value)
|
if (_ROID != value)
|
||||||
{
|
{
|
||||||
@ -87,13 +83,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -108,13 +102,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -128,13 +120,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -150,7 +140,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RODbID", true);
|
|
||||||
if (_MyRODb != null) _RODbID = _MyRODb.RODbID;
|
if (_MyRODb != null) _RODbID = _MyRODb.RODbID;
|
||||||
return _RODbID;
|
return _RODbID;
|
||||||
}
|
}
|
||||||
@ -161,14 +150,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyRODb", true);
|
|
||||||
if (_MyRODb == null && _RODbID != 0) _MyRODb = RODb.Get(_RODbID);
|
if (_MyRODb == null && _RODbID != 0) _MyRODb = RODb.Get(_RODbID);
|
||||||
return _MyRODb;
|
return _MyRODb;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyRODb", true);
|
|
||||||
if (_MyRODb != value)
|
if (_MyRODb != value)
|
||||||
{
|
{
|
||||||
_MyRODb = value;
|
_MyRODb = value;
|
||||||
@ -186,7 +173,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RODb_ROName", true);
|
|
||||||
return _RODb_ROName;
|
return _RODb_ROName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -199,7 +185,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RODb_FolderPath", true);
|
|
||||||
return _RODb_FolderPath;
|
return _RODb_FolderPath;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -212,7 +197,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RODb_DBConnectionString", true);
|
|
||||||
return _RODb_DBConnectionString;
|
return _RODb_DBConnectionString;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -222,7 +206,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RODb_Config", true);
|
|
||||||
return _RODb_Config;
|
return _RODb_Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -232,7 +215,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RODb_DTS", true);
|
|
||||||
return _RODb_DTS;
|
return _RODb_DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -242,7 +224,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RODb_UserID", true);
|
|
||||||
return _RODb_UserID;
|
return _RODb_UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -268,7 +249,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -286,7 +267,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyRODb == null ? true : _MyRODb.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyRODb == null ? true : _MyRODb.IsValidList(list));
|
||||||
|
@ -44,7 +44,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("TransitionID", true);
|
|
||||||
if (_MyTransition != null) _TransitionID = _MyTransition.TransitionID;
|
if (_MyTransition != null) _TransitionID = _MyTransition.TransitionID;
|
||||||
return _TransitionID;
|
return _TransitionID;
|
||||||
}
|
}
|
||||||
@ -56,7 +55,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyTransition", true);
|
|
||||||
if (_MyTransition == null && _TransitionID != 0) _MyTransition = Transition.Get(_TransitionID);
|
if (_MyTransition == null && _TransitionID != 0) _MyTransition = Transition.Get(_TransitionID);
|
||||||
return _MyTransition;
|
return _MyTransition;
|
||||||
}
|
}
|
||||||
@ -70,7 +68,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ToID", true);
|
|
||||||
if (_MyItemToID != null) _ToID = _MyItemToID.ItemID;
|
if (_MyItemToID != null) _ToID = _MyItemToID.ItemID;
|
||||||
return _ToID;
|
return _ToID;
|
||||||
}
|
}
|
||||||
@ -81,14 +78,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyItemToID", true);
|
|
||||||
if (_MyItemToID == null && _ToID != 0) _MyItemToID = Item.Get(_ToID);
|
if (_MyItemToID == null && _ToID != 0) _MyItemToID = Item.Get(_ToID);
|
||||||
return _MyItemToID;
|
return _MyItemToID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyItemToID", true);
|
|
||||||
if (_MyItemToID != value)
|
if (_MyItemToID != value)
|
||||||
{
|
{
|
||||||
_MyItemToID = value;
|
_MyItemToID = value;
|
||||||
@ -103,7 +98,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RangeID", true);
|
|
||||||
if (_MyItemRangeID != null) _RangeID = _MyItemRangeID.ItemID;
|
if (_MyItemRangeID != null) _RangeID = _MyItemRangeID.ItemID;
|
||||||
return _RangeID;
|
return _RangeID;
|
||||||
}
|
}
|
||||||
@ -114,14 +108,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyItemRangeID", true);
|
|
||||||
if (_MyItemRangeID == null && _RangeID != 0) _MyItemRangeID = Item.Get(_RangeID);
|
if (_MyItemRangeID == null && _RangeID != 0) _MyItemRangeID = Item.Get(_RangeID);
|
||||||
return _MyItemRangeID;
|
return _MyItemRangeID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyItemRangeID", true);
|
|
||||||
if (_MyItemRangeID != value)
|
if (_MyItemRangeID != value)
|
||||||
{
|
{
|
||||||
_MyItemRangeID = value;
|
_MyItemRangeID = value;
|
||||||
@ -139,13 +131,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("IsRange", true);
|
|
||||||
return _IsRange;
|
return _IsRange;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("IsRange", true);
|
|
||||||
if (_IsRange != value)
|
if (_IsRange != value)
|
||||||
{
|
{
|
||||||
_IsRange = value;
|
_IsRange = value;
|
||||||
@ -159,13 +149,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("TranType", true);
|
|
||||||
return _TranType;
|
return _TranType;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("TranType", true);
|
|
||||||
if (_TranType != value)
|
if (_TranType != value)
|
||||||
{
|
{
|
||||||
_TranType = value;
|
_TranType = value;
|
||||||
@ -179,13 +167,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -200,13 +186,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -220,13 +204,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -242,7 +224,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Item_RangeID_PreviousID", true);
|
|
||||||
return _Item_RangeID_PreviousID;
|
return _Item_RangeID_PreviousID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -252,7 +233,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Item_RangeID_ContentID", true);
|
|
||||||
return _Item_RangeID_ContentID;
|
return _Item_RangeID_ContentID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -262,7 +242,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Item_RangeID_DTS", true);
|
|
||||||
return _Item_RangeID_DTS;
|
return _Item_RangeID_DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -272,7 +251,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Item_RangeID_UserID", true);
|
|
||||||
return _Item_RangeID_UserID;
|
return _Item_RangeID_UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -282,7 +260,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Item_ToID_PreviousID", true);
|
|
||||||
return _Item_ToID_PreviousID;
|
return _Item_ToID_PreviousID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -292,7 +269,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Item_ToID_ContentID", true);
|
|
||||||
return _Item_ToID_ContentID;
|
return _Item_ToID_ContentID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -302,7 +278,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Item_ToID_DTS", true);
|
|
||||||
return _Item_ToID_DTS;
|
return _Item_ToID_DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -312,7 +287,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Item_ToID_UserID", true);
|
|
||||||
return _Item_ToID_UserID;
|
return _Item_ToID_UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -338,7 +312,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -356,7 +330,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyItemToID == null ? true : _MyItemToID.IsValidList(list)) && (_MyItemRangeID == null ? true : _MyItemRangeID.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyItemToID == null ? true : _MyItemToID.IsValidList(list)) && (_MyItemRangeID == null ? true : _MyItemRangeID.IsValidList(list));
|
||||||
|
@ -101,7 +101,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -111,13 +110,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AnnotationID", true);
|
|
||||||
return _AnnotationID;
|
return _AnnotationID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("AnnotationID", true);
|
|
||||||
if (_AnnotationID != value)
|
if (_AnnotationID != value)
|
||||||
{
|
{
|
||||||
_AnnotationID = value;
|
_AnnotationID = value;
|
||||||
@ -131,13 +128,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemID", true);
|
|
||||||
return _ItemID;
|
return _ItemID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ItemID", true);
|
|
||||||
if (_ItemID != value)
|
if (_ItemID != value)
|
||||||
{
|
{
|
||||||
_ItemID = value;
|
_ItemID = value;
|
||||||
@ -151,13 +146,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("TypeID", true);
|
|
||||||
return _TypeID;
|
return _TypeID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("TypeID", true);
|
|
||||||
if (_TypeID != value)
|
if (_TypeID != value)
|
||||||
{
|
{
|
||||||
_TypeID = value;
|
_TypeID = value;
|
||||||
@ -171,13 +164,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RtfText", true);
|
|
||||||
return _RtfText;
|
return _RtfText;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("RtfText", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_RtfText != value)
|
if (_RtfText != value)
|
||||||
{
|
{
|
||||||
@ -192,13 +183,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("SearchText", true);
|
|
||||||
return _SearchText;
|
return _SearchText;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("SearchText", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_SearchText != value)
|
if (_SearchText != value)
|
||||||
{
|
{
|
||||||
@ -213,13 +202,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -234,13 +221,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -254,13 +239,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -275,13 +258,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DeleteStatus", true);
|
|
||||||
if (_DeleteStatus != value)
|
if (_DeleteStatus != value)
|
||||||
{
|
{
|
||||||
_DeleteStatus = value;
|
_DeleteStatus = value;
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AnnotationID", true);
|
|
||||||
return _AnnotationID;
|
return _AnnotationID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemID", true);
|
|
||||||
return _ItemID;
|
return _ItemID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("TypeID", true);
|
|
||||||
return _TypeID;
|
return _TypeID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RtfText", true);
|
|
||||||
return _RtfText;
|
return _RtfText;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -146,7 +141,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("SearchText", true);
|
|
||||||
return _SearchText;
|
return _SearchText;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -156,7 +150,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -166,7 +159,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -176,7 +168,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -186,7 +177,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -101,7 +101,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -111,13 +110,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ContentID", true);
|
|
||||||
if (_ContentID != value)
|
if (_ContentID != value)
|
||||||
{
|
{
|
||||||
_ContentID = value;
|
_ContentID = value;
|
||||||
@ -131,13 +128,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Number", true);
|
|
||||||
return _Number;
|
return _Number;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Number", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Number != value)
|
if (_Number != value)
|
||||||
{
|
{
|
||||||
@ -152,13 +147,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Text", true);
|
|
||||||
return _Text;
|
return _Text;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Text", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Text != value)
|
if (_Text != value)
|
||||||
{
|
{
|
||||||
@ -173,13 +166,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Type", true);
|
|
||||||
return _Type;
|
return _Type;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Type", true);
|
|
||||||
if (_Type != value)
|
if (_Type != value)
|
||||||
{
|
{
|
||||||
_Type = value;
|
_Type = value;
|
||||||
@ -193,13 +184,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatID", true);
|
|
||||||
return _FormatID;
|
return _FormatID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("FormatID", true);
|
|
||||||
if (_FormatID != value)
|
if (_FormatID != value)
|
||||||
{
|
{
|
||||||
_FormatID = value;
|
_FormatID = value;
|
||||||
@ -213,13 +202,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -234,13 +221,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -254,13 +239,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -275,13 +258,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DeleteStatus", true);
|
|
||||||
if (_DeleteStatus != value)
|
if (_DeleteStatus != value)
|
||||||
{
|
{
|
||||||
_DeleteStatus = value;
|
_DeleteStatus = value;
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Number", true);
|
|
||||||
return _Number;
|
return _Number;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Text", true);
|
|
||||||
return _Text;
|
return _Text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Type", true);
|
|
||||||
return _Type;
|
return _Type;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -146,7 +141,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatID", true);
|
|
||||||
return _FormatID;
|
return _FormatID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -156,7 +150,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -166,7 +159,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -176,7 +168,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -186,7 +177,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -101,7 +101,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -111,13 +110,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocID", true);
|
|
||||||
return _DocID;
|
return _DocID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DocID", true);
|
|
||||||
if (_DocID != value)
|
if (_DocID != value)
|
||||||
{
|
{
|
||||||
_DocID = value;
|
_DocID = value;
|
||||||
@ -131,13 +128,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("LibTitle", true);
|
|
||||||
return _LibTitle;
|
return _LibTitle;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("LibTitle", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_LibTitle != value)
|
if (_LibTitle != value)
|
||||||
{
|
{
|
||||||
@ -152,13 +147,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocContent", true);
|
|
||||||
return _DocContent;
|
return _DocContent;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DocContent", true);
|
|
||||||
if (_DocContent != value)
|
if (_DocContent != value)
|
||||||
{
|
{
|
||||||
_DocContent = value;
|
_DocContent = value;
|
||||||
@ -172,13 +165,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocAscii", true);
|
|
||||||
return _DocAscii;
|
return _DocAscii;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DocAscii", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_DocAscii != value)
|
if (_DocAscii != value)
|
||||||
{
|
{
|
||||||
@ -193,13 +184,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -214,13 +203,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -234,13 +221,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -255,13 +240,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FileExtension", true);
|
|
||||||
return _FileExtension;
|
return _FileExtension;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("FileExtension", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_FileExtension != value)
|
if (_FileExtension != value)
|
||||||
{
|
{
|
||||||
@ -276,13 +259,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocPdf", true);
|
|
||||||
return _DocPdf;
|
return _DocPdf;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DocPdf", true);
|
|
||||||
if (_DocPdf != value)
|
if (_DocPdf != value)
|
||||||
{
|
{
|
||||||
_DocPdf = value;
|
_DocPdf = value;
|
||||||
@ -296,13 +277,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DeleteStatus", true);
|
|
||||||
if (_DeleteStatus != value)
|
if (_DeleteStatus != value)
|
||||||
{
|
{
|
||||||
_DeleteStatus = value;
|
_DeleteStatus = value;
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocID", true);
|
|
||||||
return _DocID;
|
return _DocID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("LibTitle", true);
|
|
||||||
return _LibTitle;
|
return _LibTitle;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocContent", true);
|
|
||||||
return _DocContent;
|
return _DocContent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocAscii", true);
|
|
||||||
return _DocAscii;
|
return _DocAscii;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -146,7 +141,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -156,7 +150,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -166,7 +159,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -176,7 +168,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FileExtension", true);
|
|
||||||
return _FileExtension;
|
return _FileExtension;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -186,7 +177,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocPdf", true);
|
|
||||||
return _DocPdf;
|
return _DocPdf;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -196,7 +186,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -101,7 +101,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -111,13 +110,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ContentID", true);
|
|
||||||
if (_ContentID != value)
|
if (_ContentID != value)
|
||||||
{
|
{
|
||||||
_ContentID = value;
|
_ContentID = value;
|
||||||
@ -131,13 +128,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocID", true);
|
|
||||||
return _DocID;
|
return _DocID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DocID", true);
|
|
||||||
if (_DocID != value)
|
if (_DocID != value)
|
||||||
{
|
{
|
||||||
_DocID = value;
|
_DocID = value;
|
||||||
@ -151,13 +146,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -171,13 +164,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -192,13 +183,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DeleteStatus", true);
|
|
||||||
if (_DeleteStatus != value)
|
if (_DeleteStatus != value)
|
||||||
{
|
{
|
||||||
_DeleteStatus = value;
|
_DeleteStatus = value;
|
||||||
|
@ -108,7 +108,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DROUsageID", true);
|
|
||||||
return _DROUsageID;
|
return _DROUsageID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -118,7 +117,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocID", true);
|
|
||||||
if (_MyDocument != null) _DocID = _MyDocument.DocID;
|
if (_MyDocument != null) _DocID = _MyDocument.DocID;
|
||||||
return _DocID;
|
return _DocID;
|
||||||
}
|
}
|
||||||
@ -129,14 +127,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyDocument", true);
|
|
||||||
if (_MyDocument == null && _DocID != 0) _MyDocument = Document.Get(_DocID);
|
if (_MyDocument == null && _DocID != 0) _MyDocument = Document.Get(_DocID);
|
||||||
return _MyDocument;
|
return _MyDocument;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyDocument", true);
|
|
||||||
if (_MyDocument != value)
|
if (_MyDocument != value)
|
||||||
{
|
{
|
||||||
_MyDocument = value;
|
_MyDocument = value;
|
||||||
@ -151,13 +147,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ROID", true);
|
|
||||||
return _ROID;
|
return _ROID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ROID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_ROID != value)
|
if (_ROID != value)
|
||||||
{
|
{
|
||||||
@ -172,13 +166,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -193,13 +185,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -213,13 +203,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -235,7 +223,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RODbID", true);
|
|
||||||
if (_MyRODb != null) _RODbID = _MyRODb.RODbID;
|
if (_MyRODb != null) _RODbID = _MyRODb.RODbID;
|
||||||
return _RODbID;
|
return _RODbID;
|
||||||
}
|
}
|
||||||
@ -246,14 +233,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyRODb", true);
|
|
||||||
if (_MyRODb == null && _RODbID != 0) _MyRODb = RODb.Get(_RODbID);
|
if (_MyRODb == null && _RODbID != 0) _MyRODb = RODb.Get(_RODbID);
|
||||||
return _MyRODb;
|
return _MyRODb;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyRODb", true);
|
|
||||||
if (_MyRODb != value)
|
if (_MyRODb != value)
|
||||||
{
|
{
|
||||||
_MyRODb = value;
|
_MyRODb = value;
|
||||||
@ -266,7 +251,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -284,7 +269,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyDocument == null ? true : _MyDocument.IsValidList(list)) && (_MyRODb == null ? true : _MyRODb.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyDocument == null ? true : _MyDocument.IsValidList(list)) && (_MyRODb == null ? true : _MyRODb.IsValidList(list));
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DROUsageID", true);
|
|
||||||
return _DROUsageID;
|
return _DROUsageID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocID", true);
|
|
||||||
if (_MyDocument != null) _DocID = _MyDocument.DocID;
|
if (_MyDocument != null) _DocID = _MyDocument.DocID;
|
||||||
return _DocID;
|
return _DocID;
|
||||||
}
|
}
|
||||||
@ -117,7 +115,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyDocument", true);
|
|
||||||
if (_MyDocument == null && _DocID != 0) _MyDocument = DocumentInfo.Get(_DocID);
|
if (_MyDocument == null && _DocID != 0) _MyDocument = DocumentInfo.Get(_DocID);
|
||||||
return _MyDocument;
|
return _MyDocument;
|
||||||
}
|
}
|
||||||
@ -128,7 +125,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ROID", true);
|
|
||||||
return _ROID;
|
return _ROID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -138,7 +134,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -148,7 +143,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -158,7 +152,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -168,7 +161,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RODbID", true);
|
|
||||||
if (_MyRODb != null) _RODbID = _MyRODb.RODbID;
|
if (_MyRODb != null) _RODbID = _MyRODb.RODbID;
|
||||||
return _RODbID;
|
return _RODbID;
|
||||||
}
|
}
|
||||||
@ -179,7 +171,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyRODb", true);
|
|
||||||
if (_MyRODb == null && _RODbID != 0) _MyRODb = RODbInfo.Get(_RODbID);
|
if (_MyRODb == null && _RODbID != 0) _MyRODb = RODbInfo.Get(_RODbID);
|
||||||
return _MyRODb;
|
return _MyRODb;
|
||||||
}
|
}
|
||||||
|
@ -107,7 +107,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DetailID", true);
|
|
||||||
return _DetailID;
|
return _DetailID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -117,7 +116,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
@ -128,14 +126,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyContent", true);
|
|
||||||
if (_MyContent == null && _ContentID != 0) _MyContent = Content.Get(_ContentID);
|
if (_MyContent == null && _ContentID != 0) _MyContent = Content.Get(_ContentID);
|
||||||
return _MyContent;
|
return _MyContent;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyContent", true);
|
|
||||||
if (_MyContent != value)
|
if (_MyContent != value)
|
||||||
{
|
{
|
||||||
_MyContent = value;
|
_MyContent = value;
|
||||||
@ -150,13 +146,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemType", true);
|
|
||||||
return _ItemType;
|
return _ItemType;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ItemType", true);
|
|
||||||
if (_ItemType != value)
|
if (_ItemType != value)
|
||||||
{
|
{
|
||||||
_ItemType = value;
|
_ItemType = value;
|
||||||
@ -170,13 +164,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Text", true);
|
|
||||||
return _Text;
|
return _Text;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Text", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Text != value)
|
if (_Text != value)
|
||||||
{
|
{
|
||||||
@ -191,13 +183,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -212,13 +202,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -232,13 +220,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -252,7 +238,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -270,7 +256,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyContent == null ? true : _MyContent.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyContent == null ? true : _MyContent.IsValidList(list));
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DetailID", true);
|
|
||||||
return _DetailID;
|
return _DetailID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
@ -117,7 +115,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyContent", true);
|
|
||||||
if (_MyContent == null && _ContentID != 0) _MyContent = ContentInfo.Get(_ContentID);
|
if (_MyContent == null && _ContentID != 0) _MyContent = ContentInfo.Get(_ContentID);
|
||||||
return _MyContent;
|
return _MyContent;
|
||||||
}
|
}
|
||||||
@ -128,7 +125,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemType", true);
|
|
||||||
return _ItemType;
|
return _ItemType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -138,7 +134,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Text", true);
|
|
||||||
return _Text;
|
return _Text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -148,7 +143,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -158,7 +152,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -168,7 +161,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -122,7 +122,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("VersionID", true);
|
|
||||||
return _VersionID;
|
return _VersionID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -132,7 +131,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FolderID", true);
|
|
||||||
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
||||||
return _FolderID;
|
return _FolderID;
|
||||||
}
|
}
|
||||||
@ -143,14 +141,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyFolder", true);
|
|
||||||
if (_MyFolder == null && _FolderID != 0) _MyFolder = Folder.Get(_FolderID);
|
if (_MyFolder == null && _FolderID != 0) _MyFolder = Folder.Get(_FolderID);
|
||||||
return _MyFolder;
|
return _MyFolder;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyFolder", true);
|
|
||||||
if (_MyFolder != value)
|
if (_MyFolder != value)
|
||||||
{
|
{
|
||||||
_MyFolder = value;
|
_MyFolder = value;
|
||||||
@ -168,13 +164,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("VersionType", true);
|
|
||||||
return _VersionType;
|
return _VersionType;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("VersionType", true);
|
|
||||||
if (_VersionType != value)
|
if (_VersionType != value)
|
||||||
{
|
{
|
||||||
_VersionType = value;
|
_VersionType = value;
|
||||||
@ -188,13 +182,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Name", true);
|
|
||||||
return _Name;
|
return _Name;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Name", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Name != value)
|
if (_Name != value)
|
||||||
{
|
{
|
||||||
@ -209,13 +201,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Title", true);
|
|
||||||
return _Title;
|
return _Title;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Title", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Title != value)
|
if (_Title != value)
|
||||||
{
|
{
|
||||||
@ -230,7 +220,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemID", true);
|
|
||||||
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
||||||
return _ItemID;
|
return _ItemID;
|
||||||
}
|
}
|
||||||
@ -241,14 +230,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyItem", true);
|
|
||||||
if (_MyItem == null && _ItemID != null) _MyItem = Item.Get((int)_ItemID);
|
if (_MyItem == null && _ItemID != null) _MyItem = Item.Get((int)_ItemID);
|
||||||
return _MyItem;
|
return _MyItem;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyItem", true);
|
|
||||||
if ((_MyItem == null ? _ItemID : (int?)_MyItem.ItemID) != (value == null ? null : (int?)value.ItemID))
|
if ((_MyItem == null ? _ItemID : (int?)_MyItem.ItemID) != (value == null ? null : (int?)value.ItemID))
|
||||||
{
|
{
|
||||||
_MyItem = value;
|
_MyItem = value;
|
||||||
@ -263,7 +250,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatID", true);
|
|
||||||
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
||||||
return _FormatID;
|
return _FormatID;
|
||||||
}
|
}
|
||||||
@ -274,14 +260,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyFormat", true);
|
|
||||||
if (_MyFormat == null && _FormatID != null) _MyFormat = Format.Get((int)_FormatID);
|
if (_MyFormat == null && _FormatID != null) _MyFormat = Format.Get((int)_FormatID);
|
||||||
return _MyFormat;
|
return _MyFormat;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyFormat", true);
|
|
||||||
if ((_MyFormat == null ? _FormatID : (int?)_MyFormat.FormatID) != (value == null ? null : (int?)value.FormatID))
|
if ((_MyFormat == null ? _FormatID : (int?)_MyFormat.FormatID) != (value == null ? null : (int?)value.FormatID))
|
||||||
{
|
{
|
||||||
_MyFormat = value;
|
_MyFormat = value;
|
||||||
@ -296,13 +280,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -317,13 +299,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -337,13 +317,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -362,7 +340,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocVersionAssociationCount", true);
|
|
||||||
return _DocVersionAssociationCount;
|
return _DocVersionAssociationCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -376,10 +353,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocVersionAssociations", true);
|
|
||||||
if (_DocVersionAssociationCount < 0 || (_DocVersionAssociationCount > 0 && _DocVersionAssociations == null))
|
if (_DocVersionAssociationCount < 0 || (_DocVersionAssociationCount > 0 && _DocVersionAssociations == null))
|
||||||
_DocVersionAssociations = DocVersionAssociations.GetByVersionID(VersionID);
|
_DocVersionAssociations = DocVersionAssociations.GetByVersionID(VersionID);
|
||||||
if (_DocVersionAssociationCount < 0 )
|
if (_DocVersionAssociationCount < 0)
|
||||||
_DocVersionAssociationCount = _DocVersionAssociations == null ? 0 : _DocVersionAssociations.Count;
|
_DocVersionAssociationCount = _DocVersionAssociations == null ? 0 : _DocVersionAssociations.Count;
|
||||||
if (_DocVersionAssociations == null)
|
if (_DocVersionAssociations == null)
|
||||||
_DocVersionAssociations = DocVersionAssociations.New();
|
_DocVersionAssociations = DocVersionAssociations.New();
|
||||||
@ -394,7 +370,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -412,7 +388,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_DocVersionAssociations == null ? true : _DocVersionAssociations.IsValidList(list)) && (_MyFolder == null ? true : _MyFolder.IsValidList(list)) && (_MyFormat == null ? true : _MyFormat.IsValidList(list)) && (_MyItem == null ? true : _MyItem.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_DocVersionAssociations == null ? true : _DocVersionAssociations.IsValidList(list)) && (_MyFolder == null ? true : _MyFolder.IsValidList(list)) && (_MyFormat == null ? true : _MyFormat.IsValidList(list)) && (_MyItem == null ? true : _MyItem.IsValidList(list));
|
||||||
|
@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AssociationID", true);
|
|
||||||
if (_MyAssociation != null) _AssociationID = _MyAssociation.AssociationID;
|
if (_MyAssociation != null) _AssociationID = _MyAssociation.AssociationID;
|
||||||
return _AssociationID;
|
return _AssociationID;
|
||||||
}
|
}
|
||||||
@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyAssociation", true);
|
|
||||||
if (_MyAssociation == null && _AssociationID != 0) _MyAssociation = Association.Get(_AssociationID);
|
if (_MyAssociation == null && _AssociationID != 0) _MyAssociation = Association.Get(_AssociationID);
|
||||||
return _MyAssociation;
|
return _MyAssociation;
|
||||||
}
|
}
|
||||||
@ -66,7 +64,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ROFstID", true);
|
|
||||||
if (_MyROFst != null) _ROFstID = _MyROFst.ROFstID;
|
if (_MyROFst != null) _ROFstID = _MyROFst.ROFstID;
|
||||||
return _ROFstID;
|
return _ROFstID;
|
||||||
}
|
}
|
||||||
@ -77,14 +74,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyROFst", true);
|
|
||||||
if (_MyROFst == null && _ROFstID != 0) _MyROFst = ROFst.Get(_ROFstID);
|
if (_MyROFst == null && _ROFstID != 0) _MyROFst = ROFst.Get(_ROFstID);
|
||||||
return _MyROFst;
|
return _MyROFst;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyROFst", true);
|
|
||||||
if (_MyROFst != value)
|
if (_MyROFst != value)
|
||||||
{
|
{
|
||||||
_MyROFst = value;
|
_MyROFst = value;
|
||||||
@ -99,13 +94,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -120,13 +113,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -140,13 +131,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -162,7 +151,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ROFst_RODbID", true);
|
|
||||||
return _ROFst_RODbID;
|
return _ROFst_RODbID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -172,7 +160,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ROFst_ROLookup", true);
|
|
||||||
return _ROFst_ROLookup;
|
return _ROFst_ROLookup;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -182,7 +169,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ROFst_Config", true);
|
|
||||||
return _ROFst_Config;
|
return _ROFst_Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -192,7 +178,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ROFst_DTS", true);
|
|
||||||
return _ROFst_DTS;
|
return _ROFst_DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -202,7 +187,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ROFst_UserID", true);
|
|
||||||
return _ROFst_UserID;
|
return _ROFst_UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -228,7 +212,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -246,7 +230,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyROFst == null ? true : _MyROFst.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyROFst == null ? true : _MyROFst.IsValidList(list));
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("VersionID", true);
|
|
||||||
return _VersionID;
|
return _VersionID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FolderID", true);
|
|
||||||
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
||||||
return _FolderID;
|
return _FolderID;
|
||||||
}
|
}
|
||||||
@ -117,7 +115,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyFolder", true);
|
|
||||||
if (_MyFolder == null && _FolderID != 0) _MyFolder = FolderInfo.Get(_FolderID);
|
if (_MyFolder == null && _FolderID != 0) _MyFolder = FolderInfo.Get(_FolderID);
|
||||||
return _MyFolder;
|
return _MyFolder;
|
||||||
}
|
}
|
||||||
@ -131,7 +128,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("VersionType", true);
|
|
||||||
return _VersionType;
|
return _VersionType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -141,7 +137,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Name", true);
|
|
||||||
return _Name;
|
return _Name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -151,7 +146,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Title", true);
|
|
||||||
return _Title;
|
return _Title;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -161,7 +155,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemID", true);
|
|
||||||
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
||||||
return _ItemID;
|
return _ItemID;
|
||||||
}
|
}
|
||||||
@ -172,7 +165,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyItem", true);
|
|
||||||
if (_MyItem == null && _ItemID != null) _MyItem = ProcedureInfo.Get((int)_ItemID);
|
if (_MyItem == null && _ItemID != null) _MyItem = ProcedureInfo.Get((int)_ItemID);
|
||||||
return _MyItem;
|
return _MyItem;
|
||||||
}
|
}
|
||||||
@ -183,7 +175,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatID", true);
|
|
||||||
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
||||||
return _FormatID;
|
return _FormatID;
|
||||||
}
|
}
|
||||||
@ -194,7 +185,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyFormat", true);
|
|
||||||
if (_MyFormat == null && _FormatID != null) _MyFormat = FormatInfo.Get((int)_FormatID);
|
if (_MyFormat == null && _FormatID != null) _MyFormat = FormatInfo.Get((int)_FormatID);
|
||||||
return _MyFormat;
|
return _MyFormat;
|
||||||
}
|
}
|
||||||
@ -205,7 +195,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -215,7 +204,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -225,7 +213,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -238,7 +225,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocVersionAssociationCount", true);
|
|
||||||
if (_DocVersionAssociationCount < 0)
|
if (_DocVersionAssociationCount < 0)
|
||||||
_DocVersionAssociationCount = DocVersionAssociations.Count;
|
_DocVersionAssociationCount = DocVersionAssociations.Count;
|
||||||
return _DocVersionAssociationCount;
|
return _DocVersionAssociationCount;
|
||||||
@ -251,7 +237,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocVersionAssociations", true);
|
|
||||||
if (_DocVersionAssociationCount < 0 || (_DocVersionAssociationCount > 0 && _DocVersionAssociations == null))
|
if (_DocVersionAssociationCount < 0 || (_DocVersionAssociationCount > 0 && _DocVersionAssociations == null))
|
||||||
_DocVersionAssociations = AssociationInfoList.GetByVersionID(_VersionID);
|
_DocVersionAssociations = AssociationInfoList.GetByVersionID(_VersionID);
|
||||||
if (_DocVersionAssociationCount < 0)
|
if (_DocVersionAssociationCount < 0)
|
||||||
|
@ -145,7 +145,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocID", true);
|
|
||||||
return _DocID;
|
return _DocID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -155,13 +154,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("LibTitle", true);
|
|
||||||
return _LibTitle;
|
return _LibTitle;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("LibTitle", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_LibTitle != value)
|
if (_LibTitle != value)
|
||||||
{
|
{
|
||||||
@ -179,13 +176,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocContent", true);
|
|
||||||
return _DocContent;
|
return _DocContent;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DocContent", true);
|
|
||||||
if (_DocContent != value)
|
if (_DocContent != value)
|
||||||
{
|
{
|
||||||
_DocContent = value;
|
_DocContent = value;
|
||||||
@ -202,13 +197,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocAscii", true);
|
|
||||||
return _DocAscii;
|
return _DocAscii;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DocAscii", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_DocAscii != value)
|
if (_DocAscii != value)
|
||||||
{
|
{
|
||||||
@ -223,13 +216,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -244,13 +235,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -264,13 +253,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -286,13 +273,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FileExtension", true);
|
|
||||||
return _FileExtension;
|
return _FileExtension;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("FileExtension", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_FileExtension != value)
|
if (_FileExtension != value)
|
||||||
{
|
{
|
||||||
@ -310,7 +295,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocumentDROUsageCount", true);
|
|
||||||
return _DocumentDROUsageCount;
|
return _DocumentDROUsageCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -324,10 +308,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocumentDROUsages", true);
|
|
||||||
if (_DocumentDROUsageCount < 0 || (_DocumentDROUsageCount > 0 && _DocumentDROUsages == null))
|
if (_DocumentDROUsageCount < 0 || (_DocumentDROUsageCount > 0 && _DocumentDROUsages == null))
|
||||||
_DocumentDROUsages = DocumentDROUsages.GetByDocID(DocID);
|
_DocumentDROUsages = DocumentDROUsages.GetByDocID(DocID);
|
||||||
if (_DocumentDROUsageCount < 0 )
|
if (_DocumentDROUsageCount < 0)
|
||||||
_DocumentDROUsageCount = _DocumentDROUsages == null ? 0 : _DocumentDROUsages.Count;
|
_DocumentDROUsageCount = _DocumentDROUsages == null ? 0 : _DocumentDROUsages.Count;
|
||||||
if (_DocumentDROUsages == null)
|
if (_DocumentDROUsages == null)
|
||||||
_DocumentDROUsages = DocumentDROUsages.New();
|
_DocumentDROUsages = DocumentDROUsages.New();
|
||||||
@ -347,7 +330,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocumentEntryCount", true);
|
|
||||||
if (_DocumentEntryCount < 0)
|
if (_DocumentEntryCount < 0)
|
||||||
_DocumentEntryCount = DocumentEntries.Count;
|
_DocumentEntryCount = DocumentEntries.Count;
|
||||||
return _DocumentEntryCount;
|
return _DocumentEntryCount;
|
||||||
@ -363,10 +345,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocumentEntries", true);
|
|
||||||
if (_DocumentEntryCount < 0 || (_DocumentEntryCount > 0 && _DocumentEntries == null))
|
if (_DocumentEntryCount < 0 || (_DocumentEntryCount > 0 && _DocumentEntries == null))
|
||||||
_DocumentEntries = DocumentEntries.GetByDocID(DocID);
|
_DocumentEntries = DocumentEntries.GetByDocID(DocID);
|
||||||
if (_DocumentEntryCount < 0 )
|
if (_DocumentEntryCount < 0)
|
||||||
_DocumentEntryCount = _DocumentEntries == null ? 0 : _DocumentEntries.Count;
|
_DocumentEntryCount = _DocumentEntries == null ? 0 : _DocumentEntries.Count;
|
||||||
if (_DocumentEntries == null)
|
if (_DocumentEntries == null)
|
||||||
_DocumentEntries = DocumentEntries.New();
|
_DocumentEntries = DocumentEntries.New();
|
||||||
@ -386,7 +367,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocumentPdfCount", true);
|
|
||||||
return _DocumentPdfCount;
|
return _DocumentPdfCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -400,10 +380,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocumentPdfs", true);
|
|
||||||
if (_DocumentPdfCount < 0 || (_DocumentPdfCount > 0 && _DocumentPdfs == null))
|
if (_DocumentPdfCount < 0 || (_DocumentPdfCount > 0 && _DocumentPdfs == null))
|
||||||
_DocumentPdfs = DocumentPdfs.GetByDocID(DocID);
|
_DocumentPdfs = DocumentPdfs.GetByDocID(DocID);
|
||||||
if (_DocumentPdfCount < 0 )
|
if (_DocumentPdfCount < 0)
|
||||||
_DocumentPdfCount = _DocumentPdfs == null ? 0 : _DocumentPdfs.Count;
|
_DocumentPdfCount = _DocumentPdfs == null ? 0 : _DocumentPdfs.Count;
|
||||||
if (_DocumentPdfs == null)
|
if (_DocumentPdfs == null)
|
||||||
_DocumentPdfs = DocumentPdfs.New();
|
_DocumentPdfs = DocumentPdfs.New();
|
||||||
@ -418,7 +397,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -436,7 +415,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_DocumentDROUsages == null ? true : _DocumentDROUsages.IsValidList(list)) && (_DocumentEntries == null ? true : _DocumentEntries.IsValidList(list)) && (_DocumentPdfs == null ? true : _DocumentPdfs.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_DocumentDROUsages == null ? true : _DocumentDROUsages.IsValidList(list)) && (_DocumentEntries == null ? true : _DocumentEntries.IsValidList(list)) && (_DocumentPdfs == null ? true : _DocumentPdfs.IsValidList(list));
|
||||||
|
@ -106,7 +106,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,13 +115,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocID", true);
|
|
||||||
return _DocID;
|
return _DocID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DocID", true);
|
|
||||||
if (_DocID != value)
|
if (_DocID != value)
|
||||||
{
|
{
|
||||||
_DocID = value;
|
_DocID = value;
|
||||||
@ -136,13 +133,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("LibTitle", true);
|
|
||||||
return _LibTitle;
|
return _LibTitle;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("LibTitle", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_LibTitle != value)
|
if (_LibTitle != value)
|
||||||
{
|
{
|
||||||
@ -157,13 +152,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocContent", true);
|
|
||||||
return _DocContent;
|
return _DocContent;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DocContent", true);
|
|
||||||
if (_DocContent != value)
|
if (_DocContent != value)
|
||||||
{
|
{
|
||||||
_DocContent = value;
|
_DocContent = value;
|
||||||
@ -177,13 +170,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocAscii", true);
|
|
||||||
return _DocAscii;
|
return _DocAscii;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DocAscii", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_DocAscii != value)
|
if (_DocAscii != value)
|
||||||
{
|
{
|
||||||
@ -198,13 +189,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -219,13 +208,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -239,13 +226,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -260,13 +245,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FileExtension", true);
|
|
||||||
return _FileExtension;
|
return _FileExtension;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("FileExtension", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_FileExtension != value)
|
if (_FileExtension != value)
|
||||||
{
|
{
|
||||||
@ -281,13 +264,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocPdf", true);
|
|
||||||
return _DocPdf;
|
return _DocPdf;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DocPdf", true);
|
|
||||||
if (_DocPdf != value)
|
if (_DocPdf != value)
|
||||||
{
|
{
|
||||||
_DocPdf = value;
|
_DocPdf = value;
|
||||||
@ -301,13 +282,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DeleteStatus", true);
|
|
||||||
if (_DeleteStatus != value)
|
if (_DeleteStatus != value)
|
||||||
{
|
{
|
||||||
_DeleteStatus = value;
|
_DeleteStatus = value;
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocID", true);
|
|
||||||
return _DocID;
|
return _DocID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("LibTitle", true);
|
|
||||||
return _LibTitle;
|
return _LibTitle;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocContent", true);
|
|
||||||
return _DocContent;
|
return _DocContent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocAscii", true);
|
|
||||||
return _DocAscii;
|
return _DocAscii;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -146,7 +141,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -156,7 +150,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -166,7 +159,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -176,7 +168,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FileExtension", true);
|
|
||||||
return _FileExtension;
|
return _FileExtension;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -186,7 +177,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DROUsageID", true);
|
|
||||||
if (_MyDROUsage != null) _DROUsageID = _MyDROUsage.DROUsageID;
|
if (_MyDROUsage != null) _DROUsageID = _MyDROUsage.DROUsageID;
|
||||||
return _DROUsageID;
|
return _DROUsageID;
|
||||||
}
|
}
|
||||||
@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyDROUsage", true);
|
|
||||||
if (_MyDROUsage == null && _DROUsageID != 0) _MyDROUsage = DROUsage.Get(_DROUsageID);
|
if (_MyDROUsage == null && _DROUsageID != 0) _MyDROUsage = DROUsage.Get(_DROUsageID);
|
||||||
return _MyDROUsage;
|
return _MyDROUsage;
|
||||||
}
|
}
|
||||||
@ -66,13 +64,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ROID", true);
|
|
||||||
return _ROID;
|
return _ROID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ROID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_ROID != value)
|
if (_ROID != value)
|
||||||
{
|
{
|
||||||
@ -87,13 +83,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -108,13 +102,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -128,13 +120,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -150,7 +140,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RODbID", true);
|
|
||||||
if (_MyRODb != null) _RODbID = _MyRODb.RODbID;
|
if (_MyRODb != null) _RODbID = _MyRODb.RODbID;
|
||||||
return _RODbID;
|
return _RODbID;
|
||||||
}
|
}
|
||||||
@ -161,14 +150,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyRODb", true);
|
|
||||||
if (_MyRODb == null && _RODbID != 0) _MyRODb = RODb.Get(_RODbID);
|
if (_MyRODb == null && _RODbID != 0) _MyRODb = RODb.Get(_RODbID);
|
||||||
return _MyRODb;
|
return _MyRODb;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyRODb", true);
|
|
||||||
if (_MyRODb != value)
|
if (_MyRODb != value)
|
||||||
{
|
{
|
||||||
_MyRODb = value;
|
_MyRODb = value;
|
||||||
@ -186,7 +173,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RODb_ROName", true);
|
|
||||||
return _RODb_ROName;
|
return _RODb_ROName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -199,7 +185,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RODb_FolderPath", true);
|
|
||||||
return _RODb_FolderPath;
|
return _RODb_FolderPath;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -212,7 +197,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RODb_DBConnectionString", true);
|
|
||||||
return _RODb_DBConnectionString;
|
return _RODb_DBConnectionString;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -222,7 +206,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RODb_Config", true);
|
|
||||||
return _RODb_Config;
|
return _RODb_Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -232,7 +215,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RODb_DTS", true);
|
|
||||||
return _RODb_DTS;
|
return _RODb_DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -242,7 +224,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RODb_UserID", true);
|
|
||||||
return _RODb_UserID;
|
return _RODb_UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -268,7 +249,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -286,7 +267,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyRODb == null ? true : _MyRODb.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyRODb == null ? true : _MyRODb.IsValidList(list));
|
||||||
|
@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
if (_MyEntry != null) _ContentID = _MyEntry.ContentID;
|
if (_MyEntry != null) _ContentID = _MyEntry.ContentID;
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyEntry", true);
|
|
||||||
if (_MyEntry == null && _ContentID != 0) _MyEntry = Entry.Get(_ContentID);
|
if (_MyEntry == null && _ContentID != 0) _MyEntry = Entry.Get(_ContentID);
|
||||||
return _MyEntry;
|
return _MyEntry;
|
||||||
}
|
}
|
||||||
@ -66,13 +64,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -86,13 +82,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -111,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_Number", true);
|
|
||||||
return _Content_Number;
|
return _Content_Number;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -121,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_Text", true);
|
|
||||||
return _Content_Text;
|
return _Content_Text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -134,7 +126,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_Type", true);
|
|
||||||
return _Content_Type;
|
return _Content_Type;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -144,7 +135,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_FormatID", true);
|
|
||||||
return _Content_FormatID;
|
return _Content_FormatID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -154,7 +144,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_Config", true);
|
|
||||||
return _Content_Config;
|
return _Content_Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -164,7 +153,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_DTS", true);
|
|
||||||
return _Content_DTS;
|
return _Content_DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -174,7 +162,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_UserID", true);
|
|
||||||
return _Content_UserID;
|
return _Content_UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocID", true);
|
|
||||||
return _DocID;
|
return _DocID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("LibTitle", true);
|
|
||||||
return _LibTitle;
|
return _LibTitle;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -119,7 +117,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocContent", true);
|
|
||||||
return _DocContent;
|
return _DocContent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -132,7 +129,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocAscii", true);
|
|
||||||
return _DocAscii;
|
return _DocAscii;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -142,7 +138,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -152,7 +147,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -162,7 +156,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -172,7 +165,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FileExtension", true);
|
|
||||||
return _FileExtension;
|
return _FileExtension;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -185,7 +177,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocumentDROUsageCount", true);
|
|
||||||
if (_DocumentDROUsageCount < 0)
|
if (_DocumentDROUsageCount < 0)
|
||||||
_DocumentDROUsageCount = DocumentDROUsages.Count;
|
_DocumentDROUsageCount = DocumentDROUsages.Count;
|
||||||
return _DocumentDROUsageCount;
|
return _DocumentDROUsageCount;
|
||||||
@ -198,7 +189,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocumentDROUsages", true);
|
|
||||||
if (_DocumentDROUsageCount < 0 || (_DocumentDROUsageCount > 0 && _DocumentDROUsages == null))
|
if (_DocumentDROUsageCount < 0 || (_DocumentDROUsageCount > 0 && _DocumentDROUsages == null))
|
||||||
_DocumentDROUsages = DROUsageInfoList.GetByDocID(_DocID);
|
_DocumentDROUsages = DROUsageInfoList.GetByDocID(_DocID);
|
||||||
if (_DocumentDROUsageCount < 0)
|
if (_DocumentDROUsageCount < 0)
|
||||||
@ -223,7 +213,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocumentEntryCount", true);
|
|
||||||
if (_DocumentEntryCount < 0)
|
if (_DocumentEntryCount < 0)
|
||||||
_DocumentEntryCount = DocumentEntries.Count;
|
_DocumentEntryCount = DocumentEntries.Count;
|
||||||
return _DocumentEntryCount;
|
return _DocumentEntryCount;
|
||||||
@ -236,7 +225,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocumentEntries", true);
|
|
||||||
if (_DocumentEntryCount < 0 || (_DocumentEntryCount > 0 && _DocumentEntries == null))
|
if (_DocumentEntryCount < 0 || (_DocumentEntryCount > 0 && _DocumentEntries == null))
|
||||||
_DocumentEntries = EntryInfoList.GetByDocID(_DocID);
|
_DocumentEntries = EntryInfoList.GetByDocID(_DocID);
|
||||||
if (_DocumentEntryCount < 0)
|
if (_DocumentEntryCount < 0)
|
||||||
@ -261,7 +249,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocumentPdfCount", true);
|
|
||||||
if (_DocumentPdfCount < 0)
|
if (_DocumentPdfCount < 0)
|
||||||
_DocumentPdfCount = DocumentPdfs.Count;
|
_DocumentPdfCount = DocumentPdfs.Count;
|
||||||
return _DocumentPdfCount;
|
return _DocumentPdfCount;
|
||||||
@ -274,7 +261,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocumentPdfs", true);
|
|
||||||
if (_DocumentPdfCount < 0 || (_DocumentPdfCount > 0 && _DocumentPdfs == null))
|
if (_DocumentPdfCount < 0 || (_DocumentPdfCount > 0 && _DocumentPdfs == null))
|
||||||
_DocumentPdfs = PdfInfoList.GetByDocID(_DocID);
|
_DocumentPdfs = PdfInfoList.GetByDocID(_DocID);
|
||||||
if (_DocumentPdfCount < 0)
|
if (_DocumentPdfCount < 0)
|
||||||
|
@ -46,7 +46,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DebugStatus", true);
|
|
||||||
return _DebugStatus;
|
return _DebugStatus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -57,7 +56,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("TopRow", true);
|
|
||||||
return _TopRow;
|
return _TopRow;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -68,7 +66,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("PageLength", true);
|
|
||||||
return _PageLength;
|
return _PageLength;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -79,7 +76,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("LeftMargin", true);
|
|
||||||
return _LeftMargin;
|
return _LeftMargin;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -90,7 +86,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("PageWidth", true);
|
|
||||||
return _PageWidth;
|
return _PageWidth;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -103,13 +98,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("PageCount", true);
|
|
||||||
return _PageCount;
|
return _PageCount;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("PageCount", true);
|
|
||||||
if (_PageCount != value)
|
if (_PageCount != value)
|
||||||
{
|
{
|
||||||
_PageCount = value;
|
_PageCount = value;
|
||||||
@ -123,13 +116,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocPdf", true);
|
|
||||||
return _DocPdf;
|
return _DocPdf;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DocPdf", true);
|
|
||||||
if (_DocPdf != value)
|
if (_DocPdf != value)
|
||||||
{
|
{
|
||||||
_DocPdf = value;
|
_DocPdf = value;
|
||||||
@ -143,13 +134,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -163,13 +152,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
|
@ -102,7 +102,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
@ -114,7 +113,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyContent", true);
|
|
||||||
if (_MyContent == null && _ContentID != 0) _MyContent = Content.Get(_ContentID);
|
if (_MyContent == null && _ContentID != 0) _MyContent = Content.Get(_ContentID);
|
||||||
return _MyContent;
|
return _MyContent;
|
||||||
}
|
}
|
||||||
@ -125,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocID", true);
|
|
||||||
if (_MyDocument != null) _DocID = _MyDocument.DocID;
|
if (_MyDocument != null) _DocID = _MyDocument.DocID;
|
||||||
return _DocID;
|
return _DocID;
|
||||||
}
|
}
|
||||||
@ -136,14 +133,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyDocument", true);
|
|
||||||
if (_MyDocument == null && _DocID != 0) _MyDocument = Document.Get(_DocID);
|
if (_MyDocument == null && _DocID != 0) _MyDocument = Document.Get(_DocID);
|
||||||
return _MyDocument;
|
return _MyDocument;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyDocument", true);
|
|
||||||
if (_MyDocument != value)
|
if (_MyDocument != value)
|
||||||
{
|
{
|
||||||
_MyDocument = value;
|
_MyDocument = value;
|
||||||
@ -158,13 +153,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -178,13 +171,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -198,7 +189,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -216,7 +207,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyDocument == null ? true : _MyDocument.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyDocument == null ? true : _MyDocument.IsValidList(list));
|
||||||
|
@ -106,7 +106,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,13 +115,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ContentID", true);
|
|
||||||
if (_ContentID != value)
|
if (_ContentID != value)
|
||||||
{
|
{
|
||||||
_ContentID = value;
|
_ContentID = value;
|
||||||
@ -136,13 +133,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocID", true);
|
|
||||||
return _DocID;
|
return _DocID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DocID", true);
|
|
||||||
if (_DocID != value)
|
if (_DocID != value)
|
||||||
{
|
{
|
||||||
_DocID = value;
|
_DocID = value;
|
||||||
@ -156,13 +151,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -176,13 +169,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -197,13 +188,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DeleteStatus", true);
|
|
||||||
if (_DeleteStatus != value)
|
if (_DeleteStatus != value)
|
||||||
{
|
{
|
||||||
_DeleteStatus = value;
|
_DeleteStatus = value;
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocID", true);
|
|
||||||
return _DocID;
|
return _DocID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -146,7 +141,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
@ -108,7 +107,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyContent", true);
|
|
||||||
if (_MyContent == null && _ContentID != 0) _MyContent = ContentInfo.Get(_ContentID);
|
if (_MyContent == null && _ContentID != 0) _MyContent = ContentInfo.Get(_ContentID);
|
||||||
return _MyContent;
|
return _MyContent;
|
||||||
}
|
}
|
||||||
@ -119,7 +117,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocID", true);
|
|
||||||
if (_MyDocument != null) _DocID = _MyDocument.DocID;
|
if (_MyDocument != null) _DocID = _MyDocument.DocID;
|
||||||
return _DocID;
|
return _DocID;
|
||||||
}
|
}
|
||||||
@ -130,7 +127,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyDocument", true);
|
|
||||||
if (_MyDocument == null && _DocID != 0) _MyDocument = DocumentInfo.Get(_DocID);
|
if (_MyDocument == null && _DocID != 0) _MyDocument = DocumentInfo.Get(_DocID);
|
||||||
return _MyDocument;
|
return _MyDocument;
|
||||||
}
|
}
|
||||||
@ -141,7 +137,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -151,7 +146,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -118,7 +118,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FigureID", true);
|
|
||||||
return _FigureID;
|
return _FigureID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -128,7 +127,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ROFstID", true);
|
|
||||||
if (_MyROFst != null) _ROFstID = _MyROFst.ROFstID;
|
if (_MyROFst != null) _ROFstID = _MyROFst.ROFstID;
|
||||||
return _ROFstID;
|
return _ROFstID;
|
||||||
}
|
}
|
||||||
@ -139,14 +137,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyROFst", true);
|
|
||||||
if (_MyROFst == null && _ROFstID != 0) _MyROFst = ROFst.Get(_ROFstID);
|
if (_MyROFst == null && _ROFstID != 0) _MyROFst = ROFst.Get(_ROFstID);
|
||||||
return _MyROFst;
|
return _MyROFst;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyROFst", true);
|
|
||||||
if (_MyROFst != value)
|
if (_MyROFst != value)
|
||||||
{
|
{
|
||||||
_MyROFst = value;
|
_MyROFst = value;
|
||||||
@ -161,7 +157,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ImageID", true);
|
|
||||||
if (_MyROImage != null) _ImageID = _MyROImage.ImageID;
|
if (_MyROImage != null) _ImageID = _MyROImage.ImageID;
|
||||||
return _ImageID;
|
return _ImageID;
|
||||||
}
|
}
|
||||||
@ -172,14 +167,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyROImage", true);
|
|
||||||
if (_MyROImage == null && _ImageID != 0) _MyROImage = ROImage.GetJustROImage(_ImageID);//Don't load figures or ROFST - Causing Memory Crash
|
if (_MyROImage == null && _ImageID != 0) _MyROImage = ROImage.GetJustROImage(_ImageID);//Don't load figures or ROFST - Causing Memory Crash
|
||||||
return _MyROImage;
|
return _MyROImage;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyROImage", true);
|
|
||||||
if (_MyROImage != value)
|
if (_MyROImage != value)
|
||||||
{
|
{
|
||||||
_MyROImage = value;
|
_MyROImage = value;
|
||||||
@ -194,13 +187,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -215,13 +206,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -235,13 +224,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -255,7 +242,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -273,7 +260,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyROFst == null ? true : _MyROFst.IsValidList(list)) && (_MyROImage == null ? true : _MyROImage.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyROFst == null ? true : _MyROFst.IsValidList(list)) && (_MyROImage == null ? true : _MyROImage.IsValidList(list));
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FigureID", true);
|
|
||||||
return _FigureID;
|
return _FigureID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ROFstID", true);
|
|
||||||
if (_MyROFst != null) _ROFstID = _MyROFst.ROFstID;
|
if (_MyROFst != null) _ROFstID = _MyROFst.ROFstID;
|
||||||
return _ROFstID;
|
return _ROFstID;
|
||||||
}
|
}
|
||||||
@ -117,7 +115,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyROFst", true);
|
|
||||||
if (_MyROFst == null && _ROFstID != 0) _MyROFst = ROFstInfo.Get(_ROFstID);
|
if (_MyROFst == null && _ROFstID != 0) _MyROFst = ROFstInfo.Get(_ROFstID);
|
||||||
return _MyROFst;
|
return _MyROFst;
|
||||||
}
|
}
|
||||||
@ -128,7 +125,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ImageID", true);
|
|
||||||
if (_MyROImage != null) _ImageID = _MyROImage.ImageID;
|
if (_MyROImage != null) _ImageID = _MyROImage.ImageID;
|
||||||
return _ImageID;
|
return _ImageID;
|
||||||
}
|
}
|
||||||
@ -139,7 +135,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyROImage", true);
|
|
||||||
if (_MyROImage == null && _ImageID != 0) _MyROImage = ROImageInfo.Get(_ImageID);
|
if (_MyROImage == null && _ImageID != 0) _MyROImage = ROImageInfo.Get(_ImageID);
|
||||||
return _MyROImage;
|
return _MyROImage;
|
||||||
}
|
}
|
||||||
@ -150,7 +145,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -160,7 +154,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -170,7 +163,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -369,7 +361,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ROImage_FileName", true);
|
|
||||||
return _ROImage_FileName;
|
return _ROImage_FileName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -151,7 +151,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FolderID", true);
|
|
||||||
return _FolderID;
|
return _FolderID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -161,7 +160,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ParentID", true);
|
|
||||||
if (_MyParent != null) _ParentID = _MyParent.FolderID;
|
if (_MyParent != null) _ParentID = _MyParent.FolderID;
|
||||||
return _ParentID;
|
return _ParentID;
|
||||||
}
|
}
|
||||||
@ -172,14 +170,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyParent", true);
|
|
||||||
if (_MyParent == null && _ParentID != _FolderID) _MyParent = Folder.Get(_ParentID);
|
if (_MyParent == null && _ParentID != _FolderID) _MyParent = Folder.Get(_ParentID);
|
||||||
return _MyParent;
|
return _MyParent;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyParent", true);
|
|
||||||
if (_MyParent != value)
|
if (_MyParent != value)
|
||||||
{
|
{
|
||||||
_MyParent = value;
|
_MyParent = value;
|
||||||
@ -194,7 +190,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DBID", true);
|
|
||||||
if (_MyConnection != null) _DBID = _MyConnection.DBID;
|
if (_MyConnection != null) _DBID = _MyConnection.DBID;
|
||||||
return _DBID;
|
return _DBID;
|
||||||
}
|
}
|
||||||
@ -205,14 +200,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyConnection", true);
|
|
||||||
if (_MyConnection == null && _DBID != 0) _MyConnection = Connection.Get(_DBID);
|
if (_MyConnection == null && _DBID != 0) _MyConnection = Connection.Get(_DBID);
|
||||||
return _MyConnection;
|
return _MyConnection;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyConnection", true);
|
|
||||||
if (_MyConnection != value)
|
if (_MyConnection != value)
|
||||||
{
|
{
|
||||||
_MyConnection = value;
|
_MyConnection = value;
|
||||||
@ -227,13 +220,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Name", true);
|
|
||||||
return _Name;
|
return _Name;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Name", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Name != value)
|
if (_Name != value)
|
||||||
{
|
{
|
||||||
@ -248,13 +239,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Title", true);
|
|
||||||
return _Title;
|
return _Title;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Title", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Title != value)
|
if (_Title != value)
|
||||||
{
|
{
|
||||||
@ -269,13 +258,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ShortName", true);
|
|
||||||
return _ShortName;
|
return _ShortName;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ShortName", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_ShortName != value)
|
if (_ShortName != value)
|
||||||
{
|
{
|
||||||
@ -290,7 +277,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatID", true);
|
|
||||||
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
||||||
return _FormatID;
|
return _FormatID;
|
||||||
}
|
}
|
||||||
@ -301,14 +287,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyFormat", true);
|
|
||||||
if (_MyFormat == null && _FormatID != null) _MyFormat = Format.Get((int)_FormatID);
|
if (_MyFormat == null && _FormatID != null) _MyFormat = Format.Get((int)_FormatID);
|
||||||
return _MyFormat;
|
return _MyFormat;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyFormat", true);
|
|
||||||
if ((_MyFormat == null ? _FormatID : (int?)_MyFormat.FormatID) != (value == null ? null : (int?)value.FormatID))
|
if ((_MyFormat == null ? _FormatID : (int?)_MyFormat.FormatID) != (value == null ? null : (int?)value.FormatID))
|
||||||
{
|
{
|
||||||
_MyFormat = value;
|
_MyFormat = value;
|
||||||
@ -323,13 +307,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ManualOrder", true);
|
|
||||||
return _ManualOrder;
|
return _ManualOrder;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ManualOrder", true);
|
|
||||||
if (_ManualOrder != value)
|
if (_ManualOrder != value)
|
||||||
{
|
{
|
||||||
_ManualOrder = value;
|
_ManualOrder = value;
|
||||||
@ -343,13 +325,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -364,13 +344,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -384,13 +362,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UsrID", true);
|
|
||||||
return _UsrID;
|
return _UsrID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UsrID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UsrID != value)
|
if (_UsrID != value)
|
||||||
{
|
{
|
||||||
@ -409,7 +385,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FolderAssignmentCount", true);
|
|
||||||
return _FolderAssignmentCount;
|
return _FolderAssignmentCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -423,10 +398,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FolderAssignments", true);
|
|
||||||
if (_FolderAssignmentCount < 0 || (_FolderAssignmentCount > 0 && _FolderAssignments == null))
|
if (_FolderAssignmentCount < 0 || (_FolderAssignmentCount > 0 && _FolderAssignments == null))
|
||||||
_FolderAssignments = FolderAssignments.GetByFolderID(FolderID);
|
_FolderAssignments = FolderAssignments.GetByFolderID(FolderID);
|
||||||
if (_FolderAssignmentCount < 0 )
|
if (_FolderAssignmentCount < 0)
|
||||||
_FolderAssignmentCount = _FolderAssignments == null ? 0 : _FolderAssignments.Count;
|
_FolderAssignmentCount = _FolderAssignments == null ? 0 : _FolderAssignments.Count;
|
||||||
if (_FolderAssignments == null)
|
if (_FolderAssignments == null)
|
||||||
_FolderAssignments = FolderAssignments.New();
|
_FolderAssignments = FolderAssignments.New();
|
||||||
@ -446,7 +420,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FolderDocVersionCount", true);
|
|
||||||
return _FolderDocVersionCount;
|
return _FolderDocVersionCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -460,10 +433,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FolderDocVersions", true);
|
|
||||||
if (_FolderDocVersionCount < 0 || (_FolderDocVersionCount > 0 && _FolderDocVersions == null))
|
if (_FolderDocVersionCount < 0 || (_FolderDocVersionCount > 0 && _FolderDocVersions == null))
|
||||||
_FolderDocVersions = FolderDocVersions.GetByFolderID(FolderID);
|
_FolderDocVersions = FolderDocVersions.GetByFolderID(FolderID);
|
||||||
if (_FolderDocVersionCount < 0 )
|
if (_FolderDocVersionCount < 0)
|
||||||
_FolderDocVersionCount = _FolderDocVersions == null ? 0 : _FolderDocVersions.Count;
|
_FolderDocVersionCount = _FolderDocVersions == null ? 0 : _FolderDocVersions.Count;
|
||||||
if (_FolderDocVersions == null)
|
if (_FolderDocVersions == null)
|
||||||
_FolderDocVersions = FolderDocVersions.New();
|
_FolderDocVersions = FolderDocVersions.New();
|
||||||
@ -483,7 +455,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ChildFolderCount", true);
|
|
||||||
return _ChildFolderCount;
|
return _ChildFolderCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -497,10 +468,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ChildFolders", true);
|
|
||||||
if (_ChildFolderCount < 0 || (_ChildFolderCount > 0 && _ChildFolders == null))
|
if (_ChildFolderCount < 0 || (_ChildFolderCount > 0 && _ChildFolders == null))
|
||||||
_ChildFolders = ChildFolders.GetByParentID(FolderID);
|
_ChildFolders = ChildFolders.GetByParentID(FolderID);
|
||||||
if (_ChildFolderCount < 0 )
|
if (_ChildFolderCount < 0)
|
||||||
_ChildFolderCount = _ChildFolders == null ? 0 : _ChildFolders.Count;
|
_ChildFolderCount = _ChildFolders == null ? 0 : _ChildFolders.Count;
|
||||||
if (_ChildFolders == null)
|
if (_ChildFolders == null)
|
||||||
_ChildFolders = ChildFolders.New();
|
_ChildFolders = ChildFolders.New();
|
||||||
@ -515,7 +485,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -533,7 +503,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_FolderAssignments == null ? true : _FolderAssignments.IsValidList(list)) && (_FolderDocVersions == null ? true : _FolderDocVersions.IsValidList(list)) && (_ChildFolders == null ? true : _ChildFolders.IsValidList(list)) && (_MyConnection == null ? true : _MyConnection.IsValidList(list)) && (_MyFormat == null ? true : _MyFormat.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_FolderAssignments == null ? true : _FolderAssignments.IsValidList(list)) && (_FolderDocVersions == null ? true : _FolderDocVersions.IsValidList(list)) && (_ChildFolders == null ? true : _ChildFolders.IsValidList(list)) && (_MyConnection == null ? true : _MyConnection.IsValidList(list)) && (_MyFormat == null ? true : _MyFormat.IsValidList(list));
|
||||||
@ -1253,7 +1223,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
if (_MyLog.IsErrorEnabled)
|
if (_MyLog.IsErrorEnabled)
|
||||||
if(!ex.Message.Contains("Cannot insert duplicate key row in object 'dbo.Folders' with unique index 'IX_UniqueChildFolders'"))
|
if (!ex.Message.Contains("Cannot insert duplicate key row in object 'dbo.Folders' with unique index 'IX_UniqueChildFolders'"))
|
||||||
_MyLog.Error("Folder.DataPortal_Update", ex);
|
_MyLog.Error("Folder.DataPortal_Update", ex);
|
||||||
_ErrorMessage = ex.Message;
|
_ErrorMessage = ex.Message;
|
||||||
if (!ex.Message.EndsWith("has been edited by another user.")) throw ex;
|
if (!ex.Message.EndsWith("has been edited by another user.")) throw ex;
|
||||||
@ -1308,7 +1278,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
if (_MyLog.IsErrorEnabled)
|
if (_MyLog.IsErrorEnabled)
|
||||||
if(!ex.Message.Contains("Cannot insert duplicate key row in object 'dbo.Folders' with unique index 'IX_UniqueChildFolders'"))
|
if (!ex.Message.Contains("Cannot insert duplicate key row in object 'dbo.Folders' with unique index 'IX_UniqueChildFolders'"))
|
||||||
_MyLog.Error("Folder.SQLUpdate", ex);
|
_MyLog.Error("Folder.SQLUpdate", ex);
|
||||||
_ErrorMessage = ex.Message;
|
_ErrorMessage = ex.Message;
|
||||||
if (!ex.Message.EndsWith("has been edited by another user.")) throw ex;
|
if (!ex.Message.EndsWith("has been edited by another user.")) throw ex;
|
||||||
|
@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AID", true);
|
|
||||||
if (_MyAssignment != null) _AID = _MyAssignment.AID;
|
if (_MyAssignment != null) _AID = _MyAssignment.AID;
|
||||||
return _AID;
|
return _AID;
|
||||||
}
|
}
|
||||||
@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyAssignment", true);
|
|
||||||
if (_MyAssignment == null && _AID != 0) _MyAssignment = Assignment.Get(_AID);
|
if (_MyAssignment == null && _AID != 0) _MyAssignment = Assignment.Get(_AID);
|
||||||
return _MyAssignment;
|
return _MyAssignment;
|
||||||
}
|
}
|
||||||
@ -66,7 +64,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("GID", true);
|
|
||||||
if (_MyGroup != null) _GID = _MyGroup.GID;
|
if (_MyGroup != null) _GID = _MyGroup.GID;
|
||||||
return _GID;
|
return _GID;
|
||||||
}
|
}
|
||||||
@ -77,14 +74,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyGroup", true);
|
|
||||||
if (_MyGroup == null && _GID != 0) _MyGroup = Group.Get(_GID);
|
if (_MyGroup == null && _GID != 0) _MyGroup = Group.Get(_GID);
|
||||||
return _MyGroup;
|
return _MyGroup;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyGroup", true);
|
|
||||||
if (_MyGroup != value)
|
if (_MyGroup != value)
|
||||||
{
|
{
|
||||||
_MyGroup = value;
|
_MyGroup = value;
|
||||||
@ -99,7 +94,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RID", true);
|
|
||||||
if (_MyRole != null) _RID = _MyRole.RID;
|
if (_MyRole != null) _RID = _MyRole.RID;
|
||||||
return _RID;
|
return _RID;
|
||||||
}
|
}
|
||||||
@ -110,14 +104,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyRole", true);
|
|
||||||
if (_MyRole == null && _RID != 0) _MyRole = Role.Get(_RID);
|
if (_MyRole == null && _RID != 0) _MyRole = Role.Get(_RID);
|
||||||
return _MyRole;
|
return _MyRole;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyRole", true);
|
|
||||||
if (_MyRole != value)
|
if (_MyRole != value)
|
||||||
{
|
{
|
||||||
_MyRole = value;
|
_MyRole = value;
|
||||||
@ -132,13 +124,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("StartDate", true);
|
|
||||||
return _StartDate;
|
return _StartDate;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("StartDate", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
_StartDate = value;
|
_StartDate = value;
|
||||||
try
|
try
|
||||||
@ -162,13 +152,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("EndDate", true);
|
|
||||||
return _EndDate;
|
return _EndDate;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("EndDate", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
_EndDate = value;
|
_EndDate = value;
|
||||||
try
|
try
|
||||||
@ -192,13 +180,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -212,13 +198,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UsrID", true);
|
|
||||||
return _UsrID;
|
return _UsrID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UsrID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UsrID != value)
|
if (_UsrID != value)
|
||||||
{
|
{
|
||||||
@ -234,7 +218,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Group_GroupName", true);
|
|
||||||
return _Group_GroupName;
|
return _Group_GroupName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -244,7 +227,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Group_GroupType", true);
|
|
||||||
return _Group_GroupType;
|
return _Group_GroupType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -254,7 +236,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Group_Config", true);
|
|
||||||
return _Group_Config;
|
return _Group_Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -264,7 +245,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Group_DTS", true);
|
|
||||||
return _Group_DTS;
|
return _Group_DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -274,7 +254,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Group_UsrID", true);
|
|
||||||
return _Group_UsrID;
|
return _Group_UsrID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -284,7 +263,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Role_Name", true);
|
|
||||||
return _Role_Name;
|
return _Role_Name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -294,7 +272,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Role_Title", true);
|
|
||||||
return _Role_Title;
|
return _Role_Title;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -304,7 +281,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Role_DTS", true);
|
|
||||||
return _Role_DTS;
|
return _Role_DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -314,7 +290,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Role_UsrID", true);
|
|
||||||
return _Role_UsrID;
|
return _Role_UsrID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -340,7 +315,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -358,7 +333,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyGroup == null ? true : _MyGroup.IsValidList(list)) && (_MyRole == null ? true : _MyRole.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyGroup == null ? true : _MyGroup.IsValidList(list)) && (_MyRole == null ? true : _MyRole.IsValidList(list));
|
||||||
|
@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("VersionID", true);
|
|
||||||
if (_MyDocVersion != null) _VersionID = _MyDocVersion.VersionID;
|
if (_MyDocVersion != null) _VersionID = _MyDocVersion.VersionID;
|
||||||
return _VersionID;
|
return _VersionID;
|
||||||
}
|
}
|
||||||
@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyDocVersion", true);
|
|
||||||
if (_MyDocVersion == null && _VersionID != 0) _MyDocVersion = DocVersion.Get(_VersionID);
|
if (_MyDocVersion == null && _VersionID != 0) _MyDocVersion = DocVersion.Get(_VersionID);
|
||||||
return _MyDocVersion;
|
return _MyDocVersion;
|
||||||
}
|
}
|
||||||
@ -69,13 +67,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("VersionType", true);
|
|
||||||
return _VersionType;
|
return _VersionType;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("VersionType", true);
|
|
||||||
if (_VersionType != value)
|
if (_VersionType != value)
|
||||||
{
|
{
|
||||||
_VersionType = value;
|
_VersionType = value;
|
||||||
@ -89,13 +85,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Name", true);
|
|
||||||
return _Name;
|
return _Name;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Name", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Name != value)
|
if (_Name != value)
|
||||||
{
|
{
|
||||||
@ -110,13 +104,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Title", true);
|
|
||||||
return _Title;
|
return _Title;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Title", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Title != value)
|
if (_Title != value)
|
||||||
{
|
{
|
||||||
@ -131,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemID", true);
|
|
||||||
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
||||||
return _ItemID;
|
return _ItemID;
|
||||||
}
|
}
|
||||||
@ -142,14 +133,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyItem", true);
|
|
||||||
if (_MyItem == null && _ItemID != null) _MyItem = Item.Get((int)_ItemID);
|
if (_MyItem == null && _ItemID != null) _MyItem = Item.Get((int)_ItemID);
|
||||||
return _MyItem;
|
return _MyItem;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyItem", true);
|
|
||||||
if ((_MyItem == null ? _ItemID : (int?)_MyItem.ItemID) != (value == null ? null : (int?)value.ItemID))
|
if ((_MyItem == null ? _ItemID : (int?)_MyItem.ItemID) != (value == null ? null : (int?)value.ItemID))
|
||||||
{
|
{
|
||||||
_MyItem = value;
|
_MyItem = value;
|
||||||
@ -164,7 +153,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatID", true);
|
|
||||||
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
||||||
return _FormatID;
|
return _FormatID;
|
||||||
}
|
}
|
||||||
@ -175,14 +163,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyFormat", true);
|
|
||||||
if (_MyFormat == null && _FormatID != null) _MyFormat = Format.Get((int)_FormatID);
|
if (_MyFormat == null && _FormatID != null) _MyFormat = Format.Get((int)_FormatID);
|
||||||
return _MyFormat;
|
return _MyFormat;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyFormat", true);
|
|
||||||
if ((_MyFormat == null ? _FormatID : (int?)_MyFormat.FormatID) != (value == null ? null : (int?)value.FormatID))
|
if ((_MyFormat == null ? _FormatID : (int?)_MyFormat.FormatID) != (value == null ? null : (int?)value.FormatID))
|
||||||
{
|
{
|
||||||
_MyFormat = value;
|
_MyFormat = value;
|
||||||
@ -197,13 +183,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -218,13 +202,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -238,13 +220,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FolderID", true);
|
|
||||||
return _FolderID;
|
return _FolderID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ParentID", true);
|
|
||||||
if (_MyParent != null) _ParentID = _MyParent.FolderID;
|
if (_MyParent != null) _ParentID = _MyParent.FolderID;
|
||||||
return _ParentID;
|
return _ParentID;
|
||||||
}
|
}
|
||||||
@ -117,7 +115,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyParent", true);
|
|
||||||
if (_MyParent == null && _ParentID != _FolderID) _MyParent = FolderInfo.Get(_ParentID);
|
if (_MyParent == null && _ParentID != _FolderID) _MyParent = FolderInfo.Get(_ParentID);
|
||||||
return _MyParent;
|
return _MyParent;
|
||||||
}
|
}
|
||||||
@ -128,7 +125,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DBID", true);
|
|
||||||
if (_MyConnection != null) _DBID = _MyConnection.DBID;
|
if (_MyConnection != null) _DBID = _MyConnection.DBID;
|
||||||
return _DBID;
|
return _DBID;
|
||||||
}
|
}
|
||||||
@ -139,7 +135,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyConnection", true);
|
|
||||||
if (_MyConnection == null && _DBID != 0) _MyConnection = ConnectionInfo.Get(_DBID);
|
if (_MyConnection == null && _DBID != 0) _MyConnection = ConnectionInfo.Get(_DBID);
|
||||||
return _MyConnection;
|
return _MyConnection;
|
||||||
}
|
}
|
||||||
@ -150,7 +145,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Name", true);
|
|
||||||
return _Name;
|
return _Name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -160,7 +154,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Title", true);
|
|
||||||
return _Title;
|
return _Title;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -170,7 +163,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ShortName", true);
|
|
||||||
return _ShortName;
|
return _ShortName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -180,7 +172,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatID", true);
|
|
||||||
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
||||||
return _FormatID;
|
return _FormatID;
|
||||||
}
|
}
|
||||||
@ -191,7 +182,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyFormat", true);
|
|
||||||
if (_MyFormat == null && _FormatID != null) _MyFormat = FormatInfo.Get((int)_FormatID);
|
if (_MyFormat == null && _FormatID != null) _MyFormat = FormatInfo.Get((int)_FormatID);
|
||||||
return _MyFormat;
|
return _MyFormat;
|
||||||
}
|
}
|
||||||
@ -202,7 +192,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ManualOrder", true);
|
|
||||||
return _ManualOrder;
|
return _ManualOrder;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -212,7 +201,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -222,7 +210,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -232,7 +219,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UsrID", true);
|
|
||||||
return _UsrID;
|
return _UsrID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -245,7 +231,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FolderAssignmentCount", true);
|
|
||||||
if (_FolderAssignmentCount < 0)
|
if (_FolderAssignmentCount < 0)
|
||||||
_FolderAssignmentCount = FolderAssignments.Count;
|
_FolderAssignmentCount = FolderAssignments.Count;
|
||||||
return _FolderAssignmentCount;
|
return _FolderAssignmentCount;
|
||||||
@ -258,7 +243,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FolderAssignments", true);
|
|
||||||
if (_FolderAssignmentCount < 0 || (_FolderAssignmentCount > 0 && _FolderAssignments == null))
|
if (_FolderAssignmentCount < 0 || (_FolderAssignmentCount > 0 && _FolderAssignments == null))
|
||||||
_FolderAssignments = AssignmentInfoList.GetByFolderID(_FolderID);
|
_FolderAssignments = AssignmentInfoList.GetByFolderID(_FolderID);
|
||||||
if (_FolderAssignmentCount < 0)
|
if (_FolderAssignmentCount < 0)
|
||||||
@ -283,7 +267,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FolderDocVersionCount", true);
|
|
||||||
if (_FolderDocVersionCount < 0)
|
if (_FolderDocVersionCount < 0)
|
||||||
_FolderDocVersionCount = FolderDocVersions.Count;
|
_FolderDocVersionCount = FolderDocVersions.Count;
|
||||||
return _FolderDocVersionCount;
|
return _FolderDocVersionCount;
|
||||||
@ -296,7 +279,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FolderDocVersions", true);
|
|
||||||
if (_FolderDocVersionCount < 0 || (_FolderDocVersionCount > 0 && _FolderDocVersions == null))
|
if (_FolderDocVersionCount < 0 || (_FolderDocVersionCount > 0 && _FolderDocVersions == null))
|
||||||
_FolderDocVersions = DocVersionInfoList.GetByFolderID(_FolderID);
|
_FolderDocVersions = DocVersionInfoList.GetByFolderID(_FolderID);
|
||||||
if (_FolderDocVersionCount < 0)
|
if (_FolderDocVersionCount < 0)
|
||||||
@ -321,7 +303,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ChildFolderCount", true);
|
|
||||||
if (_ChildFolderCount < 0)
|
if (_ChildFolderCount < 0)
|
||||||
_ChildFolderCount = ChildFolders.Count;
|
_ChildFolderCount = ChildFolders.Count;
|
||||||
return _ChildFolderCount;
|
return _ChildFolderCount;
|
||||||
@ -334,7 +315,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ChildFolders", true);
|
|
||||||
if (_ChildFolderCount < 0 || (_ChildFolderCount > 0 && _ChildFolders == null))
|
if (_ChildFolderCount < 0 || (_ChildFolderCount > 0 && _ChildFolders == null))
|
||||||
_ChildFolders = FolderInfoList.GetChildren(_FolderID);
|
_ChildFolders = FolderInfoList.GetChildren(_FolderID);
|
||||||
if (_ChildFolderCount < 0)
|
if (_ChildFolderCount < 0)
|
||||||
|
@ -162,7 +162,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatID", true);
|
|
||||||
return _FormatID;
|
return _FormatID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -172,7 +171,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ParentID", true);
|
|
||||||
if (_MyParent != null) _ParentID = _MyParent.FormatID;
|
if (_MyParent != null) _ParentID = _MyParent.FormatID;
|
||||||
return _ParentID;
|
return _ParentID;
|
||||||
}
|
}
|
||||||
@ -183,14 +181,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyParent", true);
|
|
||||||
if (_MyParent == null && _ParentID != _FormatID) _MyParent = Format.Get(_ParentID);
|
if (_MyParent == null && _ParentID != _FormatID) _MyParent = Format.Get(_ParentID);
|
||||||
return _MyParent;
|
return _MyParent;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyParent", true);
|
|
||||||
if (_MyParent != value)
|
if (_MyParent != value)
|
||||||
{
|
{
|
||||||
_MyParent = value;
|
_MyParent = value;
|
||||||
@ -205,13 +201,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Name", true);
|
|
||||||
return _Name;
|
return _Name;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Name", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Name != value)
|
if (_Name != value)
|
||||||
{
|
{
|
||||||
@ -226,13 +220,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Description", true);
|
|
||||||
return _Description;
|
return _Description;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Description", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Description != value)
|
if (_Description != value)
|
||||||
{
|
{
|
||||||
@ -247,13 +239,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Data", true);
|
|
||||||
return _Data;
|
return _Data;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Data", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Data != value)
|
if (_Data != value)
|
||||||
{
|
{
|
||||||
@ -268,13 +258,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -289,13 +277,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("GenMac", true);
|
|
||||||
return _GenMac;
|
return _GenMac;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("GenMac", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_GenMac != value)
|
if (_GenMac != value)
|
||||||
{
|
{
|
||||||
@ -310,13 +296,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -330,13 +314,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -355,7 +337,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatContentCount", true);
|
|
||||||
return _FormatContentCount;
|
return _FormatContentCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -369,10 +350,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatContents", true);
|
|
||||||
if (_FormatContentCount < 0 || (_FormatContentCount > 0 && _FormatContents == null))
|
if (_FormatContentCount < 0 || (_FormatContentCount > 0 && _FormatContents == null))
|
||||||
_FormatContents = FormatContents.GetByFormatID(FormatID);
|
_FormatContents = FormatContents.GetByFormatID(FormatID);
|
||||||
if (_FormatContentCount < 0 )
|
if (_FormatContentCount < 0)
|
||||||
_FormatContentCount = _FormatContents == null ? 0 : _FormatContents.Count;
|
_FormatContentCount = _FormatContents == null ? 0 : _FormatContents.Count;
|
||||||
if (_FormatContents == null)
|
if (_FormatContents == null)
|
||||||
_FormatContents = FormatContents.New();
|
_FormatContents = FormatContents.New();
|
||||||
@ -392,7 +372,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatDocVersionCount", true);
|
|
||||||
return _FormatDocVersionCount;
|
return _FormatDocVersionCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -406,10 +385,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatDocVersions", true);
|
|
||||||
if (_FormatDocVersionCount < 0 || (_FormatDocVersionCount > 0 && _FormatDocVersions == null))
|
if (_FormatDocVersionCount < 0 || (_FormatDocVersionCount > 0 && _FormatDocVersions == null))
|
||||||
_FormatDocVersions = FormatDocVersions.GetByFormatID(FormatID);
|
_FormatDocVersions = FormatDocVersions.GetByFormatID(FormatID);
|
||||||
if (_FormatDocVersionCount < 0 )
|
if (_FormatDocVersionCount < 0)
|
||||||
_FormatDocVersionCount = _FormatDocVersions == null ? 0 : _FormatDocVersions.Count;
|
_FormatDocVersionCount = _FormatDocVersions == null ? 0 : _FormatDocVersions.Count;
|
||||||
if (_FormatDocVersions == null)
|
if (_FormatDocVersions == null)
|
||||||
_FormatDocVersions = FormatDocVersions.New();
|
_FormatDocVersions = FormatDocVersions.New();
|
||||||
@ -429,7 +407,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatFolderCount", true);
|
|
||||||
return _FormatFolderCount;
|
return _FormatFolderCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -443,10 +420,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatFolders", true);
|
|
||||||
if (_FormatFolderCount < 0 || (_FormatFolderCount > 0 && _FormatFolders == null))
|
if (_FormatFolderCount < 0 || (_FormatFolderCount > 0 && _FormatFolders == null))
|
||||||
_FormatFolders = FormatFolders.GetByFormatID(FormatID);
|
_FormatFolders = FormatFolders.GetByFormatID(FormatID);
|
||||||
if (_FormatFolderCount < 0 )
|
if (_FormatFolderCount < 0)
|
||||||
_FormatFolderCount = _FormatFolders == null ? 0 : _FormatFolders.Count;
|
_FormatFolderCount = _FormatFolders == null ? 0 : _FormatFolders.Count;
|
||||||
if (_FormatFolders == null)
|
if (_FormatFolders == null)
|
||||||
_FormatFolders = FormatFolders.New();
|
_FormatFolders = FormatFolders.New();
|
||||||
@ -466,7 +442,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ChildFormatCount", true);
|
|
||||||
return _ChildFormatCount;
|
return _ChildFormatCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -480,10 +455,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ChildFormats", true);
|
|
||||||
if (_ChildFormatCount < 0 || (_ChildFormatCount > 0 && _ChildFormats == null))
|
if (_ChildFormatCount < 0 || (_ChildFormatCount > 0 && _ChildFormats == null))
|
||||||
_ChildFormats = ChildFormats.GetByParentID(FormatID);
|
_ChildFormats = ChildFormats.GetByParentID(FormatID);
|
||||||
if (_ChildFormatCount < 0 )
|
if (_ChildFormatCount < 0)
|
||||||
_ChildFormatCount = _ChildFormats == null ? 0 : _ChildFormats.Count;
|
_ChildFormatCount = _ChildFormats == null ? 0 : _ChildFormats.Count;
|
||||||
if (_ChildFormats == null)
|
if (_ChildFormats == null)
|
||||||
_ChildFormats = ChildFormats.New();
|
_ChildFormats = ChildFormats.New();
|
||||||
@ -498,7 +472,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -516,7 +490,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_FormatContents == null ? true : _FormatContents.IsValidList(list)) && (_FormatDocVersions == null ? true : _FormatDocVersions.IsValidList(list)) && (_FormatFolders == null ? true : _FormatFolders.IsValidList(list)) && (_ChildFormats == null ? true : _ChildFormats.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_FormatContents == null ? true : _FormatContents.IsValidList(list)) && (_FormatDocVersions == null ? true : _FormatDocVersions.IsValidList(list)) && (_FormatFolders == null ? true : _FormatFolders.IsValidList(list)) && (_ChildFormats == null ? true : _ChildFormats.IsValidList(list));
|
||||||
@ -988,9 +962,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
_Config = dr.GetString("Config");
|
_Config = dr.GetString("Config");
|
||||||
}
|
}
|
||||||
catch(Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
if (Failed==null)
|
if (Failed == null)
|
||||||
{
|
{
|
||||||
Failed = string.Format("\r\n*** PromsFixes.SQL may not be up to date - {0} - {1}", ex.GetType().Name, ex.Message);
|
Failed = string.Format("\r\n*** PromsFixes.SQL may not be up to date - {0} - {1}", ex.GetType().Name, ex.Message);
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyContent", true);
|
|
||||||
if (_MyContent == null && _ContentID != 0) _MyContent = Content.Get(_ContentID);
|
if (_MyContent == null && _ContentID != 0) _MyContent = Content.Get(_ContentID);
|
||||||
return _MyContent;
|
return _MyContent;
|
||||||
}
|
}
|
||||||
@ -69,13 +67,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Number", true);
|
|
||||||
return _Number;
|
return _Number;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Number", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Number != value)
|
if (_Number != value)
|
||||||
{
|
{
|
||||||
@ -90,13 +86,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Text", true);
|
|
||||||
return _Text;
|
return _Text;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Text", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Text != value)
|
if (_Text != value)
|
||||||
{
|
{
|
||||||
@ -114,13 +108,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Type", true);
|
|
||||||
return _Type;
|
return _Type;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Type", true);
|
|
||||||
if (_Type != value)
|
if (_Type != value)
|
||||||
{
|
{
|
||||||
_Type = value;
|
_Type = value;
|
||||||
@ -134,13 +126,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -155,13 +145,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -175,13 +163,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -420,7 +406,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
// if we're not dirty then don't update the database
|
// if we're not dirty then don't update the database
|
||||||
if (!this.IsDirty) return;
|
if (!this.IsDirty) return;
|
||||||
SqlConnection cn = (SqlConnection)ApplicationContext.LocalContext["cn"];
|
SqlConnection cn = (SqlConnection)ApplicationContext.LocalContext["cn"];
|
||||||
_LastChanged = Content.Update(cn, ref _ContentID, _Number, _Text, _Type, myFormat != null ? (int?) myFormat.FormatID : (int?) null, _Config, _DTS, _UserID, ref _LastChanged);
|
_LastChanged = Content.Update(cn, ref _ContentID, _Number, _Text, _Type, myFormat != null ? (int?)myFormat.FormatID : (int?)null, _Config, _DTS, _UserID, ref _LastChanged);
|
||||||
MarkOld();
|
MarkOld();
|
||||||
}
|
}
|
||||||
internal void DeleteSelf(Format myFormat)
|
internal void DeleteSelf(Format myFormat)
|
||||||
|
@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("VersionID", true);
|
|
||||||
if (_MyDocVersion != null) _VersionID = _MyDocVersion.VersionID;
|
if (_MyDocVersion != null) _VersionID = _MyDocVersion.VersionID;
|
||||||
return _VersionID;
|
return _VersionID;
|
||||||
}
|
}
|
||||||
@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyDocVersion", true);
|
|
||||||
if (_MyDocVersion == null && _VersionID != 0) _MyDocVersion = DocVersion.Get(_VersionID);
|
if (_MyDocVersion == null && _VersionID != 0) _MyDocVersion = DocVersion.Get(_VersionID);
|
||||||
return _MyDocVersion;
|
return _MyDocVersion;
|
||||||
}
|
}
|
||||||
@ -66,7 +64,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FolderID", true);
|
|
||||||
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
||||||
return _FolderID;
|
return _FolderID;
|
||||||
}
|
}
|
||||||
@ -77,14 +74,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyFolder", true);
|
|
||||||
if (_MyFolder == null && _FolderID != 0) _MyFolder = Folder.Get(_FolderID);
|
if (_MyFolder == null && _FolderID != 0) _MyFolder = Folder.Get(_FolderID);
|
||||||
return _MyFolder;
|
return _MyFolder;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyFolder", true);
|
|
||||||
if (_MyFolder != value)
|
if (_MyFolder != value)
|
||||||
{
|
{
|
||||||
_MyFolder = value;
|
_MyFolder = value;
|
||||||
@ -102,13 +97,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("VersionType", true);
|
|
||||||
return _VersionType;
|
return _VersionType;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("VersionType", true);
|
|
||||||
if (_VersionType != value)
|
if (_VersionType != value)
|
||||||
{
|
{
|
||||||
_VersionType = value;
|
_VersionType = value;
|
||||||
@ -122,13 +115,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Name", true);
|
|
||||||
return _Name;
|
return _Name;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Name", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Name != value)
|
if (_Name != value)
|
||||||
{
|
{
|
||||||
@ -143,13 +134,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Title", true);
|
|
||||||
return _Title;
|
return _Title;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Title", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Title != value)
|
if (_Title != value)
|
||||||
{
|
{
|
||||||
@ -164,7 +153,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemID", true);
|
|
||||||
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
||||||
return _ItemID;
|
return _ItemID;
|
||||||
}
|
}
|
||||||
@ -175,14 +163,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyItem", true);
|
|
||||||
if (_MyItem == null && _ItemID != null) _MyItem = Item.Get((int)_ItemID);
|
if (_MyItem == null && _ItemID != null) _MyItem = Item.Get((int)_ItemID);
|
||||||
return _MyItem;
|
return _MyItem;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyItem", true);
|
|
||||||
if ((_MyItem == null ? _ItemID : (int?)_MyItem.ItemID) != (value == null ? null : (int?)value.ItemID))
|
if ((_MyItem == null ? _ItemID : (int?)_MyItem.ItemID) != (value == null ? null : (int?)value.ItemID))
|
||||||
{
|
{
|
||||||
_MyItem = value;
|
_MyItem = value;
|
||||||
@ -197,13 +183,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -218,13 +202,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -238,13 +220,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -260,7 +240,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_ParentID", true);
|
|
||||||
return _Folder_ParentID;
|
return _Folder_ParentID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -270,7 +249,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_DBID", true);
|
|
||||||
return _Folder_DBID;
|
return _Folder_DBID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -280,7 +258,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_Name", true);
|
|
||||||
return _Folder_Name;
|
return _Folder_Name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -290,7 +267,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_Title", true);
|
|
||||||
return _Folder_Title;
|
return _Folder_Title;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -300,7 +276,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_ShortName", true);
|
|
||||||
return _Folder_ShortName;
|
return _Folder_ShortName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -310,7 +285,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_FormatID", true);
|
|
||||||
return _Folder_FormatID;
|
return _Folder_FormatID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -320,7 +294,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_ManualOrder", true);
|
|
||||||
return _Folder_ManualOrder;
|
return _Folder_ManualOrder;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -330,7 +303,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_Config", true);
|
|
||||||
return _Folder_Config;
|
return _Folder_Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -340,7 +312,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_DTS", true);
|
|
||||||
return _Folder_DTS;
|
return _Folder_DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -350,7 +321,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_UsrID", true);
|
|
||||||
return _Folder_UsrID;
|
return _Folder_UsrID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -376,7 +346,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -394,7 +364,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyFolder == null ? true : _MyFolder.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyFolder == null ? true : _MyFolder.IsValidList(list));
|
||||||
@ -637,7 +607,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
// if we're not dirty then don't update the database
|
// if we're not dirty then don't update the database
|
||||||
if (!this.IsDirty) return;
|
if (!this.IsDirty) return;
|
||||||
SqlConnection cn = (SqlConnection)ApplicationContext.LocalContext["cn"];
|
SqlConnection cn = (SqlConnection)ApplicationContext.LocalContext["cn"];
|
||||||
_LastChanged = DocVersion.Update(cn, ref _VersionID, _FolderID, _VersionType, _Name, _Title, _ItemID, myFormat != null ? (int?) myFormat.FormatID : (int?) null, _Config, _DTS, _UserID, ref _LastChanged);
|
_LastChanged = DocVersion.Update(cn, ref _VersionID, _FolderID, _VersionType, _Name, _Title, _ItemID, myFormat != null ? (int?)myFormat.FormatID : (int?)null, _Config, _DTS, _UserID, ref _LastChanged);
|
||||||
MarkOld();
|
MarkOld();
|
||||||
}
|
}
|
||||||
internal void DeleteSelf(Format myFormat)
|
internal void DeleteSelf(Format myFormat)
|
||||||
|
@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FolderID", true);
|
|
||||||
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
||||||
return _FolderID;
|
return _FolderID;
|
||||||
}
|
}
|
||||||
@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyFolder", true);
|
|
||||||
if (_MyFolder == null && _FolderID != 0) _MyFolder = Folder.Get(_FolderID);
|
if (_MyFolder == null && _FolderID != 0) _MyFolder = Folder.Get(_FolderID);
|
||||||
return _MyFolder;
|
return _MyFolder;
|
||||||
}
|
}
|
||||||
@ -66,7 +64,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ParentID", true);
|
|
||||||
if (_MyParent != null) _ParentID = _MyParent.FolderID;
|
if (_MyParent != null) _ParentID = _MyParent.FolderID;
|
||||||
return _ParentID;
|
return _ParentID;
|
||||||
}
|
}
|
||||||
@ -77,14 +74,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyParent", true);
|
|
||||||
if (_MyParent == null && _ParentID != _FolderID) _MyParent = Folder.Get(_ParentID);
|
if (_MyParent == null && _ParentID != _FolderID) _MyParent = Folder.Get(_ParentID);
|
||||||
return _MyParent;
|
return _MyParent;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyParent", true);
|
|
||||||
if (_MyParent != value)
|
if (_MyParent != value)
|
||||||
{
|
{
|
||||||
_MyParent = value;
|
_MyParent = value;
|
||||||
@ -99,7 +94,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DBID", true);
|
|
||||||
if (_MyConnection != null) _DBID = _MyConnection.DBID;
|
if (_MyConnection != null) _DBID = _MyConnection.DBID;
|
||||||
return _DBID;
|
return _DBID;
|
||||||
}
|
}
|
||||||
@ -110,14 +104,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyConnection", true);
|
|
||||||
if (_MyConnection == null && _DBID != 0) _MyConnection = Connection.Get(_DBID);
|
if (_MyConnection == null && _DBID != 0) _MyConnection = Connection.Get(_DBID);
|
||||||
return _MyConnection;
|
return _MyConnection;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyConnection", true);
|
|
||||||
if (_MyConnection != value)
|
if (_MyConnection != value)
|
||||||
{
|
{
|
||||||
_MyConnection = value;
|
_MyConnection = value;
|
||||||
@ -132,13 +124,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Name", true);
|
|
||||||
return _Name;
|
return _Name;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Name", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Name != value)
|
if (_Name != value)
|
||||||
{
|
{
|
||||||
@ -153,13 +143,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Title", true);
|
|
||||||
return _Title;
|
return _Title;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Title", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Title != value)
|
if (_Title != value)
|
||||||
{
|
{
|
||||||
@ -174,13 +162,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ShortName", true);
|
|
||||||
return _ShortName;
|
return _ShortName;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ShortName", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_ShortName != value)
|
if (_ShortName != value)
|
||||||
{
|
{
|
||||||
@ -195,13 +181,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ManualOrder", true);
|
|
||||||
return _ManualOrder;
|
return _ManualOrder;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ManualOrder", true);
|
|
||||||
if (_ManualOrder != value)
|
if (_ManualOrder != value)
|
||||||
{
|
{
|
||||||
_ManualOrder = value;
|
_ManualOrder = value;
|
||||||
@ -215,13 +199,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -236,13 +218,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -256,13 +236,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UsrID", true);
|
|
||||||
return _UsrID;
|
return _UsrID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UsrID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UsrID != value)
|
if (_UsrID != value)
|
||||||
{
|
{
|
||||||
@ -278,7 +256,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Connection_Name", true);
|
|
||||||
return _Connection_Name;
|
return _Connection_Name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -288,7 +265,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Connection_Title", true);
|
|
||||||
return _Connection_Title;
|
return _Connection_Title;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -298,7 +274,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Connection_ConnectionString", true);
|
|
||||||
return _Connection_ConnectionString;
|
return _Connection_ConnectionString;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -311,7 +286,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Connection_ServerType", true);
|
|
||||||
return _Connection_ServerType;
|
return _Connection_ServerType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -321,7 +295,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Connection_Config", true);
|
|
||||||
return _Connection_Config;
|
return _Connection_Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -331,7 +304,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Connection_DTS", true);
|
|
||||||
return _Connection_DTS;
|
return _Connection_DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -341,7 +313,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Connection_UsrID", true);
|
|
||||||
return _Connection_UsrID;
|
return _Connection_UsrID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -367,7 +338,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -385,7 +356,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyFolder == null ? true : _MyFolder.IsValidList(list)) && (_MyConnection == null ? true : _MyConnection.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyFolder == null ? true : _MyFolder.IsValidList(list)) && (_MyConnection == null ? true : _MyConnection.IsValidList(list));
|
||||||
@ -646,7 +617,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
// if we're not dirty then don't update the database
|
// if we're not dirty then don't update the database
|
||||||
if (!this.IsDirty) return;
|
if (!this.IsDirty) return;
|
||||||
SqlConnection cn = (SqlConnection)ApplicationContext.LocalContext["cn"];
|
SqlConnection cn = (SqlConnection)ApplicationContext.LocalContext["cn"];
|
||||||
_LastChanged = Folder.Update(cn, ref _FolderID, _ParentID, _DBID, _Name, _Title, _ShortName, myFormat != null ? (int?) myFormat.FormatID : (int?) null, _ManualOrder, _Config, _DTS, _UsrID, ref _LastChanged);
|
_LastChanged = Folder.Update(cn, ref _FolderID, _ParentID, _DBID, _Name, _Title, _ShortName, myFormat != null ? (int?)myFormat.FormatID : (int?)null, _ManualOrder, _Config, _DTS, _UsrID, ref _LastChanged);
|
||||||
MarkOld();
|
MarkOld();
|
||||||
}
|
}
|
||||||
internal void DeleteSelf(Format myFormat)
|
internal void DeleteSelf(Format myFormat)
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatID", true);
|
|
||||||
return _FormatID;
|
return _FormatID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ParentID", true);
|
|
||||||
if (_MyParent != null) _ParentID = _MyParent.FormatID;
|
if (_MyParent != null) _ParentID = _MyParent.FormatID;
|
||||||
return _ParentID;
|
return _ParentID;
|
||||||
}
|
}
|
||||||
@ -117,7 +115,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyParent", true);
|
|
||||||
if (_MyParent == null && _ParentID != _FormatID) _MyParent = FormatInfo.Get(_ParentID);
|
if (_MyParent == null && _ParentID != _FormatID) _MyParent = FormatInfo.Get(_ParentID);
|
||||||
return _MyParent;
|
return _MyParent;
|
||||||
}
|
}
|
||||||
@ -128,7 +125,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Name", true);
|
|
||||||
return _Name;
|
return _Name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -138,7 +134,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Description", true);
|
|
||||||
return _Description;
|
return _Description;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -148,7 +143,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Data", true);
|
|
||||||
return _Data;
|
return _Data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -158,7 +152,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -168,7 +161,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("GenMac", true);
|
|
||||||
return _GenMac;
|
return _GenMac;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -178,7 +170,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -188,7 +179,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -198,7 +188,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ApplicablePlant", true);
|
|
||||||
return _ApplicablePlant;
|
return _ApplicablePlant;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -211,7 +200,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatContentCount", true);
|
|
||||||
if (_FormatContentCount < 0)
|
if (_FormatContentCount < 0)
|
||||||
_FormatContentCount = FormatContents.Count;
|
_FormatContentCount = FormatContents.Count;
|
||||||
return _FormatContentCount;
|
return _FormatContentCount;
|
||||||
@ -224,7 +212,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatContents", true);
|
|
||||||
if (_FormatContentCount < 0 || (_FormatContentCount > 0 && _FormatContents == null))
|
if (_FormatContentCount < 0 || (_FormatContentCount > 0 && _FormatContents == null))
|
||||||
_FormatContents = ContentInfoList.GetByFormatID(_FormatID);
|
_FormatContents = ContentInfoList.GetByFormatID(_FormatID);
|
||||||
if (_FormatContentCount < 0)
|
if (_FormatContentCount < 0)
|
||||||
@ -249,7 +236,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatDocVersionCount", true);
|
|
||||||
if (_FormatDocVersionCount < 0)
|
if (_FormatDocVersionCount < 0)
|
||||||
_FormatDocVersionCount = FormatDocVersions.Count;
|
_FormatDocVersionCount = FormatDocVersions.Count;
|
||||||
return _FormatDocVersionCount;
|
return _FormatDocVersionCount;
|
||||||
@ -262,7 +248,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatDocVersions", true);
|
|
||||||
if (_FormatDocVersionCount < 0 || (_FormatDocVersionCount > 0 && _FormatDocVersions == null))
|
if (_FormatDocVersionCount < 0 || (_FormatDocVersionCount > 0 && _FormatDocVersions == null))
|
||||||
_FormatDocVersions = DocVersionInfoList.GetByFormatID(_FormatID);
|
_FormatDocVersions = DocVersionInfoList.GetByFormatID(_FormatID);
|
||||||
if (_FormatDocVersionCount < 0)
|
if (_FormatDocVersionCount < 0)
|
||||||
@ -287,7 +272,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatFolderCount", true);
|
|
||||||
if (_FormatFolderCount < 0)
|
if (_FormatFolderCount < 0)
|
||||||
_FormatFolderCount = FormatFolders.Count;
|
_FormatFolderCount = FormatFolders.Count;
|
||||||
return _FormatFolderCount;
|
return _FormatFolderCount;
|
||||||
@ -300,7 +284,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatFolders", true);
|
|
||||||
if (_FormatFolderCount < 0 || (_FormatFolderCount > 0 && _FormatFolders == null))
|
if (_FormatFolderCount < 0 || (_FormatFolderCount > 0 && _FormatFolders == null))
|
||||||
_FormatFolders = FolderInfoList.GetByFormatID(_FormatID);
|
_FormatFolders = FolderInfoList.GetByFormatID(_FormatID);
|
||||||
if (_FormatFolderCount < 0)
|
if (_FormatFolderCount < 0)
|
||||||
@ -325,7 +308,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ChildFormatCount", true);
|
|
||||||
if (_ChildFormatCount < 0)
|
if (_ChildFormatCount < 0)
|
||||||
_ChildFormatCount = ChildFormats.Count;
|
_ChildFormatCount = ChildFormats.Count;
|
||||||
return _ChildFormatCount;
|
return _ChildFormatCount;
|
||||||
@ -338,7 +320,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ChildFormats", true);
|
|
||||||
if (_ChildFormatCount < 0 || (_ChildFormatCount > 0 && _ChildFormats == null))
|
if (_ChildFormatCount < 0 || (_ChildFormatCount > 0 && _ChildFormats == null))
|
||||||
_ChildFormats = FormatInfoList.GetChildren(_FormatID);
|
_ChildFormats = FormatInfoList.GetChildren(_FormatID);
|
||||||
if (_ChildFormatCount < 0)
|
if (_ChildFormatCount < 0)
|
||||||
|
@ -101,7 +101,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
@ -113,7 +112,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyContent", true);
|
|
||||||
if (_MyContent == null && _ContentID != 0) _MyContent = Content.Get(_ContentID);
|
if (_MyContent == null && _ContentID != 0) _MyContent = Content.Get(_ContentID);
|
||||||
return _MyContent;
|
return _MyContent;
|
||||||
}
|
}
|
||||||
@ -124,13 +122,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Data", true);
|
|
||||||
return _Data;
|
return _Data;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Data", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Data != value)
|
if (_Data != value)
|
||||||
{
|
{
|
||||||
@ -145,13 +141,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -166,13 +160,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -186,13 +178,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
|
@ -106,7 +106,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,13 +115,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ContentID", true);
|
|
||||||
if (_ContentID != value)
|
if (_ContentID != value)
|
||||||
{
|
{
|
||||||
_ContentID = value;
|
_ContentID = value;
|
||||||
@ -136,13 +133,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Data", true);
|
|
||||||
return _Data;
|
return _Data;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Data", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Data != value)
|
if (_Data != value)
|
||||||
{
|
{
|
||||||
@ -157,13 +152,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -178,13 +171,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -198,13 +189,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -219,13 +208,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DeleteStatus", true);
|
|
||||||
if (_DeleteStatus != value)
|
if (_DeleteStatus != value)
|
||||||
{
|
{
|
||||||
_DeleteStatus = value;
|
_DeleteStatus = value;
|
||||||
@ -239,13 +226,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentAuditID", true);
|
|
||||||
return _ContentAuditID;
|
return _ContentAuditID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ContentAuditID", true);
|
|
||||||
if (_ContentAuditID != value)
|
if (_ContentAuditID != value)
|
||||||
{
|
{
|
||||||
_ContentAuditID = value;
|
_ContentAuditID = value;
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Data", true);
|
|
||||||
return _Data;
|
return _Data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -146,7 +141,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -156,7 +150,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -166,7 +159,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentAuditID", true);
|
|
||||||
return _ContentAuditID;
|
return _ContentAuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,6 +17,8 @@ using System.Configuration;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
|
||||||
namespace VEPROMS.CSLA.Library
|
namespace VEPROMS.CSLA.Library
|
||||||
{
|
{
|
||||||
public delegate void GridInfoEvent(object sender);
|
public delegate void GridInfoEvent(object sender);
|
||||||
@ -67,6 +69,26 @@ namespace VEPROMS.CSLA.Library
|
|||||||
if (_CacheByPrimaryKey.ContainsKey(key)) return _CacheByPrimaryKey[key][0];
|
if (_CacheByPrimaryKey.ContainsKey(key)) return _CacheByPrimaryKey[key][0];
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void ClearGridInfoCache()
|
||||||
|
{
|
||||||
|
while (_CacheByPrimaryKey.Count > 0)
|
||||||
|
{
|
||||||
|
var ii = _CacheByPrimaryKey.FirstOrDefault();
|
||||||
|
|
||||||
|
while (ii.Value.Count > 0)
|
||||||
|
{
|
||||||
|
if (ii.Value[0]?.MyContent?.ContentParts != null)
|
||||||
|
{ foreach (PartInfo pi in ii.Value[0]?.MyContent?.ContentParts) pi.Dispose(); }
|
||||||
|
ii.Value[0].Dispose();
|
||||||
|
}
|
||||||
|
_CacheByPrimaryKey.Remove(ii.Key);
|
||||||
|
}
|
||||||
|
while (_CacheList.Count > 0)
|
||||||
|
{
|
||||||
|
_CacheList[0].Dispose();
|
||||||
|
}
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
||||||
#region Business Methods
|
#region Business Methods
|
||||||
private string _ErrorMessage = string.Empty;
|
private string _ErrorMessage = string.Empty;
|
||||||
@ -92,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
@ -104,7 +125,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyContent", true);
|
|
||||||
if (_MyContent == null && _ContentID != 0) _MyContent = ContentInfo.Get(_ContentID);
|
if (_MyContent == null && _ContentID != 0) _MyContent = ContentInfo.Get(_ContentID);
|
||||||
return _MyContent;
|
return _MyContent;
|
||||||
}
|
}
|
||||||
@ -115,7 +135,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Data", true);
|
|
||||||
return _Data;
|
return _Data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -125,7 +144,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -135,7 +153,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -145,7 +162,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -142,7 +142,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("GID", true);
|
|
||||||
return _GID;
|
return _GID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -152,13 +151,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("GroupName", true);
|
|
||||||
return _GroupName;
|
return _GroupName;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("GroupName", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_GroupName != value)
|
if (_GroupName != value)
|
||||||
{
|
{
|
||||||
@ -173,13 +170,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("GroupType", true);
|
|
||||||
return _GroupType;
|
return _GroupType;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("GroupType", true);
|
|
||||||
if (_GroupType != value)
|
if (_GroupType != value)
|
||||||
{
|
{
|
||||||
_GroupType = value;
|
_GroupType = value;
|
||||||
@ -193,13 +188,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -214,13 +207,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -234,13 +225,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UsrID", true);
|
|
||||||
return _UsrID;
|
return _UsrID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UsrID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UsrID != value)
|
if (_UsrID != value)
|
||||||
{
|
{
|
||||||
@ -259,7 +248,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("GroupAssignmentCount", true);
|
|
||||||
return _GroupAssignmentCount;
|
return _GroupAssignmentCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -273,10 +261,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("GroupAssignments", true);
|
|
||||||
if (_GroupAssignmentCount < 0 || (_GroupAssignmentCount > 0 && _GroupAssignments == null))
|
if (_GroupAssignmentCount < 0 || (_GroupAssignmentCount > 0 && _GroupAssignments == null))
|
||||||
_GroupAssignments = GroupAssignments.GetByGID(GID);
|
_GroupAssignments = GroupAssignments.GetByGID(GID);
|
||||||
if (_GroupAssignmentCount < 0 )
|
if (_GroupAssignmentCount < 0)
|
||||||
_GroupAssignmentCount = _GroupAssignments == null ? 0 : _GroupAssignments.Count;
|
_GroupAssignmentCount = _GroupAssignments == null ? 0 : _GroupAssignments.Count;
|
||||||
if (_GroupAssignments == null)
|
if (_GroupAssignments == null)
|
||||||
_GroupAssignments = GroupAssignments.New();
|
_GroupAssignments = GroupAssignments.New();
|
||||||
@ -296,7 +283,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("GroupMembershipCount", true);
|
|
||||||
return _GroupMembershipCount;
|
return _GroupMembershipCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -310,10 +296,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("GroupMemberships", true);
|
|
||||||
if (_GroupMembershipCount < 0 || (_GroupMembershipCount > 0 && _GroupMemberships == null))
|
if (_GroupMembershipCount < 0 || (_GroupMembershipCount > 0 && _GroupMemberships == null))
|
||||||
_GroupMemberships = GroupMemberships.GetByGID(GID);
|
_GroupMemberships = GroupMemberships.GetByGID(GID);
|
||||||
if (_GroupMembershipCount < 0 )
|
if (_GroupMembershipCount < 0)
|
||||||
_GroupMembershipCount = _GroupMemberships == null ? 0 : _GroupMemberships.Count;
|
_GroupMembershipCount = _GroupMemberships == null ? 0 : _GroupMemberships.Count;
|
||||||
if (_GroupMemberships == null)
|
if (_GroupMemberships == null)
|
||||||
_GroupMemberships = GroupMemberships.New();
|
_GroupMemberships = GroupMemberships.New();
|
||||||
@ -328,7 +313,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -346,7 +331,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_GroupAssignments == null ? true : _GroupAssignments.IsValidList(list)) && (_GroupMemberships == null ? true : _GroupMemberships.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_GroupAssignments == null ? true : _GroupAssignments.IsValidList(list)) && (_GroupMemberships == null ? true : _GroupMemberships.IsValidList(list));
|
||||||
|
@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AID", true);
|
|
||||||
if (_MyAssignment != null) _AID = _MyAssignment.AID;
|
if (_MyAssignment != null) _AID = _MyAssignment.AID;
|
||||||
return _AID;
|
return _AID;
|
||||||
}
|
}
|
||||||
@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyAssignment", true);
|
|
||||||
if (_MyAssignment == null && _AID != 0) _MyAssignment = Assignment.Get(_AID);
|
if (_MyAssignment == null && _AID != 0) _MyAssignment = Assignment.Get(_AID);
|
||||||
return _MyAssignment;
|
return _MyAssignment;
|
||||||
}
|
}
|
||||||
@ -66,7 +64,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RID", true);
|
|
||||||
if (_MyRole != null) _RID = _MyRole.RID;
|
if (_MyRole != null) _RID = _MyRole.RID;
|
||||||
return _RID;
|
return _RID;
|
||||||
}
|
}
|
||||||
@ -77,14 +74,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyRole", true);
|
|
||||||
if (_MyRole == null && _RID != 0) _MyRole = Role.Get(_RID);
|
if (_MyRole == null && _RID != 0) _MyRole = Role.Get(_RID);
|
||||||
return _MyRole;
|
return _MyRole;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyRole", true);
|
|
||||||
if (_MyRole != value)
|
if (_MyRole != value)
|
||||||
{
|
{
|
||||||
_MyRole = value;
|
_MyRole = value;
|
||||||
@ -99,7 +94,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FolderID", true);
|
|
||||||
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
||||||
return _FolderID;
|
return _FolderID;
|
||||||
}
|
}
|
||||||
@ -110,14 +104,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyFolder", true);
|
|
||||||
if (_MyFolder == null && _FolderID != 0) _MyFolder = Folder.Get(_FolderID);
|
if (_MyFolder == null && _FolderID != 0) _MyFolder = Folder.Get(_FolderID);
|
||||||
return _MyFolder;
|
return _MyFolder;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyFolder", true);
|
|
||||||
if (_MyFolder != value)
|
if (_MyFolder != value)
|
||||||
{
|
{
|
||||||
_MyFolder = value;
|
_MyFolder = value;
|
||||||
@ -132,13 +124,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("StartDate", true);
|
|
||||||
return _StartDate;
|
return _StartDate;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("StartDate", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
_StartDate = value;
|
_StartDate = value;
|
||||||
try
|
try
|
||||||
@ -162,13 +152,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("EndDate", true);
|
|
||||||
return _EndDate;
|
return _EndDate;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("EndDate", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
_EndDate = value;
|
_EndDate = value;
|
||||||
try
|
try
|
||||||
@ -192,13 +180,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -212,13 +198,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UsrID", true);
|
|
||||||
return _UsrID;
|
return _UsrID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UsrID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UsrID != value)
|
if (_UsrID != value)
|
||||||
{
|
{
|
||||||
@ -234,7 +218,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_ParentID", true);
|
|
||||||
return _Folder_ParentID;
|
return _Folder_ParentID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -244,7 +227,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_DBID", true);
|
|
||||||
return _Folder_DBID;
|
return _Folder_DBID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -254,7 +236,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_Name", true);
|
|
||||||
return _Folder_Name;
|
return _Folder_Name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -264,7 +245,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_Title", true);
|
|
||||||
return _Folder_Title;
|
return _Folder_Title;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -274,7 +254,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_ShortName", true);
|
|
||||||
return _Folder_ShortName;
|
return _Folder_ShortName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -284,7 +263,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_FormatID", true);
|
|
||||||
return _Folder_FormatID;
|
return _Folder_FormatID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -294,7 +272,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_ManualOrder", true);
|
|
||||||
return _Folder_ManualOrder;
|
return _Folder_ManualOrder;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -304,7 +281,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_Config", true);
|
|
||||||
return _Folder_Config;
|
return _Folder_Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -314,7 +290,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_DTS", true);
|
|
||||||
return _Folder_DTS;
|
return _Folder_DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -324,7 +299,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_UsrID", true);
|
|
||||||
return _Folder_UsrID;
|
return _Folder_UsrID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -334,7 +308,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Role_Name", true);
|
|
||||||
return _Role_Name;
|
return _Role_Name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -344,7 +317,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Role_Title", true);
|
|
||||||
return _Role_Title;
|
return _Role_Title;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -354,7 +326,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Role_DTS", true);
|
|
||||||
return _Role_DTS;
|
return _Role_DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -364,7 +335,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Role_UsrID", true);
|
|
||||||
return _Role_UsrID;
|
return _Role_UsrID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -390,7 +360,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -408,7 +378,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyRole == null ? true : _MyRole.IsValidList(list)) && (_MyFolder == null ? true : _MyFolder.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyRole == null ? true : _MyRole.IsValidList(list)) && (_MyFolder == null ? true : _MyFolder.IsValidList(list));
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("GID", true);
|
|
||||||
return _GID;
|
return _GID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("GroupName", true);
|
|
||||||
return _GroupName;
|
return _GroupName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("GroupType", true);
|
|
||||||
return _GroupType;
|
return _GroupType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -146,7 +141,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UsrID", true);
|
|
||||||
return _UsrID;
|
return _UsrID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -159,7 +153,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("GroupAssignmentCount", true);
|
|
||||||
if (_GroupAssignmentCount < 0)
|
if (_GroupAssignmentCount < 0)
|
||||||
_GroupAssignmentCount = GroupAssignments.Count;
|
_GroupAssignmentCount = GroupAssignments.Count;
|
||||||
return _GroupAssignmentCount;
|
return _GroupAssignmentCount;
|
||||||
@ -172,7 +165,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("GroupAssignments", true);
|
|
||||||
if (_GroupAssignmentCount < 0 || (_GroupAssignmentCount > 0 && _GroupAssignments == null))
|
if (_GroupAssignmentCount < 0 || (_GroupAssignmentCount > 0 && _GroupAssignments == null))
|
||||||
_GroupAssignments = AssignmentInfoList.GetByGID(_GID);
|
_GroupAssignments = AssignmentInfoList.GetByGID(_GID);
|
||||||
if (_GroupAssignmentCount < 0)
|
if (_GroupAssignmentCount < 0)
|
||||||
@ -197,7 +189,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("GroupMembershipCount", true);
|
|
||||||
if (_GroupMembershipCount < 0)
|
if (_GroupMembershipCount < 0)
|
||||||
_GroupMembershipCount = GroupMemberships.Count;
|
_GroupMembershipCount = GroupMemberships.Count;
|
||||||
return _GroupMembershipCount;
|
return _GroupMembershipCount;
|
||||||
@ -210,7 +201,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("GroupMemberships", true);
|
|
||||||
if (_GroupMembershipCount < 0 || (_GroupMembershipCount > 0 && _GroupMemberships == null))
|
if (_GroupMembershipCount < 0 || (_GroupMembershipCount > 0 && _GroupMemberships == null))
|
||||||
_GroupMemberships = MembershipInfoList.GetByGID(_GID);
|
_GroupMemberships = MembershipInfoList.GetByGID(_GID);
|
||||||
if (_GroupMembershipCount < 0)
|
if (_GroupMembershipCount < 0)
|
||||||
|
@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UGID", true);
|
|
||||||
if (_MyMembership != null) _UGID = _MyMembership.UGID;
|
if (_MyMembership != null) _UGID = _MyMembership.UGID;
|
||||||
return _UGID;
|
return _UGID;
|
||||||
}
|
}
|
||||||
@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyMembership", true);
|
|
||||||
if (_MyMembership == null && _UGID != 0) _MyMembership = Membership.Get(_UGID);
|
if (_MyMembership == null && _UGID != 0) _MyMembership = Membership.Get(_UGID);
|
||||||
return _MyMembership;
|
return _MyMembership;
|
||||||
}
|
}
|
||||||
@ -66,7 +64,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UID", true);
|
|
||||||
if (_MyUser != null) _UID = _MyUser.UID;
|
if (_MyUser != null) _UID = _MyUser.UID;
|
||||||
return _UID;
|
return _UID;
|
||||||
}
|
}
|
||||||
@ -77,14 +74,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyUser", true);
|
|
||||||
if (_MyUser == null && _UID != 0) _MyUser = User.Get(_UID);
|
if (_MyUser == null && _UID != 0) _MyUser = User.Get(_UID);
|
||||||
return _MyUser;
|
return _MyUser;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyUser", true);
|
|
||||||
if (_MyUser != value)
|
if (_MyUser != value)
|
||||||
{
|
{
|
||||||
_MyUser = value;
|
_MyUser = value;
|
||||||
@ -99,13 +94,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("StartDate", true);
|
|
||||||
return _StartDate;
|
return _StartDate;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("StartDate", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
_StartDate = value;
|
_StartDate = value;
|
||||||
try
|
try
|
||||||
@ -129,13 +122,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("EndDate", true);
|
|
||||||
return _EndDate;
|
return _EndDate;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("EndDate", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
_EndDate = value;
|
_EndDate = value;
|
||||||
try
|
try
|
||||||
@ -159,13 +150,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -180,13 +169,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -200,13 +187,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UsrID", true);
|
|
||||||
return _UsrID;
|
return _UsrID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UsrID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UsrID != value)
|
if (_UsrID != value)
|
||||||
{
|
{
|
||||||
@ -222,7 +207,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("User_UserID", true);
|
|
||||||
return _User_UserID;
|
return _User_UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -232,7 +216,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("User_FirstName", true);
|
|
||||||
return _User_FirstName;
|
return _User_FirstName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -242,7 +225,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("User_MiddleName", true);
|
|
||||||
return _User_MiddleName;
|
return _User_MiddleName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -252,7 +234,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("User_LastName", true);
|
|
||||||
return _User_LastName;
|
return _User_LastName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -262,7 +243,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("User_Suffix", true);
|
|
||||||
return _User_Suffix;
|
return _User_Suffix;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -272,7 +252,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("User_CourtesyTitle", true);
|
|
||||||
return _User_CourtesyTitle;
|
return _User_CourtesyTitle;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -282,7 +261,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("User_PhoneNumber", true);
|
|
||||||
return _User_PhoneNumber;
|
return _User_PhoneNumber;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -292,7 +270,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("User_CFGName", true);
|
|
||||||
return _User_CFGName;
|
return _User_CFGName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -302,7 +279,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("User_UserLogin", true);
|
|
||||||
return _User_UserLogin;
|
return _User_UserLogin;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -312,7 +288,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("User_UserName", true);
|
|
||||||
return _User_UserName;
|
return _User_UserName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -322,7 +297,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("User_Config", true);
|
|
||||||
return _User_Config;
|
return _User_Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -332,7 +306,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("User_DTS", true);
|
|
||||||
return _User_DTS;
|
return _User_DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -342,7 +315,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("User_UsrID", true);
|
|
||||||
return _User_UsrID;
|
return _User_UsrID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -368,7 +340,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -386,7 +358,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyUser == null ? true : _MyUser.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyUser == null ? true : _MyUser.IsValidList(list));
|
||||||
|
@ -102,7 +102,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
@ -114,7 +113,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyContent", true);
|
|
||||||
if (_MyContent == null && _ContentID != 0) _MyContent = Content.Get(_ContentID);
|
if (_MyContent == null && _ContentID != 0) _MyContent = Content.Get(_ContentID);
|
||||||
return _MyContent;
|
return _MyContent;
|
||||||
}
|
}
|
||||||
@ -128,13 +126,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ImageType", true);
|
|
||||||
return _ImageType;
|
return _ImageType;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ImageType", true);
|
|
||||||
if (_ImageType != value)
|
if (_ImageType != value)
|
||||||
{
|
{
|
||||||
_ImageType = value;
|
_ImageType = value;
|
||||||
@ -148,13 +144,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FileName", true);
|
|
||||||
return _FileName;
|
return _FileName;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("FileName", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_FileName != value)
|
if (_FileName != value)
|
||||||
{
|
{
|
||||||
@ -169,13 +163,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Data", true);
|
|
||||||
return _Data;
|
return _Data;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Data", true);
|
|
||||||
if (_Data != value)
|
if (_Data != value)
|
||||||
{
|
{
|
||||||
_Data = value;
|
_Data = value;
|
||||||
@ -189,13 +181,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -210,13 +200,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -230,13 +218,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
|
@ -106,7 +106,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,13 +115,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ContentID", true);
|
|
||||||
if (_ContentID != value)
|
if (_ContentID != value)
|
||||||
{
|
{
|
||||||
_ContentID = value;
|
_ContentID = value;
|
||||||
@ -136,13 +133,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ImageType", true);
|
|
||||||
return _ImageType;
|
return _ImageType;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ImageType", true);
|
|
||||||
if (_ImageType != value)
|
if (_ImageType != value)
|
||||||
{
|
{
|
||||||
_ImageType = value;
|
_ImageType = value;
|
||||||
@ -156,13 +151,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FileName", true);
|
|
||||||
return _FileName;
|
return _FileName;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("FileName", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_FileName != value)
|
if (_FileName != value)
|
||||||
{
|
{
|
||||||
@ -177,13 +170,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Data", true);
|
|
||||||
return _Data;
|
return _Data;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Data", true);
|
|
||||||
if (_Data != value)
|
if (_Data != value)
|
||||||
{
|
{
|
||||||
_Data = value;
|
_Data = value;
|
||||||
@ -197,13 +188,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -218,13 +207,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -238,13 +225,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -259,13 +244,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DeleteStatus", true);
|
|
||||||
if (_DeleteStatus != value)
|
if (_DeleteStatus != value)
|
||||||
{
|
{
|
||||||
_DeleteStatus = value;
|
_DeleteStatus = value;
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ImageType", true);
|
|
||||||
return _ImageType;
|
return _ImageType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FileName", true);
|
|
||||||
return _FileName;
|
return _FileName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Data", true);
|
|
||||||
return _Data;
|
return _Data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -146,7 +141,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -156,7 +150,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -166,7 +159,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -176,7 +168,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -92,7 +92,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
@ -104,7 +103,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyContent", true);
|
|
||||||
if (_MyContent == null && _ContentID != 0) _MyContent = ContentInfo.Get(_ContentID);
|
if (_MyContent == null && _ContentID != 0) _MyContent = ContentInfo.Get(_ContentID);
|
||||||
return _MyContent;
|
return _MyContent;
|
||||||
}
|
}
|
||||||
@ -118,7 +116,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ImageType", true);
|
|
||||||
return _ImageType;
|
return _ImageType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -128,7 +125,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FileName", true);
|
|
||||||
return _FileName;
|
return _FileName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -138,7 +134,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Data", true);
|
|
||||||
return _Data;
|
return _Data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -148,7 +143,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -158,7 +152,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -168,7 +161,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -252,14 +244,14 @@ namespace VEPROMS.CSLA.Library
|
|||||||
_DTS = tmp.DTS;
|
_DTS = tmp.DTS;
|
||||||
_UserID = tmp.UserID;
|
_UserID = tmp.UserID;
|
||||||
_ImageInfoExtension.Refresh(this);
|
_ImageInfoExtension.Refresh(this);
|
||||||
//RHM Removed 20090724 - Duplicates function of code above.
|
//RHM Removed 20090724 - Duplicates function of code above.
|
||||||
// - Dispose caused error when a new step was added.
|
// - Dispose caused error when a new step was added.
|
||||||
// - Resequence of transitions did not work properly.
|
// - Resequence of transitions did not work properly.
|
||||||
// if(_MyContent != null)
|
// if(_MyContent != null)
|
||||||
// {
|
// {
|
||||||
// _MyContent.Dispose();// Dispose related value
|
// _MyContent.Dispose();// Dispose related value
|
||||||
// _MyContent = null;// Reset related value
|
// _MyContent = null;// Reset related value
|
||||||
// }
|
// }
|
||||||
OnChange();// raise an event
|
OnChange();// raise an event
|
||||||
}
|
}
|
||||||
public static ImageInfo Get(int contentID)
|
public static ImageInfo Get(int contentID)
|
||||||
|
@ -183,7 +183,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemID", true);
|
|
||||||
return _ItemID;
|
return _ItemID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -193,7 +192,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("PreviousID", true);
|
|
||||||
if (_MyPrevious != null) _PreviousID = _MyPrevious.ItemID;
|
if (_MyPrevious != null) _PreviousID = _MyPrevious.ItemID;
|
||||||
return _PreviousID;
|
return _PreviousID;
|
||||||
}
|
}
|
||||||
@ -204,14 +202,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyPrevious", true);
|
|
||||||
if (_MyPrevious == null && _PreviousID != null) _MyPrevious = Item.Get((int)_PreviousID);
|
if (_MyPrevious == null && _PreviousID != null) _MyPrevious = Item.Get((int)_PreviousID);
|
||||||
return _MyPrevious;
|
return _MyPrevious;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyPrevious", true);
|
|
||||||
if ((_MyPrevious == null ? _PreviousID : (int?)_MyPrevious.ItemID) != (value == null ? null : (int?)value.ItemID))
|
if ((_MyPrevious == null ? _PreviousID : (int?)_MyPrevious.ItemID) != (value == null ? null : (int?)value.ItemID))
|
||||||
{
|
{
|
||||||
_MyPrevious = value;
|
_MyPrevious = value;
|
||||||
@ -226,7 +222,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
@ -237,14 +232,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyContent", true);
|
|
||||||
if (_MyContent == null && _ContentID != 0) _MyContent = Content.Get(_ContentID);
|
if (_MyContent == null && _ContentID != 0) _MyContent = Content.Get(_ContentID);
|
||||||
return _MyContent;
|
return _MyContent;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyContent", true);
|
|
||||||
if (_MyContent != value)
|
if (_MyContent != value)
|
||||||
{
|
{
|
||||||
_MyContent = value;
|
_MyContent = value;
|
||||||
@ -259,13 +252,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -279,13 +270,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -304,7 +293,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemAnnotationCount", true);
|
|
||||||
return _ItemAnnotationCount;
|
return _ItemAnnotationCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -318,10 +306,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemAnnotations", true);
|
|
||||||
if (_ItemAnnotationCount < 0 || (_ItemAnnotationCount > 0 && _ItemAnnotations == null))
|
if (_ItemAnnotationCount < 0 || (_ItemAnnotationCount > 0 && _ItemAnnotations == null))
|
||||||
_ItemAnnotations = ItemAnnotations.GetByItemID(ItemID);
|
_ItemAnnotations = ItemAnnotations.GetByItemID(ItemID);
|
||||||
if (_ItemAnnotationCount < 0 )
|
if (_ItemAnnotationCount < 0)
|
||||||
_ItemAnnotationCount = _ItemAnnotations == null ? 0 : _ItemAnnotations.Count;
|
_ItemAnnotationCount = _ItemAnnotations == null ? 0 : _ItemAnnotations.Count;
|
||||||
if (_ItemAnnotations == null)
|
if (_ItemAnnotations == null)
|
||||||
_ItemAnnotations = ItemAnnotations.New();
|
_ItemAnnotations = ItemAnnotations.New();
|
||||||
@ -341,7 +328,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemDocVersionCount", true);
|
|
||||||
return _ItemDocVersionCount;
|
return _ItemDocVersionCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -355,10 +341,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemDocVersions", true);
|
|
||||||
if (_ItemDocVersionCount < 0 || (_ItemDocVersionCount > 0 && _ItemDocVersions == null))
|
if (_ItemDocVersionCount < 0 || (_ItemDocVersionCount > 0 && _ItemDocVersions == null))
|
||||||
_ItemDocVersions = ItemDocVersions.GetByItemID(ItemID);
|
_ItemDocVersions = ItemDocVersions.GetByItemID(ItemID);
|
||||||
if (_ItemDocVersionCount < 0 )
|
if (_ItemDocVersionCount < 0)
|
||||||
_ItemDocVersionCount = _ItemDocVersions == null ? 0 : _ItemDocVersions.Count;
|
_ItemDocVersionCount = _ItemDocVersions == null ? 0 : _ItemDocVersions.Count;
|
||||||
if (_ItemDocVersions == null)
|
if (_ItemDocVersions == null)
|
||||||
_ItemDocVersions = ItemDocVersions.New();
|
_ItemDocVersions = ItemDocVersions.New();
|
||||||
@ -378,7 +363,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("NextItemCount", true);
|
|
||||||
return _NextItemCount;
|
return _NextItemCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -392,10 +376,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("NextItems", true);
|
|
||||||
if (_NextItemCount < 0 || (_NextItemCount > 0 && _NextItems == null))
|
if (_NextItemCount < 0 || (_NextItemCount > 0 && _NextItems == null))
|
||||||
_NextItems = NextItems.GetByPreviousID(ItemID);
|
_NextItems = NextItems.GetByPreviousID(ItemID);
|
||||||
if (_NextItemCount < 0 )
|
if (_NextItemCount < 0)
|
||||||
_NextItemCount = _NextItems == null ? 0 : _NextItems.Count;
|
_NextItemCount = _NextItems == null ? 0 : _NextItems.Count;
|
||||||
if (_NextItems == null)
|
if (_NextItems == null)
|
||||||
_NextItems = NextItems.New();
|
_NextItems = NextItems.New();
|
||||||
@ -415,7 +398,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemPartCount", true);
|
|
||||||
return _ItemPartCount;
|
return _ItemPartCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -429,10 +411,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemParts", true);
|
|
||||||
if (_ItemPartCount < 0 || (_ItemPartCount > 0 && _ItemParts == null))
|
if (_ItemPartCount < 0 || (_ItemPartCount > 0 && _ItemParts == null))
|
||||||
_ItemParts = ItemParts.GetByItemID(ItemID);
|
_ItemParts = ItemParts.GetByItemID(ItemID);
|
||||||
if (_ItemPartCount < 0 )
|
if (_ItemPartCount < 0)
|
||||||
_ItemPartCount = _ItemParts == null ? 0 : _ItemParts.Count;
|
_ItemPartCount = _ItemParts == null ? 0 : _ItemParts.Count;
|
||||||
if (_ItemParts == null)
|
if (_ItemParts == null)
|
||||||
_ItemParts = ItemParts.New();
|
_ItemParts = ItemParts.New();
|
||||||
@ -452,7 +433,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemTransition_RangeIDCount", true);
|
|
||||||
return _ItemTransition_RangeIDCount;
|
return _ItemTransition_RangeIDCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -466,10 +446,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemTransitions_RangeID", true);
|
|
||||||
if (_ItemTransition_RangeIDCount < 0 || (_ItemTransition_RangeIDCount > 0 && _ItemTransitions_RangeID == null))
|
if (_ItemTransition_RangeIDCount < 0 || (_ItemTransition_RangeIDCount > 0 && _ItemTransitions_RangeID == null))
|
||||||
_ItemTransitions_RangeID = ItemTransitions_RangeID.GetByRangeID(ItemID);
|
_ItemTransitions_RangeID = ItemTransitions_RangeID.GetByRangeID(ItemID);
|
||||||
if (_ItemTransition_RangeIDCount < 0 )
|
if (_ItemTransition_RangeIDCount < 0)
|
||||||
_ItemTransition_RangeIDCount = _ItemTransitions_RangeID == null ? 0 : _ItemTransitions_RangeID.Count;
|
_ItemTransition_RangeIDCount = _ItemTransitions_RangeID == null ? 0 : _ItemTransitions_RangeID.Count;
|
||||||
if (_ItemTransitions_RangeID == null)
|
if (_ItemTransitions_RangeID == null)
|
||||||
_ItemTransitions_RangeID = ItemTransitions_RangeID.New();
|
_ItemTransitions_RangeID = ItemTransitions_RangeID.New();
|
||||||
@ -489,7 +468,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemTransition_ToIDCount", true);
|
|
||||||
return _ItemTransition_ToIDCount;
|
return _ItemTransition_ToIDCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -503,10 +481,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemTransitions_ToID", true);
|
|
||||||
if (_ItemTransition_ToIDCount < 0 || (_ItemTransition_ToIDCount > 0 && _ItemTransitions_ToID == null))
|
if (_ItemTransition_ToIDCount < 0 || (_ItemTransition_ToIDCount > 0 && _ItemTransitions_ToID == null))
|
||||||
_ItemTransitions_ToID = ItemTransitions_ToID.GetByToID(ItemID);
|
_ItemTransitions_ToID = ItemTransitions_ToID.GetByToID(ItemID);
|
||||||
if (_ItemTransition_ToIDCount < 0 )
|
if (_ItemTransition_ToIDCount < 0)
|
||||||
_ItemTransition_ToIDCount = _ItemTransitions_ToID == null ? 0 : _ItemTransitions_ToID.Count;
|
_ItemTransition_ToIDCount = _ItemTransitions_ToID == null ? 0 : _ItemTransitions_ToID.Count;
|
||||||
if (_ItemTransitions_ToID == null)
|
if (_ItemTransitions_ToID == null)
|
||||||
_ItemTransitions_ToID = ItemTransitions_ToID.New();
|
_ItemTransitions_ToID = ItemTransitions_ToID.New();
|
||||||
@ -521,7 +498,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -539,7 +516,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_ItemAnnotations == null ? true : _ItemAnnotations.IsValidList(list)) && (_ItemDocVersions == null ? true : _ItemDocVersions.IsValidList(list)) && (_NextItems == null ? true : _NextItems.IsValidList(list)) && (_ItemParts == null ? true : _ItemParts.IsValidList(list)) && (_ItemTransitions_RangeID == null ? true : _ItemTransitions_RangeID.IsValidList(list)) && (_ItemTransitions_ToID == null ? true : _ItemTransitions_ToID.IsValidList(list)) && (_MyContent == null ? true : _MyContent.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_ItemAnnotations == null ? true : _ItemAnnotations.IsValidList(list)) && (_ItemDocVersions == null ? true : _ItemDocVersions.IsValidList(list)) && (_NextItems == null ? true : _NextItems.IsValidList(list)) && (_ItemParts == null ? true : _ItemParts.IsValidList(list)) && (_ItemTransitions_RangeID == null ? true : _ItemTransitions_RangeID.IsValidList(list)) && (_ItemTransitions_ToID == null ? true : _ItemTransitions_ToID.IsValidList(list)) && (_MyContent == null ? true : _MyContent.IsValidList(list));
|
||||||
|
@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AnnotationID", true);
|
|
||||||
if (_MyAnnotation != null) _AnnotationID = _MyAnnotation.AnnotationID;
|
if (_MyAnnotation != null) _AnnotationID = _MyAnnotation.AnnotationID;
|
||||||
return _AnnotationID;
|
return _AnnotationID;
|
||||||
}
|
}
|
||||||
@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyAnnotation", true);
|
|
||||||
if (_MyAnnotation == null && _AnnotationID != 0) _MyAnnotation = Annotation.Get(_AnnotationID);
|
if (_MyAnnotation == null && _AnnotationID != 0) _MyAnnotation = Annotation.Get(_AnnotationID);
|
||||||
return _MyAnnotation;
|
return _MyAnnotation;
|
||||||
}
|
}
|
||||||
@ -66,7 +64,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("TypeID", true);
|
|
||||||
if (_MyAnnotationType != null) _TypeID = _MyAnnotationType.TypeID;
|
if (_MyAnnotationType != null) _TypeID = _MyAnnotationType.TypeID;
|
||||||
return _TypeID;
|
return _TypeID;
|
||||||
}
|
}
|
||||||
@ -77,14 +74,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyAnnotationType", true);
|
|
||||||
if (_MyAnnotationType == null && _TypeID != 0) _MyAnnotationType = AnnotationType.Get(_TypeID);
|
if (_MyAnnotationType == null && _TypeID != 0) _MyAnnotationType = AnnotationType.Get(_TypeID);
|
||||||
return _MyAnnotationType;
|
return _MyAnnotationType;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyAnnotationType", true);
|
|
||||||
if (_MyAnnotationType != value)
|
if (_MyAnnotationType != value)
|
||||||
{
|
{
|
||||||
_MyAnnotationType = value;
|
_MyAnnotationType = value;
|
||||||
@ -99,13 +94,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RtfText", true);
|
|
||||||
return _RtfText;
|
return _RtfText;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("RtfText", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_RtfText != value)
|
if (_RtfText != value)
|
||||||
{
|
{
|
||||||
@ -120,13 +113,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("SearchText", true);
|
|
||||||
return _SearchText;
|
return _SearchText;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("SearchText", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_SearchText != value)
|
if (_SearchText != value)
|
||||||
{
|
{
|
||||||
@ -141,13 +132,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -162,13 +151,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -182,13 +169,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -204,7 +189,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AnnotationType_Name", true);
|
|
||||||
return _AnnotationType_Name;
|
return _AnnotationType_Name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -214,7 +198,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AnnotationType_Config", true);
|
|
||||||
return _AnnotationType_Config;
|
return _AnnotationType_Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -224,7 +207,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AnnotationType_DTS", true);
|
|
||||||
return _AnnotationType_DTS;
|
return _AnnotationType_DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -234,7 +216,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AnnotationType_UserID", true);
|
|
||||||
return _AnnotationType_UserID;
|
return _AnnotationType_UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -260,7 +241,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -278,7 +259,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyAnnotationType == null ? true : _MyAnnotationType.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyAnnotationType == null ? true : _MyAnnotationType.IsValidList(list));
|
||||||
|
@ -106,7 +106,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,13 +115,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemID", true);
|
|
||||||
return _ItemID;
|
return _ItemID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ItemID", true);
|
|
||||||
if (_ItemID != value)
|
if (_ItemID != value)
|
||||||
{
|
{
|
||||||
_ItemID = value;
|
_ItemID = value;
|
||||||
@ -136,13 +133,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("PreviousID", true);
|
|
||||||
return _PreviousID;
|
return _PreviousID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("PreviousID", true);
|
|
||||||
if (_PreviousID != value)
|
if (_PreviousID != value)
|
||||||
{
|
{
|
||||||
_PreviousID = value;
|
_PreviousID = value;
|
||||||
@ -156,13 +151,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ContentID", true);
|
|
||||||
if (_ContentID != value)
|
if (_ContentID != value)
|
||||||
{
|
{
|
||||||
_ContentID = value;
|
_ContentID = value;
|
||||||
@ -176,13 +169,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -196,13 +187,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -217,13 +206,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DeleteStatus", true);
|
|
||||||
if (_DeleteStatus != value)
|
if (_DeleteStatus != value)
|
||||||
{
|
{
|
||||||
_DeleteStatus = value;
|
_DeleteStatus = value;
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemID", true);
|
|
||||||
return _ItemID;
|
return _ItemID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("PreviousID", true);
|
|
||||||
return _PreviousID;
|
return _PreviousID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -146,7 +141,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -156,7 +150,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("VersionID", true);
|
|
||||||
if (_MyDocVersion != null) _VersionID = _MyDocVersion.VersionID;
|
if (_MyDocVersion != null) _VersionID = _MyDocVersion.VersionID;
|
||||||
return _VersionID;
|
return _VersionID;
|
||||||
}
|
}
|
||||||
@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyDocVersion", true);
|
|
||||||
if (_MyDocVersion == null && _VersionID != 0) _MyDocVersion = DocVersion.Get(_VersionID);
|
if (_MyDocVersion == null && _VersionID != 0) _MyDocVersion = DocVersion.Get(_VersionID);
|
||||||
return _MyDocVersion;
|
return _MyDocVersion;
|
||||||
}
|
}
|
||||||
@ -66,7 +64,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FolderID", true);
|
|
||||||
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
if (_MyFolder != null) _FolderID = _MyFolder.FolderID;
|
||||||
return _FolderID;
|
return _FolderID;
|
||||||
}
|
}
|
||||||
@ -77,14 +74,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyFolder", true);
|
|
||||||
if (_MyFolder == null && _FolderID != 0) _MyFolder = Folder.Get(_FolderID);
|
if (_MyFolder == null && _FolderID != 0) _MyFolder = Folder.Get(_FolderID);
|
||||||
return _MyFolder;
|
return _MyFolder;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyFolder", true);
|
|
||||||
if (_MyFolder != value)
|
if (_MyFolder != value)
|
||||||
{
|
{
|
||||||
_MyFolder = value;
|
_MyFolder = value;
|
||||||
@ -102,13 +97,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("VersionType", true);
|
|
||||||
return _VersionType;
|
return _VersionType;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("VersionType", true);
|
|
||||||
if (_VersionType != value)
|
if (_VersionType != value)
|
||||||
{
|
{
|
||||||
_VersionType = value;
|
_VersionType = value;
|
||||||
@ -122,13 +115,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Name", true);
|
|
||||||
return _Name;
|
return _Name;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Name", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Name != value)
|
if (_Name != value)
|
||||||
{
|
{
|
||||||
@ -143,13 +134,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Title", true);
|
|
||||||
return _Title;
|
return _Title;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Title", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Title != value)
|
if (_Title != value)
|
||||||
{
|
{
|
||||||
@ -164,7 +153,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FormatID", true);
|
|
||||||
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
if (_MyFormat != null) _FormatID = _MyFormat.FormatID;
|
||||||
return _FormatID;
|
return _FormatID;
|
||||||
}
|
}
|
||||||
@ -175,14 +163,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyFormat", true);
|
|
||||||
if (_MyFormat == null && _FormatID != null) _MyFormat = Format.Get((int)_FormatID);
|
if (_MyFormat == null && _FormatID != null) _MyFormat = Format.Get((int)_FormatID);
|
||||||
return _MyFormat;
|
return _MyFormat;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyFormat", true);
|
|
||||||
if ((_MyFormat == null ? _FormatID : (int?)_MyFormat.FormatID) != (value == null ? null : (int?)value.FormatID))
|
if ((_MyFormat == null ? _FormatID : (int?)_MyFormat.FormatID) != (value == null ? null : (int?)value.FormatID))
|
||||||
{
|
{
|
||||||
_MyFormat = value;
|
_MyFormat = value;
|
||||||
@ -197,13 +183,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -218,13 +202,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -238,13 +220,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -260,7 +240,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_ParentID", true);
|
|
||||||
return _Folder_ParentID;
|
return _Folder_ParentID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -270,7 +249,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_DBID", true);
|
|
||||||
return _Folder_DBID;
|
return _Folder_DBID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -280,7 +258,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_Name", true);
|
|
||||||
return _Folder_Name;
|
return _Folder_Name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -290,7 +267,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_Title", true);
|
|
||||||
return _Folder_Title;
|
return _Folder_Title;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -300,7 +276,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_ShortName", true);
|
|
||||||
return _Folder_ShortName;
|
return _Folder_ShortName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -310,7 +285,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_FormatID", true);
|
|
||||||
return _Folder_FormatID;
|
return _Folder_FormatID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -320,7 +294,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_ManualOrder", true);
|
|
||||||
return _Folder_ManualOrder;
|
return _Folder_ManualOrder;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -330,7 +303,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_Config", true);
|
|
||||||
return _Folder_Config;
|
return _Folder_Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -340,7 +312,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_DTS", true);
|
|
||||||
return _Folder_DTS;
|
return _Folder_DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -350,7 +321,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Folder_UsrID", true);
|
|
||||||
return _Folder_UsrID;
|
return _Folder_UsrID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -376,7 +346,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -394,7 +364,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyFolder == null ? true : _MyFolder.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyFolder == null ? true : _MyFolder.IsValidList(list));
|
||||||
@ -637,7 +607,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
// if we're not dirty then don't update the database
|
// if we're not dirty then don't update the database
|
||||||
if (!this.IsDirty) return;
|
if (!this.IsDirty) return;
|
||||||
SqlConnection cn = (SqlConnection)ApplicationContext.LocalContext["cn"];
|
SqlConnection cn = (SqlConnection)ApplicationContext.LocalContext["cn"];
|
||||||
_LastChanged = DocVersion.Update(cn, ref _VersionID, _FolderID, _VersionType, _Name, _Title, myItem != null ? (int?) myItem.ItemID : (int?) null, _FormatID, _Config, _DTS, _UserID, ref _LastChanged);
|
_LastChanged = DocVersion.Update(cn, ref _VersionID, _FolderID, _VersionType, _Name, _Title, myItem != null ? (int?)myItem.ItemID : (int?)null, _FormatID, _Config, _DTS, _UserID, ref _LastChanged);
|
||||||
MarkOld();
|
MarkOld();
|
||||||
}
|
}
|
||||||
internal void DeleteSelf(Item myItem)
|
internal void DeleteSelf(Item myItem)
|
||||||
|
@ -106,7 +106,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemID", true);
|
|
||||||
return _ItemID;
|
return _ItemID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,7 +115,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("PreviousID", true);
|
|
||||||
if (_MyPrevious != null) _PreviousID = _MyPrevious.ItemID;
|
if (_MyPrevious != null) _PreviousID = _MyPrevious.ItemID;
|
||||||
return _PreviousID;
|
return _PreviousID;
|
||||||
}
|
}
|
||||||
@ -127,7 +125,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyPrevious", true);
|
|
||||||
if (_MyPrevious == null && _PreviousID != null)
|
if (_MyPrevious == null && _PreviousID != null)
|
||||||
{
|
{
|
||||||
if (this is ProcedureInfo)
|
if (this is ProcedureInfo)
|
||||||
@ -152,7 +149,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
@ -163,7 +159,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyContent", true);
|
|
||||||
if (_MyContent == null && _ContentID != 0) _MyContent = ContentInfo.Get(_ContentID);
|
if (_MyContent == null && _ContentID != 0) _MyContent = ContentInfo.Get(_ContentID);
|
||||||
return _MyContent;
|
return _MyContent;
|
||||||
}
|
}
|
||||||
@ -174,7 +169,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -184,7 +178,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -197,7 +190,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemAnnotationCount", true);
|
|
||||||
if (_ItemAnnotationCount < 0)
|
if (_ItemAnnotationCount < 0)
|
||||||
_ItemAnnotationCount = ItemAnnotations.Count;
|
_ItemAnnotationCount = ItemAnnotations.Count;
|
||||||
return _ItemAnnotationCount;
|
return _ItemAnnotationCount;
|
||||||
@ -210,7 +202,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemAnnotations", true);
|
|
||||||
if (_ItemAnnotationCount < 0 || (_ItemAnnotationCount > 0 && _ItemAnnotations == null))
|
if (_ItemAnnotationCount < 0 || (_ItemAnnotationCount > 0 && _ItemAnnotations == null))
|
||||||
_ItemAnnotations = AnnotationInfoList.GetByItemID(_ItemID);
|
_ItemAnnotations = AnnotationInfoList.GetByItemID(_ItemID);
|
||||||
if (_ItemAnnotationCount < 0)
|
if (_ItemAnnotationCount < 0)
|
||||||
@ -235,7 +226,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemDocVersionCount", true);
|
|
||||||
if (_ItemDocVersionCount < 0)
|
if (_ItemDocVersionCount < 0)
|
||||||
_ItemDocVersionCount = ItemDocVersions.Count;
|
_ItemDocVersionCount = ItemDocVersions.Count;
|
||||||
return _ItemDocVersionCount;
|
return _ItemDocVersionCount;
|
||||||
@ -248,7 +238,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemDocVersions", true);
|
|
||||||
if (_ItemDocVersionCount < 0 || (_ItemDocVersionCount > 0 && _ItemDocVersions == null))
|
if (_ItemDocVersionCount < 0 || (_ItemDocVersionCount > 0 && _ItemDocVersions == null))
|
||||||
_ItemDocVersions = DocVersionInfoList.GetByItemID(_ItemID);
|
_ItemDocVersions = DocVersionInfoList.GetByItemID(_ItemID);
|
||||||
if (_ItemDocVersionCount < 0)
|
if (_ItemDocVersionCount < 0)
|
||||||
@ -343,7 +332,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("NextItemCount", true);
|
|
||||||
if (_NextItemCount < 0)
|
if (_NextItemCount < 0)
|
||||||
_NextItemCount = NextItems.Count;
|
_NextItemCount = NextItems.Count;
|
||||||
return _NextItemCount;
|
return _NextItemCount;
|
||||||
@ -356,7 +344,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("NextItems", true);
|
|
||||||
if (_NextItemCount < 0 || (_NextItemCount > 0 && _NextItems == null))
|
if (_NextItemCount < 0 || (_NextItemCount > 0 && _NextItems == null))
|
||||||
_NextItems = ItemInfoList.GetNext(_ItemID);
|
_NextItems = ItemInfoList.GetNext(_ItemID);
|
||||||
if (_NextItemCount < 0)
|
if (_NextItemCount < 0)
|
||||||
@ -381,7 +368,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemPartCount", true);
|
|
||||||
if (_ItemPartCount < 0)
|
if (_ItemPartCount < 0)
|
||||||
_ItemPartCount = ItemParts.Count;
|
_ItemPartCount = ItemParts.Count;
|
||||||
return _ItemPartCount;
|
return _ItemPartCount;
|
||||||
@ -395,7 +381,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
get
|
get
|
||||||
{
|
{
|
||||||
//int profileDepth = ProfileTimer.Push(">>>> ItemParts");
|
//int profileDepth = ProfileTimer.Push(">>>> ItemParts");
|
||||||
CanReadProperty("ItemParts", true);
|
|
||||||
if (_ItemPartCount < 0 || (_ItemPartCount > 0 && _ItemParts == null))
|
if (_ItemPartCount < 0 || (_ItemPartCount > 0 && _ItemParts == null))
|
||||||
_ItemParts = PartInfoList.GetByItemID(_ItemID);
|
_ItemParts = PartInfoList.GetByItemID(_ItemID);
|
||||||
if (_ItemPartCount < 0)
|
if (_ItemPartCount < 0)
|
||||||
@ -421,7 +406,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemTransition_RangeIDCount", true);
|
|
||||||
if (_ItemTransition_RangeIDCount < 0)
|
if (_ItemTransition_RangeIDCount < 0)
|
||||||
_ItemTransition_RangeIDCount = ItemTransitions_RangeID.Count;
|
_ItemTransition_RangeIDCount = ItemTransitions_RangeID.Count;
|
||||||
return _ItemTransition_RangeIDCount;
|
return _ItemTransition_RangeIDCount;
|
||||||
@ -434,7 +418,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemTransitions_RangeID", true);
|
|
||||||
if (_ItemTransition_RangeIDCount < 0 || (_ItemTransition_RangeIDCount > 0 && _ItemTransitions_RangeID == null))
|
if (_ItemTransition_RangeIDCount < 0 || (_ItemTransition_RangeIDCount > 0 && _ItemTransitions_RangeID == null))
|
||||||
_ItemTransitions_RangeID = TransitionInfoList.GetByRangeID(_ItemID);
|
_ItemTransitions_RangeID = TransitionInfoList.GetByRangeID(_ItemID);
|
||||||
if (_ItemTransition_RangeIDCount < 0)
|
if (_ItemTransition_RangeIDCount < 0)
|
||||||
@ -459,7 +442,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemTransition_ToIDCount", true);
|
|
||||||
if (_ItemTransition_ToIDCount < 0)
|
if (_ItemTransition_ToIDCount < 0)
|
||||||
_ItemTransition_ToIDCount = ItemTransitions_ToID.Count;
|
_ItemTransition_ToIDCount = ItemTransitions_ToID.Count;
|
||||||
return _ItemTransition_ToIDCount;
|
return _ItemTransition_ToIDCount;
|
||||||
@ -472,7 +454,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemTransitions_ToID", true);
|
|
||||||
if (_ItemTransition_ToIDCount < 0 || (_ItemTransition_ToIDCount > 0 && _ItemTransitions_ToID == null))
|
if (_ItemTransition_ToIDCount < 0 || (_ItemTransition_ToIDCount > 0 && _ItemTransitions_ToID == null))
|
||||||
_ItemTransitions_ToID = TransitionInfoList.GetByToID(_ItemID);
|
_ItemTransitions_ToID = TransitionInfoList.GetByToID(_ItemID);
|
||||||
if (_ItemTransition_ToIDCount < 0)
|
if (_ItemTransition_ToIDCount < 0)
|
||||||
@ -548,6 +529,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
if (_Disposed) return;
|
if (_Disposed) return;
|
||||||
_CountDisposed++;
|
_CountDisposed++;
|
||||||
_Disposed = true;
|
_Disposed = true;
|
||||||
|
_ItemParts?.Dispose();
|
||||||
RemoveFromCache(this);
|
RemoveFromCache(this);
|
||||||
if (!_CacheByPrimaryKey.ContainsKey(ItemID.ToString())) return;
|
if (!_CacheByPrimaryKey.ContainsKey(ItemID.ToString())) return;
|
||||||
List<ItemInfo> listItemInfo = _CacheByPrimaryKey[ItemID.ToString()]; // Get the list of items
|
List<ItemInfo> listItemInfo = _CacheByPrimaryKey[ItemID.ToString()]; // Get the list of items
|
||||||
|
@ -119,8 +119,8 @@ namespace VEPROMS.CSLA.Library
|
|||||||
_CountDisposed++;
|
_CountDisposed++;
|
||||||
foreach (ItemInfo tmp in this)
|
foreach (ItemInfo tmp in this)
|
||||||
{
|
{
|
||||||
tmp.Changed -= new ItemInfoEvent(tmp_Changed);
|
tmp.Changed -= tmp_Changed;
|
||||||
tmp.Deleted -= new ItemInfoEvent(tmp_Deleted);
|
tmp.Deleted -= tmp_Deleted;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
@ -371,7 +371,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
public partial class ItemInfoListPropertyDescriptor : vlnListPropertyDescriptor
|
public partial class ItemInfoListPropertyDescriptor : vlnListPropertyDescriptor
|
||||||
{
|
{
|
||||||
private ItemInfo Item { get { return (ItemInfo)_Item; } }
|
private ItemInfo Item { get { return (ItemInfo)_Item; } }
|
||||||
public ItemInfoListPropertyDescriptor(ItemInfoList collection, int index) : base(collection, index) { ;}
|
public ItemInfoListPropertyDescriptor(ItemInfoList collection, int index) : base(collection, index) {; }
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
#region Converter
|
#region Converter
|
||||||
|
@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyContent", true);
|
|
||||||
if (_MyContent == null && _ContentID != 0) _MyContent = Content.Get(_ContentID);
|
if (_MyContent == null && _ContentID != 0) _MyContent = Content.Get(_ContentID);
|
||||||
return _MyContent;
|
return _MyContent;
|
||||||
}
|
}
|
||||||
@ -67,7 +65,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FromType", true);
|
|
||||||
return _FromType;
|
return _FromType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -77,13 +74,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -97,13 +92,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -122,7 +115,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_Number", true);
|
|
||||||
return _Content_Number;
|
return _Content_Number;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -132,7 +124,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_Text", true);
|
|
||||||
return _Content_Text;
|
return _Content_Text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -145,7 +136,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_Type", true);
|
|
||||||
return _Content_Type;
|
return _Content_Type;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -155,7 +145,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_FormatID", true);
|
|
||||||
return _Content_FormatID;
|
return _Content_FormatID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -165,7 +154,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_Config", true);
|
|
||||||
return _Content_Config;
|
return _Content_Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -175,7 +163,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_DTS", true);
|
|
||||||
return _Content_DTS;
|
return _Content_DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -185,7 +172,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_UserID", true);
|
|
||||||
return _Content_UserID;
|
return _Content_UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("TransitionID", true);
|
|
||||||
if (_MyTransition != null) _TransitionID = _MyTransition.TransitionID;
|
if (_MyTransition != null) _TransitionID = _MyTransition.TransitionID;
|
||||||
return _TransitionID;
|
return _TransitionID;
|
||||||
}
|
}
|
||||||
@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyTransition", true);
|
|
||||||
if (_MyTransition == null && _TransitionID != 0) _MyTransition = Transition.Get(_TransitionID);
|
if (_MyTransition == null && _TransitionID != 0) _MyTransition = Transition.Get(_TransitionID);
|
||||||
return _MyTransition;
|
return _MyTransition;
|
||||||
}
|
}
|
||||||
@ -66,7 +64,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FromID", true);
|
|
||||||
if (_MyContent != null) _FromID = _MyContent.ContentID;
|
if (_MyContent != null) _FromID = _MyContent.ContentID;
|
||||||
return _FromID;
|
return _FromID;
|
||||||
}
|
}
|
||||||
@ -77,14 +74,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyContent", true);
|
|
||||||
if (_MyContent == null && _FromID != 0) _MyContent = Content.Get(_FromID);
|
if (_MyContent == null && _FromID != 0) _MyContent = Content.Get(_FromID);
|
||||||
return _MyContent;
|
return _MyContent;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyContent", true);
|
|
||||||
if (_MyContent != value)
|
if (_MyContent != value)
|
||||||
{
|
{
|
||||||
_MyContent = value;
|
_MyContent = value;
|
||||||
@ -102,7 +97,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ToID", true);
|
|
||||||
if (_MyItemToID != null) _ToID = _MyItemToID.ItemID;
|
if (_MyItemToID != null) _ToID = _MyItemToID.ItemID;
|
||||||
return _ToID;
|
return _ToID;
|
||||||
}
|
}
|
||||||
@ -113,14 +107,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyItemToID", true);
|
|
||||||
if (_MyItemToID == null && _ToID != 0) _MyItemToID = Item.Get(_ToID);
|
if (_MyItemToID == null && _ToID != 0) _MyItemToID = Item.Get(_ToID);
|
||||||
return _MyItemToID;
|
return _MyItemToID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyItemToID", true);
|
|
||||||
if (_MyItemToID != value)
|
if (_MyItemToID != value)
|
||||||
{
|
{
|
||||||
_MyItemToID = value;
|
_MyItemToID = value;
|
||||||
@ -138,13 +130,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("IsRange", true);
|
|
||||||
return _IsRange;
|
return _IsRange;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("IsRange", true);
|
|
||||||
if (_IsRange != value)
|
if (_IsRange != value)
|
||||||
{
|
{
|
||||||
_IsRange = value;
|
_IsRange = value;
|
||||||
@ -158,13 +148,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("TranType", true);
|
|
||||||
return _TranType;
|
return _TranType;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("TranType", true);
|
|
||||||
if (_TranType != value)
|
if (_TranType != value)
|
||||||
{
|
{
|
||||||
_TranType = value;
|
_TranType = value;
|
||||||
@ -178,13 +166,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -199,13 +185,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -219,13 +203,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -244,7 +226,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_Number", true);
|
|
||||||
return _Content_Number;
|
return _Content_Number;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -254,7 +235,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_Text", true);
|
|
||||||
return _Content_Text;
|
return _Content_Text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -267,7 +247,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_Type", true);
|
|
||||||
return _Content_Type;
|
return _Content_Type;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -277,7 +256,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_FormatID", true);
|
|
||||||
return _Content_FormatID;
|
return _Content_FormatID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -287,7 +265,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_Config", true);
|
|
||||||
return _Content_Config;
|
return _Content_Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -297,7 +274,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_DTS", true);
|
|
||||||
return _Content_DTS;
|
return _Content_DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -307,7 +283,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_UserID", true);
|
|
||||||
return _Content_UserID;
|
return _Content_UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -333,7 +308,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -351,7 +326,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyContent == null ? true : _MyContent.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyContent == null ? true : _MyContent.IsValidList(list));
|
||||||
|
@ -43,7 +43,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("TransitionID", true);
|
|
||||||
if (_MyTransition != null) _TransitionID = _MyTransition.TransitionID;
|
if (_MyTransition != null) _TransitionID = _MyTransition.TransitionID;
|
||||||
return _TransitionID;
|
return _TransitionID;
|
||||||
}
|
}
|
||||||
@ -55,7 +54,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyTransition", true);
|
|
||||||
if (_MyTransition == null && _TransitionID != 0) _MyTransition = Transition.Get(_TransitionID);
|
if (_MyTransition == null && _TransitionID != 0) _MyTransition = Transition.Get(_TransitionID);
|
||||||
return _MyTransition;
|
return _MyTransition;
|
||||||
}
|
}
|
||||||
@ -66,7 +64,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FromID", true);
|
|
||||||
if (_MyContent != null) _FromID = _MyContent.ContentID;
|
if (_MyContent != null) _FromID = _MyContent.ContentID;
|
||||||
return _FromID;
|
return _FromID;
|
||||||
}
|
}
|
||||||
@ -77,14 +74,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyContent", true);
|
|
||||||
if (_MyContent == null && _FromID != 0) _MyContent = Content.Get(_FromID);
|
if (_MyContent == null && _FromID != 0) _MyContent = Content.Get(_FromID);
|
||||||
return _MyContent;
|
return _MyContent;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyContent", true);
|
|
||||||
if (_MyContent != value)
|
if (_MyContent != value)
|
||||||
{
|
{
|
||||||
_MyContent = value;
|
_MyContent = value;
|
||||||
@ -99,7 +94,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("RangeID", true);
|
|
||||||
if (_MyItemRangeID != null) _RangeID = _MyItemRangeID.ItemID;
|
if (_MyItemRangeID != null) _RangeID = _MyItemRangeID.ItemID;
|
||||||
return _RangeID;
|
return _RangeID;
|
||||||
}
|
}
|
||||||
@ -110,14 +104,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyItemRangeID", true);
|
|
||||||
if (_MyItemRangeID == null && _RangeID != 0) _MyItemRangeID = Item.Get(_RangeID);
|
if (_MyItemRangeID == null && _RangeID != 0) _MyItemRangeID = Item.Get(_RangeID);
|
||||||
return _MyItemRangeID;
|
return _MyItemRangeID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyItemRangeID", true);
|
|
||||||
if (_MyItemRangeID != value)
|
if (_MyItemRangeID != value)
|
||||||
{
|
{
|
||||||
_MyItemRangeID = value;
|
_MyItemRangeID = value;
|
||||||
@ -135,13 +127,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("IsRange", true);
|
|
||||||
return _IsRange;
|
return _IsRange;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("IsRange", true);
|
|
||||||
if (_IsRange != value)
|
if (_IsRange != value)
|
||||||
{
|
{
|
||||||
_IsRange = value;
|
_IsRange = value;
|
||||||
@ -155,13 +145,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("TranType", true);
|
|
||||||
return _TranType;
|
return _TranType;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("TranType", true);
|
|
||||||
if (_TranType != value)
|
if (_TranType != value)
|
||||||
{
|
{
|
||||||
_TranType = value;
|
_TranType = value;
|
||||||
@ -175,13 +163,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -196,13 +182,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -216,13 +200,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -241,7 +223,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_Number", true);
|
|
||||||
return _Content_Number;
|
return _Content_Number;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -251,7 +232,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_Text", true);
|
|
||||||
return _Content_Text;
|
return _Content_Text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -264,7 +244,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_Type", true);
|
|
||||||
return _Content_Type;
|
return _Content_Type;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -274,7 +253,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_FormatID", true);
|
|
||||||
return _Content_FormatID;
|
return _Content_FormatID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -284,7 +262,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_Config", true);
|
|
||||||
return _Content_Config;
|
return _Content_Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -294,7 +271,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_DTS", true);
|
|
||||||
return _Content_DTS;
|
return _Content_DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -304,7 +280,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Content_UserID", true);
|
|
||||||
return _Content_UserID;
|
return _Content_UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -330,7 +305,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -348,7 +323,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyContent == null ? true : _MyContent.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyContent == null ? true : _MyContent.IsValidList(list));
|
||||||
|
@ -108,7 +108,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UGID", true);
|
|
||||||
return _UGID;
|
return _UGID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -118,7 +117,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UID", true);
|
|
||||||
if (_MyUser != null) _UID = _MyUser.UID;
|
if (_MyUser != null) _UID = _MyUser.UID;
|
||||||
return _UID;
|
return _UID;
|
||||||
}
|
}
|
||||||
@ -129,14 +127,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyUser", true);
|
|
||||||
if (_MyUser == null && _UID != 0) _MyUser = User.Get(_UID);
|
if (_MyUser == null && _UID != 0) _MyUser = User.Get(_UID);
|
||||||
return _MyUser;
|
return _MyUser;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyUser", true);
|
|
||||||
if (_MyUser != value)
|
if (_MyUser != value)
|
||||||
{
|
{
|
||||||
_MyUser = value;
|
_MyUser = value;
|
||||||
@ -151,7 +147,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("GID", true);
|
|
||||||
if (_MyGroup != null) _GID = _MyGroup.GID;
|
if (_MyGroup != null) _GID = _MyGroup.GID;
|
||||||
return _GID;
|
return _GID;
|
||||||
}
|
}
|
||||||
@ -162,14 +157,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyGroup", true);
|
|
||||||
if (_MyGroup == null && _GID != 0) _MyGroup = Group.Get(_GID);
|
if (_MyGroup == null && _GID != 0) _MyGroup = Group.Get(_GID);
|
||||||
return _MyGroup;
|
return _MyGroup;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyGroup", true);
|
|
||||||
if (_MyGroup != value)
|
if (_MyGroup != value)
|
||||||
{
|
{
|
||||||
_MyGroup = value;
|
_MyGroup = value;
|
||||||
@ -184,13 +177,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("StartDate", true);
|
|
||||||
return _StartDate;
|
return _StartDate;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("StartDate", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
_StartDate = value;
|
_StartDate = value;
|
||||||
try
|
try
|
||||||
@ -214,13 +205,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("EndDate", true);
|
|
||||||
return _EndDate;
|
return _EndDate;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("EndDate", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
_EndDate = value;
|
_EndDate = value;
|
||||||
try
|
try
|
||||||
@ -244,13 +233,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("Config", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_Config != value)
|
if (_Config != value)
|
||||||
{
|
{
|
||||||
@ -265,13 +252,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -285,13 +270,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UsrID", true);
|
|
||||||
return _UsrID;
|
return _UsrID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UsrID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UsrID != value)
|
if (_UsrID != value)
|
||||||
{
|
{
|
||||||
@ -305,7 +288,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -323,7 +306,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyGroup == null ? true : _MyGroup.IsValidList(list)) && (_MyUser == null ? true : _MyUser.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyGroup == null ? true : _MyGroup.IsValidList(list)) && (_MyUser == null ? true : _MyUser.IsValidList(list));
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UGID", true);
|
|
||||||
return _UGID;
|
return _UGID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UID", true);
|
|
||||||
if (_MyUser != null) _UID = _MyUser.UID;
|
if (_MyUser != null) _UID = _MyUser.UID;
|
||||||
return _UID;
|
return _UID;
|
||||||
}
|
}
|
||||||
@ -117,7 +115,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyUser", true);
|
|
||||||
if (_MyUser == null && _UID != 0) _MyUser = UserInfo.Get(_UID);
|
if (_MyUser == null && _UID != 0) _MyUser = UserInfo.Get(_UID);
|
||||||
return _MyUser;
|
return _MyUser;
|
||||||
}
|
}
|
||||||
@ -128,7 +125,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("GID", true);
|
|
||||||
if (_MyGroup != null) _GID = _MyGroup.GID;
|
if (_MyGroup != null) _GID = _MyGroup.GID;
|
||||||
return _GID;
|
return _GID;
|
||||||
}
|
}
|
||||||
@ -139,7 +135,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyGroup", true);
|
|
||||||
if (_MyGroup == null && _GID != 0) _MyGroup = GroupInfo.Get(_GID);
|
if (_MyGroup == null && _GID != 0) _MyGroup = GroupInfo.Get(_GID);
|
||||||
return _MyGroup;
|
return _MyGroup;
|
||||||
}
|
}
|
||||||
@ -150,7 +145,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("StartDate", true);
|
|
||||||
return _StartDate;
|
return _StartDate;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -160,7 +154,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("EndDate", true);
|
|
||||||
return _EndDate;
|
return _EndDate;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -170,7 +163,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("Config", true);
|
|
||||||
return _Config;
|
return _Config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -180,7 +172,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -190,7 +181,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UsrID", true);
|
|
||||||
return _UsrID;
|
return _UsrID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -106,7 +106,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("OwnerID", true);
|
|
||||||
return _OwnerID;
|
return _OwnerID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,13 +115,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("SessionID", true);
|
|
||||||
return _SessionID;
|
return _SessionID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("SessionID", true);
|
|
||||||
if (_SessionID != value)
|
if (_SessionID != value)
|
||||||
{
|
{
|
||||||
_SessionID = value;
|
_SessionID = value;
|
||||||
@ -136,13 +133,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("OwnerType", true);
|
|
||||||
return _OwnerType;
|
return _OwnerType;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("OwnerType", true);
|
|
||||||
if (_OwnerType != value)
|
if (_OwnerType != value)
|
||||||
{
|
{
|
||||||
_OwnerType = value;
|
_OwnerType = value;
|
||||||
@ -156,13 +151,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("OwnerItemID", true);
|
|
||||||
return _OwnerItemID;
|
return _OwnerItemID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("OwnerItemID", true);
|
|
||||||
if (_OwnerItemID != value)
|
if (_OwnerItemID != value)
|
||||||
{
|
{
|
||||||
_OwnerItemID = value;
|
_OwnerItemID = value;
|
||||||
@ -176,13 +169,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTSStart", true);
|
|
||||||
return _DTSStart;
|
return _DTSStart;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTSStart", true);
|
|
||||||
if (_DTSStart != value)
|
if (_DTSStart != value)
|
||||||
{
|
{
|
||||||
_DTSStart = value;
|
_DTSStart = value;
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("OwnerID", true);
|
|
||||||
return _OwnerID;
|
return _OwnerID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("SessionID", true);
|
|
||||||
return _SessionID;
|
return _SessionID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("OwnerType", true);
|
|
||||||
return _OwnerType;
|
return _OwnerType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("OwnerItemID", true);
|
|
||||||
return _OwnerItemID;
|
return _OwnerItemID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTSStart", true);
|
|
||||||
return _DTSStart;
|
return _DTSStart;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -103,7 +103,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
@ -115,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyContent", true);
|
|
||||||
if (_MyContent == null && _ContentID != 0) _MyContent = Content.Get(_ContentID);
|
if (_MyContent == null && _ContentID != 0) _MyContent = Content.Get(_ContentID);
|
||||||
return _MyContent;
|
return _MyContent;
|
||||||
}
|
}
|
||||||
@ -127,7 +125,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FromType", true);
|
|
||||||
return _FromType;
|
return _FromType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -137,7 +134,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemID", true);
|
|
||||||
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
||||||
return _ItemID;
|
return _ItemID;
|
||||||
}
|
}
|
||||||
@ -148,14 +144,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyItem", true);
|
|
||||||
if (_MyItem == null && _ItemID != 0) _MyItem = Item.Get(_ItemID);
|
if (_MyItem == null && _ItemID != 0) _MyItem = Item.Get(_ItemID);
|
||||||
return _MyItem;
|
return _MyItem;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("MyItem", true);
|
|
||||||
if (_MyItem != value)
|
if (_MyItem != value)
|
||||||
{
|
{
|
||||||
_MyItem = value;
|
_MyItem = value;
|
||||||
@ -170,13 +164,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -190,13 +182,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -210,7 +200,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -228,7 +218,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyContent == null ? true : _MyContent.IsValidList(list)) && (_MyItem == null ? true : _MyItem.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyContent == null ? true : _MyContent.IsValidList(list)) && (_MyItem == null ? true : _MyItem.IsValidList(list));
|
||||||
|
@ -106,7 +106,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,13 +115,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ContentID", true);
|
|
||||||
if (_ContentID != value)
|
if (_ContentID != value)
|
||||||
{
|
{
|
||||||
_ContentID = value;
|
_ContentID = value;
|
||||||
@ -136,13 +133,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FromType", true);
|
|
||||||
return _FromType;
|
return _FromType;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("FromType", true);
|
|
||||||
if (_FromType != value)
|
if (_FromType != value)
|
||||||
{
|
{
|
||||||
_FromType = value;
|
_FromType = value;
|
||||||
@ -156,13 +151,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemID", true);
|
|
||||||
return _ItemID;
|
return _ItemID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("ItemID", true);
|
|
||||||
if (_ItemID != value)
|
if (_ItemID != value)
|
||||||
{
|
{
|
||||||
_ItemID = value;
|
_ItemID = value;
|
||||||
@ -176,13 +169,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -196,13 +187,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -217,13 +206,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DeleteStatus", true);
|
|
||||||
if (_DeleteStatus != value)
|
if (_DeleteStatus != value)
|
||||||
{
|
{
|
||||||
_DeleteStatus = value;
|
_DeleteStatus = value;
|
||||||
|
@ -96,7 +96,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("AuditID", true);
|
|
||||||
return _AuditID;
|
return _AuditID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,7 +105,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -116,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FromType", true);
|
|
||||||
return _FromType;
|
return _FromType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -126,7 +123,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemID", true);
|
|
||||||
return _ItemID;
|
return _ItemID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -136,7 +132,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -146,7 +141,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -156,7 +150,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DeleteStatus", true);
|
|
||||||
return _DeleteStatus;
|
return _DeleteStatus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -71,6 +71,13 @@ namespace VEPROMS.CSLA.Library
|
|||||||
if (_CacheByPrimaryKey.ContainsKey(key)) return _CacheByPrimaryKey[key][0];
|
if (_CacheByPrimaryKey.ContainsKey(key)) return _CacheByPrimaryKey[key][0];
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
public static void ClearPartInfoCache()
|
||||||
|
{
|
||||||
|
_CacheByPrimaryKey.Clear();
|
||||||
|
while (_CacheList.Count > 0)
|
||||||
|
{ _CacheList[0].Dispose(); }
|
||||||
|
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
||||||
#region Business Methods
|
#region Business Methods
|
||||||
private string _ErrorMessage = string.Empty;
|
private string _ErrorMessage = string.Empty;
|
||||||
@ -96,7 +103,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ContentID", true);
|
|
||||||
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
if (_MyContent != null) _ContentID = _MyContent.ContentID;
|
||||||
return _ContentID;
|
return _ContentID;
|
||||||
}
|
}
|
||||||
@ -108,7 +114,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyContent", true);
|
|
||||||
if (_MyContent == null && _ContentID != 0) _MyContent = ContentInfo.Get(_ContentID);
|
if (_MyContent == null && _ContentID != 0) _MyContent = ContentInfo.Get(_ContentID);
|
||||||
return _MyContent;
|
return _MyContent;
|
||||||
}
|
}
|
||||||
@ -120,7 +125,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("FromType", true);
|
|
||||||
return _FromType;
|
return _FromType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -130,7 +134,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("ItemID", true);
|
|
||||||
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
if (_MyItem != null) _ItemID = _MyItem.ItemID;
|
||||||
return _ItemID;
|
return _ItemID;
|
||||||
}
|
}
|
||||||
@ -141,7 +144,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyItem", true);
|
|
||||||
if (_MyItem == null && _ItemID != 0) _MyItem = ItemInfo.Get(_ItemID);
|
if (_MyItem == null && _ItemID != 0) _MyItem = ItemInfo.Get(_ItemID);
|
||||||
return _MyItem;
|
return _MyItem;
|
||||||
}
|
}
|
||||||
@ -152,7 +154,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -162,7 +163,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -218,6 +218,8 @@ namespace VEPROMS.CSLA.Library
|
|||||||
if (_Disposed) return;
|
if (_Disposed) return;
|
||||||
_CountDisposed++;
|
_CountDisposed++;
|
||||||
_Disposed = true;
|
_Disposed = true;
|
||||||
|
Changed = null;
|
||||||
|
_MyItems?.Dispose();
|
||||||
RemoveFromCache(this);
|
RemoveFromCache(this);
|
||||||
if (!_CacheByPrimaryKey.ContainsKey(ContentID.ToString() + "_" + FromType.ToString())) return;
|
if (!_CacheByPrimaryKey.ContainsKey(ContentID.ToString() + "_" + FromType.ToString())) return;
|
||||||
List<PartInfo> listPartInfo = _CacheByPrimaryKey[ContentID.ToString() + "_" + FromType.ToString()]; // Get the list of items
|
List<PartInfo> listPartInfo = _CacheByPrimaryKey[ContentID.ToString() + "_" + FromType.ToString()]; // Get the list of items
|
||||||
|
@ -71,7 +71,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
_Disposed = true;
|
_Disposed = true;
|
||||||
foreach (PartInfo tmp in this)
|
foreach (PartInfo tmp in this)
|
||||||
{
|
{
|
||||||
tmp.Changed -= new PartInfoEvent(tmp_Changed);
|
tmp.Changed -= tmp_Changed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
@ -322,7 +322,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
public partial class PartInfoListPropertyDescriptor : vlnListPropertyDescriptor
|
public partial class PartInfoListPropertyDescriptor : vlnListPropertyDescriptor
|
||||||
{
|
{
|
||||||
private PartInfo Item { get { return (PartInfo)_Item; } }
|
private PartInfo Item { get { return (PartInfo)_Item; } }
|
||||||
public PartInfoListPropertyDescriptor(PartInfoList collection, int index) : base(collection, index) { ;}
|
public PartInfoListPropertyDescriptor(PartInfoList collection, int index) : base(collection, index) {; }
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
#region Converter
|
#region Converter
|
||||||
|
@ -102,7 +102,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocID", true);
|
|
||||||
if (_MyDocument != null) _DocID = _MyDocument.DocID;
|
if (_MyDocument != null) _DocID = _MyDocument.DocID;
|
||||||
return _DocID;
|
return _DocID;
|
||||||
}
|
}
|
||||||
@ -114,7 +113,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyDocument", true);
|
|
||||||
if (_MyDocument == null && _DocID != 0) _MyDocument = Document.Get(_DocID);
|
if (_MyDocument == null && _DocID != 0) _MyDocument = Document.Get(_DocID);
|
||||||
return _MyDocument;
|
return _MyDocument;
|
||||||
}
|
}
|
||||||
@ -129,7 +127,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DebugStatus", true);
|
|
||||||
return _DebugStatus;
|
return _DebugStatus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -140,7 +137,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("TopRow", true);
|
|
||||||
return _TopRow;
|
return _TopRow;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -151,7 +147,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("PageLength", true);
|
|
||||||
return _PageLength;
|
return _PageLength;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -162,7 +157,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("LeftMargin", true);
|
|
||||||
return _LeftMargin;
|
return _LeftMargin;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -173,7 +167,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("PageWidth", true);
|
|
||||||
return _PageWidth;
|
return _PageWidth;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -186,13 +179,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("PageCount", true);
|
|
||||||
return _PageCount;
|
return _PageCount;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("PageCount", true);
|
|
||||||
if (_PageCount != value)
|
if (_PageCount != value)
|
||||||
{
|
{
|
||||||
_PageCount = value;
|
_PageCount = value;
|
||||||
@ -206,13 +197,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocPdf", true);
|
|
||||||
return _DocPdf;
|
return _DocPdf;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DocPdf", true);
|
|
||||||
if (_DocPdf != value)
|
if (_DocPdf != value)
|
||||||
{
|
{
|
||||||
_DocPdf = value;
|
_DocPdf = value;
|
||||||
@ -226,13 +215,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("DTS", true);
|
|
||||||
if (_DTS != value)
|
if (_DTS != value)
|
||||||
{
|
{
|
||||||
_DTS = value;
|
_DTS = value;
|
||||||
@ -246,13 +233,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
CanWriteProperty("UserID", true);
|
|
||||||
if (value == null) value = string.Empty;
|
if (value == null) value = string.Empty;
|
||||||
if (_UserID != value)
|
if (_UserID != value)
|
||||||
{
|
{
|
||||||
@ -266,7 +251,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ( base.IsDirty )
|
if (base.IsDirty)
|
||||||
return true;
|
return true;
|
||||||
return IsDirtyList(new List<object>());
|
return IsDirtyList(new List<object>());
|
||||||
}
|
}
|
||||||
@ -284,7 +269,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
public bool IsValidList(List<object> list)
|
public bool IsValidList(List<object> list)
|
||||||
{
|
{
|
||||||
if(list.Contains(this))
|
if (list.Contains(this))
|
||||||
return (IsNew && !IsDirty) ? true : base.IsValid;
|
return (IsNew && !IsDirty) ? true : base.IsValid;
|
||||||
list.Add(this);
|
list.Add(this);
|
||||||
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyDocument == null ? true : _MyDocument.IsValidList(list));
|
return ((IsNew && !IsDirty) ? true : base.IsValid) && (_MyDocument == null ? true : _MyDocument.IsValidList(list));
|
||||||
|
@ -109,7 +109,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocID", true);
|
|
||||||
if (_MyDocument != null) _DocID = _MyDocument.DocID;
|
if (_MyDocument != null) _DocID = _MyDocument.DocID;
|
||||||
return _DocID;
|
return _DocID;
|
||||||
}
|
}
|
||||||
@ -121,7 +120,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("MyDocument", true);
|
|
||||||
if (_MyDocument == null && _DocID != 0) _MyDocument = DocumentInfo.Get(_DocID);
|
if (_MyDocument == null && _DocID != 0) _MyDocument = DocumentInfo.Get(_DocID);
|
||||||
return _MyDocument;
|
return _MyDocument;
|
||||||
}
|
}
|
||||||
@ -136,7 +134,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DebugStatus", true);
|
|
||||||
return _DebugStatus;
|
return _DebugStatus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -147,7 +144,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("TopRow", true);
|
|
||||||
return _TopRow;
|
return _TopRow;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -158,7 +154,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("PageLength", true);
|
|
||||||
return _PageLength;
|
return _PageLength;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -169,7 +164,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("LeftMargin", true);
|
|
||||||
return _LeftMargin;
|
return _LeftMargin;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -180,7 +174,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("PageWidth", true);
|
|
||||||
return _PageWidth;
|
return _PageWidth;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -193,7 +186,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("PageCount", true);
|
|
||||||
return _PageCount;
|
return _PageCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -203,7 +195,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DocPdf", true);
|
|
||||||
return _DocPdf;
|
return _DocPdf;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -213,7 +204,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("DTS", true);
|
|
||||||
return _DTS;
|
return _DTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -223,7 +213,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
CanReadProperty("UserID", true);
|
|
||||||
return _UserID;
|
return _UserID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user