⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fetchpath.cs

📁 客户关系管理系统ASP.NET+VB.NET编程完整程序!
💻 CS
📖 第 1 页 / 共 2 页
字号:
				

				/// <summary>
				/// Include this table through this relation.
				/// </summary>
				public FetchPath._.ProcedureRelation Procedure
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("Procedure","ID","Param","FKProcedureID", this.OrmAlias, this.OrmAlias + "_Proc2", true ));
						return new FetchPath._.ProcedureRelation(RelationList, this.OrmAlias + "_Proc2"); 
					}
				}

				
				/// <summary>
				/// Include this table through this relation.
				/// </summary>
				public FetchPath._.DataTypeRelation DataType
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("DataType","ID","Param","FKDataTypeID", this.OrmAlias, this.OrmAlias + "_Data3", true ));
						return new FetchPath._.DataTypeRelation(RelationList, this.OrmAlias + "_Data3"); 
					}
				}

				

			}
			
			/// <summary>
			/// Internal class - do not instantiate directly. See <see cref="FetchPath"/>.
			/// </summary>
			public class ProcedureRelation : DataManagerBase.FetchPathRelation
			{			
				/// <summary>
				/// Internal class - do not instantiate directly. See <see cref="FetchPath"/>.
				/// </summary>
				internal ProcedureRelation(ArrayList relationList, string alias) { this.RelationList = relationList; this.OrmAlias = alias;}
			
				
				/// <summary>
				/// Fetch all related children and parents
				/// </summary>
				public ProcedureRelation All
				{
					get
					{
						
						RelationList.Add(new DataManagerBase.Relation("Procedure","ID","Param","FKProcedureID", this.OrmAlias, this.OrmAlias + "_Para2", false));
						
						RelationList.Add(new DataManagerBase.Relation("Database","ID","Procedure","FKDatabaseID", this.OrmAlias, this.OrmAlias + "_Data1", true));
						return this;
					}
				} 
			
				/// <summary>
				/// Fetch all related children
				/// </summary>
				public ProcedureRelation AllChildren
				{
					get
					{
						
						RelationList.Add(new DataManagerBase.Relation("Procedure","ID","Param","FKProcedureID", this.OrmAlias, this.OrmAlias + "_Para2", false));
						
						return this;
					}
				} 
			
				/// <summary>
				/// Fetch all related parents
				/// </summary>
				public ProcedureRelation AllParents
				{
					get
					{
						
						RelationList.Add(new DataManagerBase.Relation("Database","ID","Procedure","FKDatabaseID", this.OrmAlias, this.OrmAlias + "_Data1", true));
						
						return this;
					}
				} 
				

				/// <summary>
				/// Include this table through this relation.
				/// </summary>
				public FetchPath._.ParamRelation Param
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("Procedure","ID","Param","FKProcedureID", this.OrmAlias, this.OrmAlias + "_Para2", false ));
						return new FetchPath._.ParamRelation(RelationList, this.OrmAlias + "_Para2"); 
					}
				}

				
				/// <summary>
				/// Include this table through this relation.
				/// </summary>
				public FetchPath._.DatabaseRelation Database
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("Database","ID","Procedure","FKDatabaseID", this.OrmAlias, this.OrmAlias + "_Data1", true ));
						return new FetchPath._.DatabaseRelation(RelationList, this.OrmAlias + "_Data1"); 
					}
				}

				

			}
			
			/// <summary>
			/// Internal class - do not instantiate directly. See <see cref="FetchPath"/>.
			/// </summary>
			public class RelationRelation : DataManagerBase.FetchPathRelation
			{			
				/// <summary>
				/// Internal class - do not instantiate directly. See <see cref="FetchPath"/>.
				/// </summary>
				internal RelationRelation(ArrayList relationList, string alias) { this.RelationList = relationList; this.OrmAlias = alias;}
			
				
				/// <summary>
				/// Fetch all related children and parents
				/// </summary>
				public RelationRelation All
				{
					get
					{
						
						RelationList.Add(new DataManagerBase.Relation("Relation","ID","RelationColumn","FKRelationID", this.OrmAlias, this.OrmAlias + "_Rela9", false));
						
						RelationList.Add(new DataManagerBase.Relation("Table","ID","Relation","FKParentTableID", this.OrmAlias, this.OrmAlias + "_Pare7", true));
						RelationList.Add(new DataManagerBase.Relation("Table","ID","Relation","FKChildTableID", this.OrmAlias, this.OrmAlias + "_Chil8", true));
						return this;
					}
				} 
			
				/// <summary>
				/// Fetch all related children
				/// </summary>
				public RelationRelation AllChildren
				{
					get
					{
						
						RelationList.Add(new DataManagerBase.Relation("Relation","ID","RelationColumn","FKRelationID", this.OrmAlias, this.OrmAlias + "_Rela9", false));
						
						return this;
					}
				} 
			
				/// <summary>
				/// Fetch all related parents
				/// </summary>
				public RelationRelation AllParents
				{
					get
					{
						
						RelationList.Add(new DataManagerBase.Relation("Table","ID","Relation","FKParentTableID", this.OrmAlias, this.OrmAlias + "_Pare7", true));
						RelationList.Add(new DataManagerBase.Relation("Table","ID","Relation","FKChildTableID", this.OrmAlias, this.OrmAlias + "_Chil8", true));
						
						return this;
					}
				} 
				

				/// <summary>
				/// Include this table through this relation.
				/// </summary>
				public FetchPath._.RelationColumnRelation RelationColumn
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("Relation","ID","RelationColumn","FKRelationID", this.OrmAlias, this.OrmAlias + "_Rela9", false ));
						return new FetchPath._.RelationColumnRelation(RelationList, this.OrmAlias + "_Rela9"); 
					}
				}

				
				/// <summary>
				/// Include this table through this relation.
				/// </summary>
				public FetchPath._.TableRelation ParentTable
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("Table","ID","Relation","FKParentTableID", this.OrmAlias, this.OrmAlias + "_Pare7", true ));
						return new FetchPath._.TableRelation(RelationList, this.OrmAlias + "_Pare7"); 
					}
				}

				
				/// <summary>
				/// Include this table through this relation.
				/// </summary>
				public FetchPath._.TableRelation ChildTable
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("Table","ID","Relation","FKChildTableID", this.OrmAlias, this.OrmAlias + "_Chil8", true ));
						return new FetchPath._.TableRelation(RelationList, this.OrmAlias + "_Chil8"); 
					}
				}

				

			}
			
			/// <summary>
			/// Internal class - do not instantiate directly. See <see cref="FetchPath"/>.
			/// </summary>
			public class RelationColumnRelation : DataManagerBase.FetchPathRelation
			{			
				/// <summary>
				/// Internal class - do not instantiate directly. See <see cref="FetchPath"/>.
				/// </summary>
				internal RelationColumnRelation(ArrayList relationList, string alias) { this.RelationList = relationList; this.OrmAlias = alias;}
			
				
				/// <summary>
				/// Fetch all related children and parents
				/// </summary>
				public RelationColumnRelation All
				{
					get
					{
						
						
						RelationList.Add(new DataManagerBase.Relation("Relation","ID","RelationColumn","FKRelationID", this.OrmAlias, this.OrmAlias + "_Rela9", true));
						return this;
					}
				} 
			
				/// <summary>
				/// Fetch all related children
				/// </summary>
				public RelationColumnRelation AllChildren
				{
					get
					{
						
						
						return this;
					}
				} 
			
				/// <summary>
				/// Fetch all related parents
				/// </summary>
				public RelationColumnRelation AllParents
				{
					get
					{
						
						RelationList.Add(new DataManagerBase.Relation("Relation","ID","RelationColumn","FKRelationID", this.OrmAlias, this.OrmAlias + "_Rela9", true));
						
						return this;
					}
				} 
				

				/// <summary>
				/// Include this table through this relation.
				/// </summary>
				public FetchPath._.RelationRelation Relation
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("Relation","ID","RelationColumn","FKRelationID", this.OrmAlias, this.OrmAlias + "_Rela9", true ));
						return new FetchPath._.RelationRelation(RelationList, this.OrmAlias + "_Rela9"); 
					}
				}

				

			}
			
			/// <summary>
			/// Internal class - do not instantiate directly. See <see cref="FetchPath"/>.
			/// </summary>
			public class TableRelation : DataManagerBase.FetchPathRelation
			{			
				/// <summary>
				/// Internal class - do not instantiate directly. See <see cref="FetchPath"/>.
				/// </summary>
				internal TableRelation(ArrayList relationList, string alias) { this.RelationList = relationList; this.OrmAlias = alias;}
			
				
				/// <summary>
				/// Fetch all related children and parents
				/// </summary>
				public TableRelation All
				{
					get
					{
						
						RelationList.Add(new DataManagerBase.Relation("Table","ID","Column","FKTableID", this.OrmAlias, this.OrmAlias + "_Colu6", false));
						RelationList.Add(new DataManagerBase.Relation("Table","ID","Relation","FKParentTableID", this.OrmAlias, this.OrmAlias + "_Chil7", false));
						RelationList.Add(new DataManagerBase.Relation("Table","ID","Relation","FKChildTableID", this.OrmAlias, this.OrmAlias + "_Pare8", false));
						
						RelationList.Add(new DataManagerBase.Relation("Database","ID","Table","FKDatabaseID", this.OrmAlias, this.OrmAlias + "_Data5", true));
						return this;
					}
				} 
			
				/// <summary>
				/// Fetch all related children
				/// </summary>
				public TableRelation AllChildren
				{
					get
					{
						
						RelationList.Add(new DataManagerBase.Relation("Table","ID","Column","FKTableID", this.OrmAlias, this.OrmAlias + "_Colu6", false));
						RelationList.Add(new DataManagerBase.Relation("Table","ID","Relation","FKParentTableID", this.OrmAlias, this.OrmAlias + "_Chil7", false));
						RelationList.Add(new DataManagerBase.Relation("Table","ID","Relation","FKChildTableID", this.OrmAlias, this.OrmAlias + "_Pare8", false));
						
						return this;
					}
				} 
			
				/// <summary>
				/// Fetch all related parents
				/// </summary>
				public TableRelation AllParents
				{
					get
					{
						
						RelationList.Add(new DataManagerBase.Relation("Database","ID","Table","FKDatabaseID", this.OrmAlias, this.OrmAlias + "_Data5", true));
						
						return this;
					}
				} 
				

				/// <summary>
				/// Include this table through this relation.
				/// </summary>
				public FetchPath._.ColumnRelation Column
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("Table","ID","Column","FKTableID", this.OrmAlias, this.OrmAlias + "_Colu6", false ));
						return new FetchPath._.ColumnRelation(RelationList, this.OrmAlias + "_Colu6"); 
					}
				}

				
				/// <summary>
				/// Include this table through this relation.
				/// </summary>
				public FetchPath._.RelationRelation ChildRelation
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("Table","ID","Relation","FKParentTableID", this.OrmAlias, this.OrmAlias + "_Chil7", false ));
						return new FetchPath._.RelationRelation(RelationList, this.OrmAlias + "_Chil7"); 
					}
				}

				
				/// <summary>
				/// Include this table through this relation.
				/// </summary>
				public FetchPath._.RelationRelation ParentRelation
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("Table","ID","Relation","FKChildTableID", this.OrmAlias, this.OrmAlias + "_Pare8", false ));
						return new FetchPath._.RelationRelation(RelationList, this.OrmAlias + "_Pare8"); 
					}
				}

				
				/// <summary>
				/// Include this table through this relation.
				/// </summary>
				public FetchPath._.DatabaseRelation Database
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("Database","ID","Table","FKDatabaseID", this.OrmAlias, this.OrmAlias + "_Data5", true ));
						return new FetchPath._.DatabaseRelation(RelationList, this.OrmAlias + "_Data5"); 
					}
				}

				

			}
			

		}
	}
}
		

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -