Changed GetIdValue to use UniqueID
This commit is contained in:
parent
d2e964dde1
commit
7bc7129faf
@ -320,7 +320,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current Annotation</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _AnnotationID;
|
||||
return MyAnnotationUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -472,7 +472,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int AnnotationUnique
|
||||
{ get { return ++_AnnotationUnique; } }
|
||||
private int _MyAnnotationUnique = AnnotationUnique;
|
||||
public int MyAnnotationUnique
|
||||
public int MyAnnotationUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyAnnotationUnique; } }
|
||||
protected Annotation()
|
||||
{/* require use of factory methods */
|
||||
|
@ -211,7 +211,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current AnnotationInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _AnnotationID;
|
||||
return MyAnnotationInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -219,7 +219,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int AnnotationInfoUnique
|
||||
{ get { return ++_AnnotationInfoUnique; } }
|
||||
private int _MyAnnotationInfoUnique = AnnotationInfoUnique;
|
||||
public int MyAnnotationInfoUnique
|
||||
public int MyAnnotationInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyAnnotationInfoUnique; } }
|
||||
protected AnnotationInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -293,7 +293,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current AnnotationType</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _TypeID;
|
||||
return MyAnnotationTypeUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -430,7 +430,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int AnnotationTypeUnique
|
||||
{ get { return ++_AnnotationTypeUnique; } }
|
||||
private int _MyAnnotationTypeUnique = AnnotationTypeUnique;
|
||||
public int MyAnnotationTypeUnique
|
||||
public int MyAnnotationTypeUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyAnnotationTypeUnique; } }
|
||||
protected AnnotationType()
|
||||
{/* require use of factory methods */
|
||||
|
@ -244,7 +244,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current AnnotationTypeAnnotation</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _AnnotationID;
|
||||
return MyAnnotationTypeAnnotationUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base AnnotationTypeAnnotation.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -402,6 +402,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _AnnotationTypeAnnotationUnique = 0;
|
||||
private static int AnnotationTypeAnnotationUnique
|
||||
{ get { return ++_AnnotationTypeAnnotationUnique; } }
|
||||
private int _MyAnnotationTypeAnnotationUnique = AnnotationTypeAnnotationUnique;
|
||||
public int MyAnnotationTypeAnnotationUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyAnnotationTypeAnnotationUnique; } }
|
||||
internal static AnnotationTypeAnnotation New(Item myItem)
|
||||
{
|
||||
return new AnnotationTypeAnnotation(myItem);
|
||||
|
@ -195,7 +195,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current AnnotationTypeInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _TypeID;
|
||||
return MyAnnotationTypeInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -203,7 +203,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int AnnotationTypeInfoUnique
|
||||
{ get { return ++_AnnotationTypeInfoUnique; } }
|
||||
private int _MyAnnotationTypeInfoUnique = AnnotationTypeInfoUnique;
|
||||
public int MyAnnotationTypeInfoUnique
|
||||
public int MyAnnotationTypeInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyAnnotationTypeInfoUnique; } }
|
||||
protected AnnotationTypeInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -350,7 +350,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current Assignment</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _AID;
|
||||
return MyAssignmentUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -534,7 +534,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int AssignmentUnique
|
||||
{ get { return ++_AssignmentUnique; } }
|
||||
private int _MyAssignmentUnique = AssignmentUnique;
|
||||
public int MyAssignmentUnique
|
||||
public int MyAssignmentUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyAssignmentUnique; } }
|
||||
protected Assignment()
|
||||
{/* require use of factory methods */
|
||||
|
@ -223,7 +223,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current AssignmentInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _AID;
|
||||
return MyAssignmentInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -231,7 +231,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int AssignmentInfoUnique
|
||||
{ get { return ++_AssignmentInfoUnique; } }
|
||||
private int _MyAssignmentInfoUnique = AssignmentInfoUnique;
|
||||
public int MyAssignmentInfoUnique
|
||||
public int MyAssignmentInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyAssignmentInfoUnique; } }
|
||||
protected AssignmentInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -288,7 +288,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current Association</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _AssociationID;
|
||||
return MyAssociationUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -430,7 +430,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int AssociationUnique
|
||||
{ get { return ++_AssociationUnique; } }
|
||||
private int _MyAssociationUnique = AssociationUnique;
|
||||
public int MyAssociationUnique
|
||||
public int MyAssociationUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyAssociationUnique; } }
|
||||
protected Association()
|
||||
{/* require use of factory methods */
|
||||
|
@ -191,7 +191,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current AssociationInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _AssociationID;
|
||||
return MyAssociationInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -199,7 +199,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int AssociationInfoUnique
|
||||
{ get { return ++_AssociationInfoUnique; } }
|
||||
private int _MyAssociationInfoUnique = AssociationInfoUnique;
|
||||
public int MyAssociationInfoUnique
|
||||
public int MyAssociationInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyAssociationInfoUnique; } }
|
||||
protected AssociationInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -358,7 +358,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current Connection</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _DBID;
|
||||
return MyConnectionUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -505,7 +505,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int ConnectionUnique
|
||||
{ get { return ++_ConnectionUnique; } }
|
||||
private int _MyConnectionUnique = ConnectionUnique;
|
||||
public int MyConnectionUnique
|
||||
public int MyConnectionUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyConnectionUnique; } }
|
||||
protected Connection()
|
||||
{/* require use of factory methods */
|
||||
|
@ -278,7 +278,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ConnectionFolder</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _FolderID;
|
||||
return MyConnectionFolderUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base ConnectionFolder.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -450,6 +450,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _ConnectionFolderUnique = 0;
|
||||
private static int ConnectionFolderUnique
|
||||
{ get { return ++_ConnectionFolderUnique; } }
|
||||
private int _MyConnectionFolderUnique = ConnectionFolderUnique;
|
||||
public int MyConnectionFolderUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyConnectionFolderUnique; } }
|
||||
internal static ConnectionFolder New(Folder myParent, string name, string shortName)
|
||||
{
|
||||
return new ConnectionFolder(myParent, name, shortName);
|
||||
|
@ -228,7 +228,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ConnectionInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _DBID;
|
||||
return MyConnectionInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -236,7 +236,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int ConnectionInfoUnique
|
||||
{ get { return ++_ConnectionInfoUnique; } }
|
||||
private int _MyConnectionInfoUnique = ConnectionInfoUnique;
|
||||
public int MyConnectionInfoUnique
|
||||
public int MyConnectionInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyConnectionInfoUnique; } }
|
||||
protected ConnectionInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -620,7 +620,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current Content</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ContentID;
|
||||
return MyContentUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -777,7 +777,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int ContentUnique
|
||||
{ get { return ++_ContentUnique; } }
|
||||
private int _MyContentUnique = ContentUnique;
|
||||
public int MyContentUnique
|
||||
public int MyContentUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyContentUnique; } }
|
||||
protected Content()
|
||||
{/* require use of factory methods */
|
||||
|
@ -171,7 +171,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ContentDetail</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _DetailID;
|
||||
return MyContentDetailUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base ContentDetail.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -304,6 +304,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _ContentDetailUnique = 0;
|
||||
private static int ContentDetailUnique
|
||||
{ get { return ++_ContentDetailUnique; } }
|
||||
private int _MyContentDetailUnique = ContentDetailUnique;
|
||||
public int MyContentDetailUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyContentDetailUnique; } }
|
||||
internal static ContentDetail New(int itemType, string text)
|
||||
{
|
||||
return new ContentDetail(itemType, text);
|
||||
|
@ -453,7 +453,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ContentInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ContentID;
|
||||
return MyContentInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -461,7 +461,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int ContentInfoUnique
|
||||
{ get { return ++_ContentInfoUnique; } }
|
||||
private int _MyContentInfoUnique = ContentInfoUnique;
|
||||
public int MyContentInfoUnique
|
||||
public int MyContentInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyContentInfoUnique; } }
|
||||
protected ContentInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -142,7 +142,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ContentItem</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ItemID;
|
||||
return MyContentItemUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base ContentItem.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -264,6 +264,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _ContentItemUnique = 0;
|
||||
private static int ContentItemUnique
|
||||
{ get { return ++_ContentItemUnique; } }
|
||||
private int _MyContentItemUnique = ContentItemUnique;
|
||||
public int MyContentItemUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyContentItemUnique; } }
|
||||
internal static ContentItem New()
|
||||
{
|
||||
return new ContentItem();
|
||||
|
@ -168,7 +168,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ContentPart</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _FromType;
|
||||
return MyContentPartUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base ContentPart.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -311,6 +311,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _ContentPartUnique = 0;
|
||||
private static int ContentPartUnique
|
||||
{ get { return ++_ContentPartUnique; } }
|
||||
private int _MyContentPartUnique = ContentPartUnique;
|
||||
public int MyContentPartUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyContentPartUnique; } }
|
||||
internal static ContentPart New(int fromType, Item myItem)
|
||||
{
|
||||
return new ContentPart(fromType, myItem);
|
||||
|
@ -252,7 +252,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ContentRoUsage</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ROUsageID;
|
||||
return MyContentRoUsageUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base ContentRoUsage.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -407,6 +407,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _ContentRoUsageUnique = 0;
|
||||
private static int ContentRoUsageUnique
|
||||
{ get { return ++_ContentRoUsageUnique; } }
|
||||
private int _MyContentRoUsageUnique = ContentRoUsageUnique;
|
||||
public int MyContentRoUsageUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyContentRoUsageUnique; } }
|
||||
internal static ContentRoUsage New(string roid, RODb myRODb)
|
||||
{
|
||||
return new ContentRoUsage(roid, myRODb);
|
||||
|
@ -297,7 +297,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ContentTransition</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _TransitionID;
|
||||
return MyContentTransitionUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base ContentTransition.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -460,6 +460,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _ContentTransitionUnique = 0;
|
||||
private static int ContentTransitionUnique
|
||||
{ get { return ++_ContentTransitionUnique; } }
|
||||
private int _MyContentTransitionUnique = ContentTransitionUnique;
|
||||
public int MyContentTransitionUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyContentTransitionUnique; } }
|
||||
internal static ContentTransition New(Item myItemToID, Item myItemRangeID)
|
||||
{
|
||||
return new ContentTransition(myItemToID, myItemRangeID);
|
||||
|
@ -286,7 +286,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current Detail</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _DetailID;
|
||||
return MyDetailUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -424,7 +424,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int DetailUnique
|
||||
{ get { return ++_DetailUnique; } }
|
||||
private int _MyDetailUnique = DetailUnique;
|
||||
public int MyDetailUnique
|
||||
public int MyDetailUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyDetailUnique; } }
|
||||
protected Detail()
|
||||
{/* require use of factory methods */
|
||||
|
@ -189,7 +189,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current DetailInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _DetailID;
|
||||
return MyDetailInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -197,7 +197,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int DetailInfoUnique
|
||||
{ get { return ++_DetailInfoUnique; } }
|
||||
private int _MyDetailInfoUnique = DetailInfoUnique;
|
||||
public int MyDetailInfoUnique
|
||||
public int MyDetailInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyDetailInfoUnique; } }
|
||||
protected DetailInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -428,7 +428,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current DocVersion</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _VersionID;
|
||||
return MyDocVersionUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -591,7 +591,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int DocVersionUnique
|
||||
{ get { return ++_DocVersionUnique; } }
|
||||
private int _MyDocVersionUnique = DocVersionUnique;
|
||||
public int MyDocVersionUnique
|
||||
public int MyDocVersionUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyDocVersionUnique; } }
|
||||
protected DocVersion()
|
||||
{/* require use of factory methods */
|
||||
|
@ -212,7 +212,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current DocVersionAssociation</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _AssociationID;
|
||||
return MyDocVersionAssociationUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base DocVersionAssociation.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -360,6 +360,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _DocVersionAssociationUnique = 0;
|
||||
private static int DocVersionAssociationUnique
|
||||
{ get { return ++_DocVersionAssociationUnique; } }
|
||||
private int _MyDocVersionAssociationUnique = DocVersionAssociationUnique;
|
||||
public int MyDocVersionAssociationUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyDocVersionAssociationUnique; } }
|
||||
internal static DocVersionAssociation New(ROFst myROFst)
|
||||
{
|
||||
return new DocVersionAssociation(myROFst);
|
||||
|
@ -284,7 +284,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current DocVersionInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _VersionID;
|
||||
return MyDocVersionInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -292,7 +292,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int DocVersionInfoUnique
|
||||
{ get { return ++_DocVersionInfoUnique; } }
|
||||
private int _MyDocVersionInfoUnique = DocVersionInfoUnique;
|
||||
public int MyDocVersionInfoUnique
|
||||
public int MyDocVersionInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyDocVersionInfoUnique; } }
|
||||
protected DocVersionInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -351,7 +351,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current Document</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _DocID;
|
||||
return MyDocumentUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -500,7 +500,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int DocumentUnique
|
||||
{ get { return ++_DocumentUnique; } }
|
||||
private int _MyDocumentUnique = DocumentUnique;
|
||||
public int MyDocumentUnique
|
||||
public int MyDocumentUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyDocumentUnique; } }
|
||||
protected Document()
|
||||
{/* require use of factory methods */
|
||||
|
@ -185,7 +185,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current DocumentEntry</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ContentID;
|
||||
return MyDocumentEntryUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base DocumentEntry.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -304,6 +304,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _DocumentEntryUnique = 0;
|
||||
private static int DocumentEntryUnique
|
||||
{ get { return ++_DocumentEntryUnique; } }
|
||||
private int _MyDocumentEntryUnique = DocumentEntryUnique;
|
||||
public int MyDocumentEntryUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyDocumentEntryUnique; } }
|
||||
internal static DocumentEntry New(Entry myEntry)
|
||||
{
|
||||
return new DocumentEntry(myEntry);
|
||||
|
@ -231,7 +231,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current DocumentInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _DocID;
|
||||
return MyDocumentInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -239,7 +239,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int DocumentInfoUnique
|
||||
{ get { return ++_DocumentInfoUnique; } }
|
||||
private int _MyDocumentInfoUnique = DocumentInfoUnique;
|
||||
public int MyDocumentInfoUnique
|
||||
public int MyDocumentInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyDocumentInfoUnique; } }
|
||||
protected DocumentInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -232,7 +232,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current Entry</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ContentID;
|
||||
return MyEntryUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -356,7 +356,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int EntryUnique
|
||||
{ get { return ++_EntryUnique; } }
|
||||
private int _MyEntryUnique = EntryUnique;
|
||||
public int MyEntryUnique
|
||||
public int MyEntryUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyEntryUnique; } }
|
||||
protected Entry()
|
||||
{/* require use of factory methods */
|
||||
|
@ -172,7 +172,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current EntryInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ContentID;
|
||||
return MyEntryInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -180,7 +180,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int EntryInfoUnique
|
||||
{ get { return ++_EntryInfoUnique; } }
|
||||
private int _MyEntryInfoUnique = EntryInfoUnique;
|
||||
public int MyEntryInfoUnique
|
||||
public int MyEntryInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyEntryInfoUnique; } }
|
||||
protected EntryInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -288,7 +288,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current Figure</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _FigureID;
|
||||
return MyFigureUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -430,7 +430,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int FigureUnique
|
||||
{ get { return ++_FigureUnique; } }
|
||||
private int _MyFigureUnique = FigureUnique;
|
||||
public int MyFigureUnique
|
||||
public int MyFigureUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyFigureUnique; } }
|
||||
protected Figure()
|
||||
{/* require use of factory methods */
|
||||
|
@ -191,7 +191,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current FigureInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _FigureID;
|
||||
return MyFigureInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -199,7 +199,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int FigureInfoUnique
|
||||
{ get { return ++_FigureInfoUnique; } }
|
||||
private int _MyFigureInfoUnique = FigureInfoUnique;
|
||||
public int MyFigureInfoUnique
|
||||
public int MyFigureInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyFigureInfoUnique; } }
|
||||
protected FigureInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -548,7 +548,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current Folder</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _FolderID;
|
||||
return MyFolderUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -721,7 +721,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int FolderUnique
|
||||
{ get { return ++_FolderUnique; } }
|
||||
private int _MyFolderUnique = FolderUnique;
|
||||
public int MyFolderUnique
|
||||
public int MyFolderUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyFolderUnique; } }
|
||||
protected Folder()
|
||||
{/* require use of factory methods */
|
||||
|
@ -323,7 +323,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current FolderAssignment</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _AID;
|
||||
return MyFolderAssignmentUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base FolderAssignment.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -513,6 +513,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _FolderAssignmentUnique = 0;
|
||||
private static int FolderAssignmentUnique
|
||||
{ get { return ++_FolderAssignmentUnique; } }
|
||||
private int _MyFolderAssignmentUnique = FolderAssignmentUnique;
|
||||
public int MyFolderAssignmentUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyFolderAssignmentUnique; } }
|
||||
internal static FolderAssignment New(Group myGroup, Role myRole)
|
||||
{
|
||||
return new FolderAssignment(myGroup, myRole);
|
||||
|
@ -261,7 +261,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current FolderDocVersion</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _VersionID;
|
||||
return MyFolderDocVersionUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base FolderDocVersion.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -405,6 +405,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _FolderDocVersionUnique = 0;
|
||||
private static int FolderDocVersionUnique
|
||||
{ get { return ++_FolderDocVersionUnique; } }
|
||||
private int _MyFolderDocVersionUnique = FolderDocVersionUnique;
|
||||
public int MyFolderDocVersionUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyFolderDocVersionUnique; } }
|
||||
internal static FolderDocVersion New(string name)
|
||||
{
|
||||
return new FolderDocVersion(name);
|
||||
|
@ -367,7 +367,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current FolderInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _FolderID;
|
||||
return MyFolderInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -375,7 +375,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int FolderInfoUnique
|
||||
{ get { return ++_FolderInfoUnique; } }
|
||||
private int _MyFolderInfoUnique = FolderInfoUnique;
|
||||
public int MyFolderInfoUnique
|
||||
public int MyFolderInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyFolderInfoUnique; } }
|
||||
protected FolderInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -511,7 +511,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current Format</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _FormatID;
|
||||
return MyFormatUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -668,7 +668,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int FormatUnique
|
||||
{ get { return ++_FormatUnique; } }
|
||||
private int _MyFormatUnique = FormatUnique;
|
||||
public int MyFormatUnique
|
||||
public int MyFormatUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyFormatUnique; } }
|
||||
protected Format()
|
||||
{/* require use of factory methods */
|
||||
|
@ -198,7 +198,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current FormatContent</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ContentID;
|
||||
return MyFormatContentUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base FormatContent.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -334,6 +334,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _FormatContentUnique = 0;
|
||||
private static int FormatContentUnique
|
||||
{ get { return ++_FormatContentUnique; } }
|
||||
private int _MyFormatContentUnique = FormatContentUnique;
|
||||
public int MyFormatContentUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyFormatContentUnique; } }
|
||||
internal static FormatContent New()
|
||||
{
|
||||
return new FormatContent();
|
||||
|
@ -360,7 +360,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current FormatDocVersion</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _VersionID;
|
||||
return MyFormatDocVersionUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base FormatDocVersion.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -525,6 +525,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _FormatDocVersionUnique = 0;
|
||||
private static int FormatDocVersionUnique
|
||||
{ get { return ++_FormatDocVersionUnique; } }
|
||||
private int _MyFormatDocVersionUnique = FormatDocVersionUnique;
|
||||
public int MyFormatDocVersionUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyFormatDocVersionUnique; } }
|
||||
internal static FormatDocVersion New(Folder myFolder, string name)
|
||||
{
|
||||
return new FormatDocVersion(myFolder, name);
|
||||
|
@ -350,7 +350,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current FormatFolder</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _FolderID;
|
||||
return MyFormatFolderUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base FormatFolder.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -532,6 +532,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _FormatFolderUnique = 0;
|
||||
private static int FormatFolderUnique
|
||||
{ get { return ++_FormatFolderUnique; } }
|
||||
private int _MyFormatFolderUnique = FormatFolderUnique;
|
||||
public int MyFormatFolderUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyFormatFolderUnique; } }
|
||||
internal static FormatFolder New(Folder myParent, string name, string shortName)
|
||||
{
|
||||
return new FormatFolder(myParent, name, shortName);
|
||||
|
@ -351,7 +351,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current FormatInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _FormatID;
|
||||
return MyFormatInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -359,7 +359,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int FormatInfoUnique
|
||||
{ get { return ++_FormatInfoUnique; } }
|
||||
private int _MyFormatInfoUnique = FormatInfoUnique;
|
||||
public int MyFormatInfoUnique
|
||||
public int MyFormatInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyFormatInfoUnique; } }
|
||||
protected FormatInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -363,7 +363,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current Group</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _GID;
|
||||
return MyGroupUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -504,7 +504,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int GroupUnique
|
||||
{ get { return ++_GroupUnique; } }
|
||||
private int _MyGroupUnique = GroupUnique;
|
||||
public int MyGroupUnique
|
||||
public int MyGroupUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyGroupUnique; } }
|
||||
protected Group()
|
||||
{/* require use of factory methods */
|
||||
|
@ -373,7 +373,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current GroupAssignment</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _AID;
|
||||
return MyGroupAssignmentUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base GroupAssignment.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -563,6 +563,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _GroupAssignmentUnique = 0;
|
||||
private static int GroupAssignmentUnique
|
||||
{ get { return ++_GroupAssignmentUnique; } }
|
||||
private int _MyGroupAssignmentUnique = GroupAssignmentUnique;
|
||||
public int MyGroupAssignmentUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyGroupAssignmentUnique; } }
|
||||
internal static GroupAssignment New(Role myRole, Folder myFolder)
|
||||
{
|
||||
return new GroupAssignment(myRole, myFolder);
|
||||
|
@ -243,7 +243,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current GroupInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _GID;
|
||||
return MyGroupInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -251,7 +251,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int GroupInfoUnique
|
||||
{ get { return ++_GroupInfoUnique; } }
|
||||
private int _MyGroupInfoUnique = GroupInfoUnique;
|
||||
public int MyGroupInfoUnique
|
||||
public int MyGroupInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyGroupInfoUnique; } }
|
||||
protected GroupInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -352,7 +352,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current GroupMembership</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _UGID;
|
||||
return MyGroupMembershipUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base GroupMembership.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -534,6 +534,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _GroupMembershipUnique = 0;
|
||||
private static int GroupMembershipUnique
|
||||
{ get { return ++_GroupMembershipUnique; } }
|
||||
private int _MyGroupMembershipUnique = GroupMembershipUnique;
|
||||
public int MyGroupMembershipUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyGroupMembershipUnique; } }
|
||||
internal static GroupMembership New(User myUser)
|
||||
{
|
||||
return new GroupMembership(myUser);
|
||||
|
@ -551,7 +551,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current Item</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ItemID;
|
||||
return MyItemUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -701,7 +701,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int ItemUnique
|
||||
{ get { return ++_ItemUnique; } }
|
||||
private int _MyItemUnique = ItemUnique;
|
||||
public int MyItemUnique
|
||||
public int MyItemUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyItemUnique; } }
|
||||
protected Item()
|
||||
{/* require use of factory methods */
|
||||
|
@ -244,7 +244,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ItemAnnotation</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _AnnotationID;
|
||||
return MyItemAnnotationUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base ItemAnnotation.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -402,6 +402,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _ItemAnnotationUnique = 0;
|
||||
private static int ItemAnnotationUnique
|
||||
{ get { return ++_ItemAnnotationUnique; } }
|
||||
private int _MyItemAnnotationUnique = ItemAnnotationUnique;
|
||||
public int MyItemAnnotationUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyItemAnnotationUnique; } }
|
||||
internal static ItemAnnotation New(AnnotationType myAnnotationType)
|
||||
{
|
||||
return new ItemAnnotation(myAnnotationType);
|
||||
|
@ -360,7 +360,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ItemDocVersion</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _VersionID;
|
||||
return MyItemDocVersionUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base ItemDocVersion.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -525,6 +525,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _ItemDocVersionUnique = 0;
|
||||
private static int ItemDocVersionUnique
|
||||
{ get { return ++_ItemDocVersionUnique; } }
|
||||
private int _MyItemDocVersionUnique = ItemDocVersionUnique;
|
||||
public int MyItemDocVersionUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyItemDocVersionUnique; } }
|
||||
internal static ItemDocVersion New(Folder myFolder, string name)
|
||||
{
|
||||
return new ItemDocVersion(myFolder, name);
|
||||
|
@ -409,7 +409,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ItemInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ItemID;
|
||||
return MyItemInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -417,7 +417,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int ItemInfoUnique
|
||||
{ get { return ++_ItemInfoUnique; } }
|
||||
private int _MyItemInfoUnique = ItemInfoUnique;
|
||||
public int MyItemInfoUnique
|
||||
public int MyItemInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyItemInfoUnique; } }
|
||||
protected ItemInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -196,7 +196,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ItemPart</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return (((((_ContentID.ToString() + _FromType.ToString()).GetHashCode().ToString()).GetHashCode().ToString()).GetHashCode().ToString()).GetHashCode().ToString()).GetHashCode();
|
||||
return MyItemPartUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base ItemPart.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -316,6 +316,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _ItemPartUnique = 0;
|
||||
private static int ItemPartUnique
|
||||
{ get { return ++_ItemPartUnique; } }
|
||||
private int _MyItemPartUnique = ItemPartUnique;
|
||||
public int MyItemPartUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyItemPartUnique; } }
|
||||
internal static ItemPart New(Content myContent, int fromType)
|
||||
{
|
||||
return new ItemPart(myContent, fromType);
|
||||
|
@ -293,7 +293,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ItemTransition_RangeID</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _TransitionID;
|
||||
return MyItemTransition_RangeIDUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base ItemTransition_RangeID.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -445,6 +445,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _ItemTransition_RangeIDUnique = 0;
|
||||
private static int ItemTransition_RangeIDUnique
|
||||
{ get { return ++_ItemTransition_RangeIDUnique; } }
|
||||
private int _MyItemTransition_RangeIDUnique = ItemTransition_RangeIDUnique;
|
||||
public int MyItemTransition_RangeIDUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyItemTransition_RangeIDUnique; } }
|
||||
internal static ItemTransition_RangeID New(Content myContent, Item myItemToID)
|
||||
{
|
||||
return new ItemTransition_RangeID(myContent, myItemToID);
|
||||
|
@ -290,7 +290,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ItemTransition_ToID</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _TransitionID;
|
||||
return MyItemTransition_ToIDUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base ItemTransition_ToID.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -442,6 +442,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _ItemTransition_ToIDUnique = 0;
|
||||
private static int ItemTransition_ToIDUnique
|
||||
{ get { return ++_ItemTransition_ToIDUnique; } }
|
||||
private int _MyItemTransition_ToIDUnique = ItemTransition_ToIDUnique;
|
||||
public int MyItemTransition_ToIDUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyItemTransition_ToIDUnique; } }
|
||||
internal static ItemTransition_ToID New(Content myContent, Item myItemRangeID)
|
||||
{
|
||||
return new ItemTransition_ToID(myContent, myItemRangeID);
|
||||
|
@ -338,7 +338,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current Membership</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _UGID;
|
||||
return MyMembershipUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -514,7 +514,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int MembershipUnique
|
||||
{ get { return ++_MembershipUnique; } }
|
||||
private int _MyMembershipUnique = MembershipUnique;
|
||||
public int MyMembershipUnique
|
||||
public int MyMembershipUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyMembershipUnique; } }
|
||||
protected Membership()
|
||||
{/* require use of factory methods */
|
||||
|
@ -211,7 +211,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current MembershipInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _UGID;
|
||||
return MyMembershipInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -219,7 +219,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int MembershipInfoUnique
|
||||
{ get { return ++_MembershipInfoUnique; } }
|
||||
private int _MyMembershipInfoUnique = MembershipInfoUnique;
|
||||
public int MyMembershipInfoUnique
|
||||
public int MyMembershipInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyMembershipInfoUnique; } }
|
||||
protected MembershipInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -244,7 +244,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current Part</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return (_ContentID.ToString() + "." + _FromType.ToString()).GetHashCode();
|
||||
return MyPartUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -369,7 +369,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int PartUnique
|
||||
{ get { return ++_PartUnique; } }
|
||||
private int _MyPartUnique = PartUnique;
|
||||
public int MyPartUnique
|
||||
public int MyPartUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyPartUnique; } }
|
||||
protected Part()
|
||||
{/* require use of factory methods */
|
||||
|
@ -183,7 +183,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current PartInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return (_ContentID.ToString() + "." + _FromType.ToString()).GetHashCode();
|
||||
return MyPartInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -191,7 +191,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int PartInfoUnique
|
||||
{ get { return ++_PartInfoUnique; } }
|
||||
private int _MyPartInfoUnique = PartInfoUnique;
|
||||
public int MyPartInfoUnique
|
||||
public int MyPartInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyPartInfoUnique; } }
|
||||
protected PartInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -397,7 +397,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current Permission</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _PID;
|
||||
return MyPermissionUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -568,7 +568,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int PermissionUnique
|
||||
{ get { return ++_PermissionUnique; } }
|
||||
private int _MyPermissionUnique = PermissionUnique;
|
||||
public int MyPermissionUnique
|
||||
public int MyPermissionUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyPermissionUnique; } }
|
||||
protected Permission()
|
||||
{/* require use of factory methods */
|
||||
|
@ -241,7 +241,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current PermissionInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _PID;
|
||||
return MyPermissionInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -249,7 +249,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int PermissionInfoUnique
|
||||
{ get { return ++_PermissionInfoUnique; } }
|
||||
private int _MyPermissionInfoUnique = PermissionInfoUnique;
|
||||
public int MyPermissionInfoUnique
|
||||
public int MyPermissionInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyPermissionInfoUnique; } }
|
||||
protected PermissionInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -444,7 +444,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current RODb</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _RODbID;
|
||||
return MyRODbUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -599,7 +599,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int RODbUnique
|
||||
{ get { return ++_RODbUnique; } }
|
||||
private int _MyRODbUnique = RODbUnique;
|
||||
public int MyRODbUnique
|
||||
public int MyRODbUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyRODbUnique; } }
|
||||
protected RODb()
|
||||
{/* require use of factory methods */
|
||||
|
@ -300,7 +300,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current RODbInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _RODbID;
|
||||
return MyRODbInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -308,7 +308,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int RODbInfoUnique
|
||||
{ get { return ++_RODbInfoUnique; } }
|
||||
private int _MyRODbInfoUnique = RODbInfoUnique;
|
||||
public int MyRODbInfoUnique
|
||||
public int MyRODbInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyRODbInfoUnique; } }
|
||||
protected RODbInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -150,7 +150,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current RODbROFst</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ROFstID;
|
||||
return MyRODbROFstUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base RODbROFst.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -276,6 +276,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _RODbROFstUnique = 0;
|
||||
private static int RODbROFstUnique
|
||||
{ get { return ++_RODbROFstUnique; } }
|
||||
private int _MyRODbROFstUnique = RODbROFstUnique;
|
||||
public int MyRODbROFstUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyRODbROFstUnique; } }
|
||||
internal static RODbROFst New(byte[] rOLookup)
|
||||
{
|
||||
return new RODbROFst(rOLookup);
|
||||
|
@ -171,7 +171,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current RODbROImage</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ImageID;
|
||||
return MyRODbROImageUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base RODbROImage.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -304,6 +304,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _RODbROImageUnique = 0;
|
||||
private static int RODbROImageUnique
|
||||
{ get { return ++_RODbROImageUnique; } }
|
||||
private int _MyRODbROImageUnique = RODbROImageUnique;
|
||||
public int MyRODbROImageUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyRODbROImageUnique; } }
|
||||
internal static RODbROImage New(string fileName, byte[] content)
|
||||
{
|
||||
return new RODbROImage(fileName, content);
|
||||
|
@ -259,7 +259,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current RODbRoUsage</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ROUsageID;
|
||||
return MyRODbRoUsageUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base RODbRoUsage.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -414,6 +414,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _RODbRoUsageUnique = 0;
|
||||
private static int RODbRoUsageUnique
|
||||
{ get { return ++_RODbRoUsageUnique; } }
|
||||
private int _MyRODbRoUsageUnique = RODbRoUsageUnique;
|
||||
public int MyRODbRoUsageUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyRODbRoUsageUnique; } }
|
||||
internal static RODbRoUsage New(string roid)
|
||||
{
|
||||
return new RODbRoUsage(roid);
|
||||
|
@ -375,7 +375,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ROFst</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ROFstID;
|
||||
return MyROFstUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -522,7 +522,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int ROFstUnique
|
||||
{ get { return ++_ROFstUnique; } }
|
||||
private int _MyROFstUnique = ROFstUnique;
|
||||
public int MyROFstUnique
|
||||
public int MyROFstUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyROFstUnique; } }
|
||||
protected ROFst()
|
||||
{/* require use of factory methods */
|
||||
|
@ -255,7 +255,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ROFstAssociation</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _AssociationID;
|
||||
return MyROFstAssociationUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base ROFstAssociation.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -403,6 +403,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _ROFstAssociationUnique = 0;
|
||||
private static int ROFstAssociationUnique
|
||||
{ get { return ++_ROFstAssociationUnique; } }
|
||||
private int _MyROFstAssociationUnique = ROFstAssociationUnique;
|
||||
public int MyROFstAssociationUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyROFstAssociationUnique; } }
|
||||
internal static ROFstAssociation New(DocVersion myDocVersion)
|
||||
{
|
||||
return new ROFstAssociation(myDocVersion);
|
||||
|
@ -222,7 +222,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ROFstFigure</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _FigureID;
|
||||
return MyROFstFigureUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base ROFstFigure.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -370,6 +370,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _ROFstFigureUnique = 0;
|
||||
private static int ROFstFigureUnique
|
||||
{ get { return ++_ROFstFigureUnique; } }
|
||||
private int _MyROFstFigureUnique = ROFstFigureUnique;
|
||||
public int MyROFstFigureUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyROFstFigureUnique; } }
|
||||
internal static ROFstFigure New(ROImage myROImage)
|
||||
{
|
||||
return new ROFstFigure(myROImage);
|
||||
|
@ -255,7 +255,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ROFstInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ROFstID;
|
||||
return MyROFstInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -263,7 +263,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int ROFstInfoUnique
|
||||
{ get { return ++_ROFstInfoUnique; } }
|
||||
private int _MyROFstInfoUnique = ROFstInfoUnique;
|
||||
public int MyROFstInfoUnique
|
||||
public int MyROFstInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyROFstInfoUnique; } }
|
||||
protected ROFstInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -346,7 +346,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ROImage</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ImageID;
|
||||
return MyROImageUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -498,7 +498,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int ROImageUnique
|
||||
{ get { return ++_ROImageUnique; } }
|
||||
private int _MyROImageUnique = ROImageUnique;
|
||||
public int MyROImageUnique
|
||||
public int MyROImageUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyROImageUnique; } }
|
||||
protected ROImage()
|
||||
{/* require use of factory methods */
|
||||
|
@ -212,7 +212,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ROImageFigure</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _FigureID;
|
||||
return MyROImageFigureUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base ROImageFigure.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -360,6 +360,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _ROImageFigureUnique = 0;
|
||||
private static int ROImageFigureUnique
|
||||
{ get { return ++_ROImageFigureUnique; } }
|
||||
private int _MyROImageFigureUnique = ROImageFigureUnique;
|
||||
public int MyROImageFigureUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyROImageFigureUnique; } }
|
||||
internal static ROImageFigure New(ROFst myROFst)
|
||||
{
|
||||
return new ROImageFigure(myROFst);
|
||||
|
@ -227,7 +227,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ROImageInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ImageID;
|
||||
return MyROImageInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -235,7 +235,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int ROImageInfoUnique
|
||||
{ get { return ++_ROImageInfoUnique; } }
|
||||
private int _MyROImageInfoUnique = ROImageInfoUnique;
|
||||
public int MyROImageInfoUnique
|
||||
public int MyROImageInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyROImageInfoUnique; } }
|
||||
protected ROImageInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -299,7 +299,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current RoUsage</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ROUsageID;
|
||||
return MyRoUsageUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -448,7 +448,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int RoUsageUnique
|
||||
{ get { return ++_RoUsageUnique; } }
|
||||
private int _MyRoUsageUnique = RoUsageUnique;
|
||||
public int MyRoUsageUnique
|
||||
public int MyRoUsageUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyRoUsageUnique; } }
|
||||
protected RoUsage()
|
||||
{/* require use of factory methods */
|
||||
|
@ -201,7 +201,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current RoUsageInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ROUsageID;
|
||||
return MyRoUsageInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -209,7 +209,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int RoUsageInfoUnique
|
||||
{ get { return ++_RoUsageInfoUnique; } }
|
||||
private int _MyRoUsageInfoUnique = RoUsageInfoUnique;
|
||||
public int MyRoUsageInfoUnique
|
||||
public int MyRoUsageInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyRoUsageInfoUnique; } }
|
||||
protected RoUsageInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -343,7 +343,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current Role</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _RID;
|
||||
return MyRoleUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -484,7 +484,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int RoleUnique
|
||||
{ get { return ++_RoleUnique; } }
|
||||
private int _MyRoleUnique = RoleUnique;
|
||||
public int MyRoleUnique
|
||||
public int MyRoleUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyRoleUnique; } }
|
||||
protected Role()
|
||||
{/* require use of factory methods */
|
||||
|
@ -383,7 +383,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current RoleAssignment</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _AID;
|
||||
return MyRoleAssignmentUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base RoleAssignment.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -573,6 +573,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _RoleAssignmentUnique = 0;
|
||||
private static int RoleAssignmentUnique
|
||||
{ get { return ++_RoleAssignmentUnique; } }
|
||||
private int _MyRoleAssignmentUnique = RoleAssignmentUnique;
|
||||
public int MyRoleAssignmentUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyRoleAssignmentUnique; } }
|
||||
internal static RoleAssignment New(Group myGroup, Folder myFolder)
|
||||
{
|
||||
return new RoleAssignment(myGroup, myFolder);
|
||||
|
@ -233,7 +233,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current RoleInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _RID;
|
||||
return MyRoleInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -241,7 +241,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int RoleInfoUnique
|
||||
{ get { return ++_RoleInfoUnique; } }
|
||||
private int _MyRoleInfoUnique = RoleInfoUnique;
|
||||
public int MyRoleInfoUnique
|
||||
public int MyRoleInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyRoleInfoUnique; } }
|
||||
protected RoleInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -282,7 +282,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current RolePermission</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _PID;
|
||||
return MyRolePermissionUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base RolePermission.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -448,6 +448,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _RolePermissionUnique = 0;
|
||||
private static int RolePermissionUnique
|
||||
{ get { return ++_RolePermissionUnique; } }
|
||||
private int _MyRolePermissionUnique = RolePermissionUnique;
|
||||
public int MyRolePermissionUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyRolePermissionUnique; } }
|
||||
internal static RolePermission New(int permLevel, int versionType, int permValue)
|
||||
{
|
||||
return new RolePermission(permLevel, versionType, permValue);
|
||||
|
@ -362,7 +362,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current Transition</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _TransitionID;
|
||||
return MyTransitionUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -533,7 +533,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int TransitionUnique
|
||||
{ get { return ++_TransitionUnique; } }
|
||||
private int _MyTransitionUnique = TransitionUnique;
|
||||
public int MyTransitionUnique
|
||||
public int MyTransitionUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyTransitionUnique; } }
|
||||
protected Transition()
|
||||
{/* require use of factory methods */
|
||||
|
@ -255,7 +255,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current TransitionInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _TransitionID;
|
||||
return MyTransitionInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -263,7 +263,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int TransitionInfoUnique
|
||||
{ get { return ++_TransitionInfoUnique; } }
|
||||
private int _MyTransitionInfoUnique = TransitionInfoUnique;
|
||||
public int MyTransitionInfoUnique
|
||||
public int MyTransitionInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyTransitionInfoUnique; } }
|
||||
protected TransitionInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -472,7 +472,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current User</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _UID;
|
||||
return MyUserUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -654,7 +654,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int UserUnique
|
||||
{ get { return ++_UserUnique; } }
|
||||
private int _MyUserUnique = UserUnique;
|
||||
public int MyUserUnique
|
||||
public int MyUserUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyUserUnique; } }
|
||||
protected User()
|
||||
{/* require use of factory methods */
|
||||
|
@ -285,7 +285,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current UserInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _UID;
|
||||
return MyUserInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -293,7 +293,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int UserInfoUnique
|
||||
{ get { return ++_UserInfoUnique; } }
|
||||
private int _MyUserInfoUnique = UserInfoUnique;
|
||||
public int MyUserInfoUnique
|
||||
public int MyUserInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyUserInfoUnique; } }
|
||||
protected UserInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -272,7 +272,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current UserMembership</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _UGID;
|
||||
return MyUserMembershipUnique; // Absolutely Unique ID
|
||||
}
|
||||
// TODO: Replace base UserMembership.ToString function as necessary
|
||||
/// <summary>
|
||||
@ -454,6 +454,12 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public int CurrentEditLevel
|
||||
{ get { return EditLevel; } }
|
||||
private static int _UserMembershipUnique = 0;
|
||||
private static int UserMembershipUnique
|
||||
{ get { return ++_UserMembershipUnique; } }
|
||||
private int _MyUserMembershipUnique = UserMembershipUnique;
|
||||
public int MyUserMembershipUnique // Absolutely Unique ID - Editable FK
|
||||
{ get { return _MyUserMembershipUnique; } }
|
||||
internal static UserMembership New(Group myGroup)
|
||||
{
|
||||
return new UserMembership(myGroup);
|
||||
|
@ -168,7 +168,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ZContent</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ContentID;
|
||||
return MyZContentUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -277,7 +277,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int ZContentUnique
|
||||
{ get { return ++_ZContentUnique; } }
|
||||
private int _MyZContentUnique = ZContentUnique;
|
||||
public int MyZContentUnique
|
||||
public int MyZContentUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyZContentUnique; } }
|
||||
protected ZContent()
|
||||
{/* require use of factory methods */
|
||||
|
@ -136,7 +136,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ZContentInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _ContentID;
|
||||
return MyZContentInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -144,7 +144,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int ZContentInfoUnique
|
||||
{ get { return ++_ZContentInfoUnique; } }
|
||||
private int _MyZContentInfoUnique = ZContentInfoUnique;
|
||||
public int MyZContentInfoUnique
|
||||
public int MyZContentInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyZContentInfoUnique; } }
|
||||
protected ZContentInfo()
|
||||
{/* require use of factory methods */
|
||||
|
@ -168,7 +168,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ZTransition</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _TransitionID;
|
||||
return MyZTransitionUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region ValidationRules
|
||||
@ -277,7 +277,7 @@ namespace VEPROMS.CSLA.Library
|
||||
protected static int ZTransitionUnique
|
||||
{ get { return ++_ZTransitionUnique; } }
|
||||
private int _MyZTransitionUnique = ZTransitionUnique;
|
||||
public int MyZTransitionUnique
|
||||
public int MyZTransitionUnique // Absolutely Unique ID - Editable
|
||||
{ get { return _MyZTransitionUnique; } }
|
||||
protected ZTransition()
|
||||
{/* require use of factory methods */
|
||||
|
@ -136,7 +136,7 @@ namespace VEPROMS.CSLA.Library
|
||||
/// <returns>A Unique ID for the current ZTransitionInfo</returns>
|
||||
protected override object GetIdValue()
|
||||
{
|
||||
return _TransitionID;
|
||||
return MyZTransitionInfoUnique; // Absolutely Unique ID
|
||||
}
|
||||
#endregion
|
||||
#region Factory Methods
|
||||
@ -144,7 +144,7 @@ namespace VEPROMS.CSLA.Library
|
||||
private static int ZTransitionInfoUnique
|
||||
{ get { return ++_ZTransitionInfoUnique; } }
|
||||
private int _MyZTransitionInfoUnique = ZTransitionInfoUnique;
|
||||
public int MyZTransitionInfoUnique
|
||||
public int MyZTransitionInfoUnique // Absolutely Unique ID - Info
|
||||
{ get { return _MyZTransitionInfoUnique; } }
|
||||
protected ZTransitionInfo()
|
||||
{/* require use of factory methods */
|
||||
|
Loading…
x
Reference in New Issue
Block a user