Upload to server
uploading
This commit is contained in:
@@ -0,0 +1,92 @@
|
||||
///////////////////////////////////////////////////////////////
|
||||
// This is generated code.
|
||||
//////////////////////////////////////////////////////////////
|
||||
// Code is generated using LLBLGen Pro version: 4.2
|
||||
// Code is generated on:
|
||||
// Code is generated using templates: SD.TemplateBindings.SharedTemplates
|
||||
// Templates vendor: Solutions Design.
|
||||
// Templates version:
|
||||
//////////////////////////////////////////////////////////////
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Datalib;
|
||||
using Datalib.FactoryClasses;
|
||||
using Datalib.HelperClasses;
|
||||
using SD.LLBLGen.Pro.ORMSupportClasses;
|
||||
|
||||
namespace Datalib.RelationClasses
|
||||
{
|
||||
/// <summary>Implements the relations factory for the entity: TblPreClinicsInfo. </summary>
|
||||
public partial class TblPreClinicsInfoRelations
|
||||
{
|
||||
/// <summary>CTor</summary>
|
||||
public TblPreClinicsInfoRelations()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets all relations of the TblPreClinicsInfoEntity as a list of IEntityRelation objects.</summary>
|
||||
/// <returns>a list of IEntityRelation objects</returns>
|
||||
public virtual List<IEntityRelation> GetAllRelations()
|
||||
{
|
||||
List<IEntityRelation> toReturn = new List<IEntityRelation>();
|
||||
toReturn.Add(this.TblPatientEntityUsingPatientId);
|
||||
toReturn.Add(this.TblTestEntityUsingTestid);
|
||||
return toReturn;
|
||||
}
|
||||
|
||||
#region Class Property Declarations
|
||||
|
||||
|
||||
|
||||
/// <summary>Returns a new IEntityRelation object, between TblPreClinicsInfoEntity and TblPatientEntity over the m:1 relation they have, using the relation between the fields:
|
||||
/// TblPreClinicsInfo.PatientId - TblPatient.PatientId
|
||||
/// </summary>
|
||||
public virtual IEntityRelation TblPatientEntityUsingPatientId
|
||||
{
|
||||
get
|
||||
{
|
||||
IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.ManyToOne, "TblPatient", false);
|
||||
relation.AddEntityFieldPair(TblPatientFields.PatientId, TblPreClinicsInfoFields.PatientId);
|
||||
relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("TblPatientEntity", false);
|
||||
relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("TblPreClinicsInfoEntity", true);
|
||||
return relation;
|
||||
}
|
||||
}
|
||||
/// <summary>Returns a new IEntityRelation object, between TblPreClinicsInfoEntity and TblTestEntity over the m:1 relation they have, using the relation between the fields:
|
||||
/// TblPreClinicsInfo.Testid - TblTest.Testid
|
||||
/// </summary>
|
||||
public virtual IEntityRelation TblTestEntityUsingTestid
|
||||
{
|
||||
get
|
||||
{
|
||||
IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.ManyToOne, "TblTest", false);
|
||||
relation.AddEntityFieldPair(TblTestFields.Testid, TblPreClinicsInfoFields.Testid);
|
||||
relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("TblTestEntity", false);
|
||||
relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("TblPreClinicsInfoEntity", true);
|
||||
return relation;
|
||||
}
|
||||
}
|
||||
/// <summary>stub, not used in this entity, only for TargetPerEntity entities.</summary>
|
||||
public virtual IEntityRelation GetSubTypeRelation(string subTypeEntityName) { return null; }
|
||||
/// <summary>stub, not used in this entity, only for TargetPerEntity entities.</summary>
|
||||
public virtual IEntityRelation GetSuperTypeRelation() { return null;}
|
||||
#endregion
|
||||
|
||||
#region Included Code
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
/// <summary>Static class which is used for providing relationship instances which are re-used internally for syncing</summary>
|
||||
internal static class StaticTblPreClinicsInfoRelations
|
||||
{
|
||||
internal static readonly IEntityRelation TblPatientEntityUsingPatientIdStatic = new TblPreClinicsInfoRelations().TblPatientEntityUsingPatientId;
|
||||
internal static readonly IEntityRelation TblTestEntityUsingTestidStatic = new TblPreClinicsInfoRelations().TblTestEntityUsingTestid;
|
||||
|
||||
/// <summary>CTor</summary>
|
||||
static StaticTblPreClinicsInfoRelations()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user