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

📄 joinpath.cs

📁 客户关系管理系统ASP.NET+VB.NET编程完整程序!
💻 CS
📖 第 1 页 / 共 4 页
字号:
//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections;
using OrmLib;

namespace ORMBiz
{
	/// <summary>
	/// Offers a way to map join paths from the table you wish to fetch,
	/// to the table whose criteria you wish to constrain.
	/// <seealso cref="DataManager"/>
	/// </summary>
	/// <remarks>
	/// This custom extended enumerator type is only used by the <see cref="DataManager"/>.
	/// </remarks>
	public class JoinPath
	{
		private JoinPath(){}
		
		/// <summary>
		/// Map the constraint through this table.
		/// </summary>
		public static JoinPath._.ColumnRelation Column{ get { return new JoinPath._.ColumnRelation(new ArrayList(), "Column"); } } 
		/// <summary>
		/// Map the constraint through this table.
		/// </summary>
		public static JoinPath._.DatabaseRelation Database{ get { return new JoinPath._.DatabaseRelation(new ArrayList(), "Database"); } } 
		/// <summary>
		/// Map the constraint through this table.
		/// </summary>
		public static JoinPath._.DataTypeRelation DataType{ get { return new JoinPath._.DataTypeRelation(new ArrayList(), "DataType"); } } 
		/// <summary>
		/// Map the constraint through this table.
		/// </summary>
		public static JoinPath._.ParamRelation Param{ get { return new JoinPath._.ParamRelation(new ArrayList(), "Param"); } } 
		/// <summary>
		/// Map the constraint through this table.
		/// </summary>
		public static JoinPath._.ProcedureRelation Procedure{ get { return new JoinPath._.ProcedureRelation(new ArrayList(), "Procedure"); } } 
		/// <summary>
		/// Map the constraint through this table.
		/// </summary>
		public static JoinPath._.RelationRelation Relation{ get { return new JoinPath._.RelationRelation(new ArrayList(), "Relation"); } } 
		/// <summary>
		/// Map the constraint through this table.
		/// </summary>
		public static JoinPath._.RelationColumnRelation RelationColumn{ get { return new JoinPath._.RelationColumnRelation(new ArrayList(), "RelationColumn"); } } 
		/// <summary>
		/// Map the constraint through this table.
		/// </summary>
		public static JoinPath._.TableRelation Table{ get { return new JoinPath._.TableRelation(new ArrayList(), "Table"); } } 

		/// <summary>
		/// Internal class - do not instantiate directly. See <see cref="JoinPath"/>.
		/// </summary>
		public class _
		{
			private _(){}


			/// <summary>
			/// Map the constraint through this relationship.
			/// </summary>
			public class ColumnRelation : DataManagerBase.JoinPathRelation
			{
				/// <summary>
				/// Default Constructor.
				/// </summary>
				/// <remarks>
				/// Do not construct directly
				/// </remarks>
				internal ColumnRelation(ArrayList relationList, string alias) { RelationList = relationList; OrmAlias = alias;}
			
				/// <summary>
				/// When the table is reached that a constarint needs to be placed on, use this property to access 
				/// the column.
				/// </summary>
				public ColumnColumns Columns { get { return new ColumnColumns(RelationList, this.OrmAlias); } } 


				/// <summary>
				/// Map the constraint through this relationship.
				/// </summary>
				public JoinPath._.DataTypeRelation DataType
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("DataType","ID","Column","FKDataTypeID", this.OrmAlias, this.OrmAlias + "_Data4", true));
						return new JoinPath._.DataTypeRelation( RelationList, this.OrmAlias + "_Data4"); 
					}
				}

				
				/// <summary>
				/// Map the constraint through this relationship.
				/// </summary>
				public JoinPath._.TableRelation Table
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("Table","ID","Column","FKTableID", this.OrmAlias, this.OrmAlias + "_Tabl6", true));
						return new JoinPath._.TableRelation( RelationList, this.OrmAlias + "_Tabl6"); 
					}
				}

				

			}
			
			/// <summary>
			/// Map the constraint through this relationship.
			/// </summary>
			public class DatabaseRelation : DataManagerBase.JoinPathRelation
			{
				/// <summary>
				/// Default Constructor.
				/// </summary>
				/// <remarks>
				/// Do not construct directly
				/// </remarks>
				internal DatabaseRelation(ArrayList relationList, string alias) { RelationList = relationList; OrmAlias = alias;}
			
				/// <summary>
				/// When the table is reached that a constarint needs to be placed on, use this property to access 
				/// the column.
				/// </summary>
				public DatabaseColumns Columns { get { return new DatabaseColumns(RelationList, this.OrmAlias); } } 


				/// <summary>
				/// Map the constraint through this relationship.
				/// </summary>
				public JoinPath._.ProcedureRelation Procedure
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("Database","ID","Procedure","FKDatabaseID", this.OrmAlias, this.OrmAlias + "_Proc1", false));
						return new JoinPath._.ProcedureRelation( RelationList, this.OrmAlias + "_Proc1"); 
					}
				}

				
				/// <summary>
				/// Map the constraint through this relationship.
				/// </summary>
				public JoinPath._.TableRelation Table
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("Database","ID","Table","FKDatabaseID", this.OrmAlias, this.OrmAlias + "_Tabl5", false));
						return new JoinPath._.TableRelation( RelationList, this.OrmAlias + "_Tabl5"); 
					}
				}

				

			}
			
			/// <summary>
			/// Map the constraint through this relationship.
			/// </summary>
			public class DataTypeRelation : DataManagerBase.JoinPathRelation
			{
				/// <summary>
				/// Default Constructor.
				/// </summary>
				/// <remarks>
				/// Do not construct directly
				/// </remarks>
				internal DataTypeRelation(ArrayList relationList, string alias) { RelationList = relationList; OrmAlias = alias;}
			
				/// <summary>
				/// When the table is reached that a constarint needs to be placed on, use this property to access 
				/// the column.
				/// </summary>
				public DataTypeColumns Columns { get { return new DataTypeColumns(RelationList, this.OrmAlias); } } 


				/// <summary>
				/// Map the constraint through this relationship.
				/// </summary>
				public JoinPath._.ParamRelation Param
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("DataType","ID","Param","FKDataTypeID", this.OrmAlias, this.OrmAlias + "_Para3", false));
						return new JoinPath._.ParamRelation( RelationList, this.OrmAlias + "_Para3"); 
					}
				}

				
				/// <summary>
				/// Map the constraint through this relationship.
				/// </summary>
				public JoinPath._.ColumnRelation Column
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("DataType","ID","Column","FKDataTypeID", this.OrmAlias, this.OrmAlias + "_Colu4", false));
						return new JoinPath._.ColumnRelation( RelationList, this.OrmAlias + "_Colu4"); 
					}
				}

				

			}
			
			/// <summary>
			/// Map the constraint through this relationship.
			/// </summary>
			public class ParamRelation : DataManagerBase.JoinPathRelation
			{
				/// <summary>
				/// Default Constructor.
				/// </summary>
				/// <remarks>
				/// Do not construct directly
				/// </remarks>
				internal ParamRelation(ArrayList relationList, string alias) { RelationList = relationList; OrmAlias = alias;}
			
				/// <summary>
				/// When the table is reached that a constarint needs to be placed on, use this property to access 
				/// the column.
				/// </summary>
				public ParamColumns Columns { get { return new ParamColumns(RelationList, this.OrmAlias); } } 


				/// <summary>
				/// Map the constraint through this relationship.
				/// </summary>
				public JoinPath._.ProcedureRelation Procedure
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("Procedure","ID","Param","FKProcedureID", this.OrmAlias, this.OrmAlias + "_Proc2", true));
						return new JoinPath._.ProcedureRelation( RelationList, this.OrmAlias + "_Proc2"); 
					}
				}

				
				/// <summary>
				/// Map the constraint through this relationship.
				/// </summary>
				public JoinPath._.DataTypeRelation DataType
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("DataType","ID","Param","FKDataTypeID", this.OrmAlias, this.OrmAlias + "_Data3", true));
						return new JoinPath._.DataTypeRelation( RelationList, this.OrmAlias + "_Data3"); 
					}
				}

				

			}
			
			/// <summary>
			/// Map the constraint through this relationship.
			/// </summary>
			public class ProcedureRelation : DataManagerBase.JoinPathRelation
			{
				/// <summary>
				/// Default Constructor.
				/// </summary>
				/// <remarks>
				/// Do not construct directly
				/// </remarks>
				internal ProcedureRelation(ArrayList relationList, string alias) { RelationList = relationList; OrmAlias = alias;}
			
				/// <summary>
				/// When the table is reached that a constarint needs to be placed on, use this property to access 
				/// the column.
				/// </summary>
				public ProcedureColumns Columns { get { return new ProcedureColumns(RelationList, this.OrmAlias); } } 


				/// <summary>
				/// Map the constraint through this relationship.
				/// </summary>
				public JoinPath._.ParamRelation Param
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("Procedure","ID","Param","FKProcedureID", this.OrmAlias, this.OrmAlias + "_Para2", false));
						return new JoinPath._.ParamRelation( RelationList, this.OrmAlias + "_Para2"); 
					}
				}

				
				/// <summary>
				/// Map the constraint through this relationship.
				/// </summary>
				public JoinPath._.DatabaseRelation Database
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("Database","ID","Procedure","FKDatabaseID", this.OrmAlias, this.OrmAlias + "_Data1", true));
						return new JoinPath._.DatabaseRelation( RelationList, this.OrmAlias + "_Data1"); 
					}
				}

				

			}
			
			/// <summary>
			/// Map the constraint through this relationship.
			/// </summary>
			public class RelationRelation : DataManagerBase.JoinPathRelation
			{
				/// <summary>
				/// Default Constructor.
				/// </summary>
				/// <remarks>
				/// Do not construct directly
				/// </remarks>
				internal RelationRelation(ArrayList relationList, string alias) { RelationList = relationList; OrmAlias = alias;}
			
				/// <summary>
				/// When the table is reached that a constarint needs to be placed on, use this property to access 
				/// the column.
				/// </summary>
				public RelationColumns Columns { get { return new RelationColumns(RelationList, this.OrmAlias); } } 


				/// <summary>
				/// Map the constraint through this relationship.
				/// </summary>
				public JoinPath._.RelationColumnRelation RelationColumn
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("Relation","ID","RelationColumn","FKRelationID", this.OrmAlias, this.OrmAlias + "_Rela9", false));
						return new JoinPath._.RelationColumnRelation( RelationList, this.OrmAlias + "_Rela9"); 
					}
				}

				
				/// <summary>
				/// Map the constraint through this relationship.
				/// </summary>
				public JoinPath._.TableRelation ParentTable
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("Table","ID","Relation","FKParentTableID", this.OrmAlias, this.OrmAlias + "_Pare7", true));
						return new JoinPath._.TableRelation( RelationList, this.OrmAlias + "_Pare7"); 
					}
				}

				
				/// <summary>
				/// Map the constraint through this relationship.
				/// </summary>
				public JoinPath._.TableRelation ChildTable
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("Table","ID","Relation","FKChildTableID", this.OrmAlias, this.OrmAlias + "_Chil8", true));
						return new JoinPath._.TableRelation( RelationList, this.OrmAlias + "_Chil8"); 
					}
				}

				

			}
			
			/// <summary>
			/// Map the constraint through this relationship.
			/// </summary>
			public class RelationColumnRelation : DataManagerBase.JoinPathRelation
			{
				/// <summary>
				/// Default Constructor.
				/// </summary>
				/// <remarks>
				/// Do not construct directly
				/// </remarks>
				internal RelationColumnRelation(ArrayList relationList, string alias) { RelationList = relationList; OrmAlias = alias;}
			
				/// <summary>
				/// When the table is reached that a constarint needs to be placed on, use this property to access 
				/// the column.
				/// </summary>
				public RelationColumnColumns Columns { get { return new RelationColumnColumns(RelationList, this.OrmAlias); } } 


				/// <summary>
				/// Map the constraint through this relationship.
				/// </summary>
				public JoinPath._.RelationRelation Relation
				{
					get
					{
						RelationList.Add(new DataManagerBase.Relation("Relation","ID","RelationColumn","FKRelationID", this.OrmAlias, this.OrmAlias + "_Rela9", true));
						return new JoinPath._.RelationRelation( RelationList, this.OrmAlias + "_Rela9"); 
					}
				}

				

			}
			
			/// <summary>
			/// Map the constraint through this relationship.
			/// </summary>

⌨️ 快捷键说明

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