/////////////////////////////////////////////////////////////// // This is generated code. ////////////////////////////////////////////////////////////// // Code is generated using LLBLGen Pro version: 2.0.0.0 // Code is generated on: Saturday, February 24, 2007 10:00:22 PM // Code is generated using templates: SD.TemplateBindings.SharedTemplates.NET20 // Templates vendor: Solutions Design. // Templates version: ////////////////////////////////////////////////////////////// using System; using DataFeedFrameworkDAL; using DataFeedFrameworkDAL.FactoryClasses; using DataFeedFrameworkDAL.HelperClasses; using SD.LLBLGen.Pro.ORMSupportClasses; namespace DataFeedFrameworkDAL.RelationClasses { /// /// Implements the static Relations variant for the entity: SnippetGroup. /// This class is generated. Do not modify. /// public partial class SnippetGroupRelations { /// /// CTor /// public SnippetGroupRelations() { } #region Class Property Declarations /// Returns a new IEntityRelation object, between SnippetGroupEntity and SnippetEntity over the 1:n relation they have, using the relation between the fields: /// SnippetGroup.SnippetGroupId - Snippet.SnippetGroupId /// public virtual IEntityRelation SnippetEntityUsingSnippetGroupId { get { IEntityRelation relation = new EntityRelation(SD.LLBLGen.Pro.ORMSupportClasses.RelationType.OneToMany); relation.StartEntityIsPkSide = true; relation.AddEntityFieldPair(EntityFieldFactory.Create(SnippetGroupFieldIndex.SnippetGroupId), EntityFieldFactory.Create(SnippetFieldIndex.SnippetGroupId)); relation.InheritanceInfoPkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("SnippetGroupEntity", true); relation.InheritanceInfoFkSideEntity = InheritanceInfoProviderSingleton.GetInstance().GetInheritanceInfo("SnippetEntity", false); return relation; } } /// stub, not used in this entity, only for TargetPerEntity entities. public virtual IEntityRelation GetSubTypeRelation(string subTypeEntityName) { return null; } /// stub, not used in this entity, only for TargetPerEntity entities. public virtual IEntityRelation GetSuperTypeRelation() { return null;} #endregion #region Included Code #endregion } }