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

📄 joinpath.cs

📁 客户关系管理系统ASP.NET+VB.NET编程完整程序!
💻 CS
📖 第 1 页 / 共 4 页
字号:
			public class TableRelation : DataManagerBase.JoinPathRelation
			{
				/// <summary>
				/// Default Constructor.
				/// </summary>
				/// <remarks>
				/// Do not construct directly
				/// </remarks>
				internal TableRelation(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 TableColumns Columns { get { return new TableColumns(RelationList, this.OrmAlias); } } 


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

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

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

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

				

			}
			
		

				/// <summary>
				/// Internal class - do not instantiate directly. See <see cref="JoinPath"/>.
				/// </summary>
				public class ColumnColumns : DataManagerBase.JoinPathRelation
				{
					/// <summary>
					/// Default Constructor.
					/// </summary>
					/// <remarks>
					/// Do not construct directly
					/// </remarks>
					internal ColumnColumns(ArrayList relationList, string alias) { RelationList = relationList; OrmAlias = alias; }


					/// <summary>
					/// Apply constraint to the ID
					/// </summary>
					/// <value>
					/// A relationship chain to constrain the criteria with
					/// </value>
					public DataManagerBase.JoinPathRelation ID
					{
						get
						{							
							RelationList.Add(new DataManagerBase.Relation("Column","ID","","", this.OrmAlias, this.OrmAlias));
							return this;
						}
					}

					/// <summary>
					/// Apply constraint to the FKTableID
					/// </summary>
					/// <value>
					/// A relationship chain to constrain the criteria with
					/// </value>
					public DataManagerBase.JoinPathRelation FKTableID
					{
						get
						{							
							RelationList.Add(new DataManagerBase.Relation("Column","FKTableID","","", this.OrmAlias, this.OrmAlias));
							return this;
						}
					}

					/// <summary>
					/// Apply constraint to the Name
					/// </summary>
					/// <value>
					/// A relationship chain to constrain the criteria with
					/// </value>
					public DataManagerBase.JoinPathRelation Name
					{
						get
						{							
							RelationList.Add(new DataManagerBase.Relation("Column","Name","","", this.OrmAlias, this.OrmAlias));
							return this;
						}
					}

					/// <summary>
					/// Apply constraint to the FKDataTypeID
					/// </summary>
					/// <value>
					/// A relationship chain to constrain the criteria with
					/// </value>
					public DataManagerBase.JoinPathRelation FKDataTypeID
					{
						get
						{							
							RelationList.Add(new DataManagerBase.Relation("Column","FKDataTypeID","","", this.OrmAlias, this.OrmAlias));
							return this;
						}
					}

					/// <summary>
					/// Apply constraint to the Length
					/// </summary>
					/// <value>
					/// A relationship chain to constrain the criteria with
					/// </value>
					public DataManagerBase.JoinPathRelation Length
					{
						get
						{							
							RelationList.Add(new DataManagerBase.Relation("Column","Length","","", this.OrmAlias, this.OrmAlias));
							return this;
						}
					}

					/// <summary>
					/// Apply constraint to the PrimaryKey
					/// </summary>
					/// <value>
					/// A relationship chain to constrain the criteria with
					/// </value>
					public DataManagerBase.JoinPathRelation PrimaryKey
					{
						get
						{							
							RelationList.Add(new DataManagerBase.Relation("Column","PrimaryKey","","", this.OrmAlias, this.OrmAlias));
							return this;
						}
					}

					/// <summary>
					/// Apply constraint to the SetAccessor
					/// </summary>
					/// <value>
					/// A relationship chain to constrain the criteria with
					/// </value>
					public DataManagerBase.JoinPathRelation SetAccessor
					{
						get
						{							
							RelationList.Add(new DataManagerBase.Relation("Column","SetAccessor","","", this.OrmAlias, this.OrmAlias));
							return this;
						}
					}

					/// <summary>
					/// Apply constraint to the GetAccessor
					/// </summary>
					/// <value>
					/// A relationship chain to constrain the criteria with
					/// </value>
					public DataManagerBase.JoinPathRelation GetAccessor
					{
						get
						{							
							RelationList.Add(new DataManagerBase.Relation("Column","GetAccessor","","", this.OrmAlias, this.OrmAlias));
							return this;
						}
					}

					/// <summary>
					/// Apply constraint to the RequiredForInstantiation
					/// </summary>
					/// <value>
					/// A relationship chain to constrain the criteria with
					/// </value>
					public DataManagerBase.JoinPathRelation RequiredForInstantiation
					{
						get
						{							
							RelationList.Add(new DataManagerBase.Relation("Column","RequiredForInstantiation","","", this.OrmAlias, this.OrmAlias));
							return this;
						}
					}

					/// <summary>
					/// Apply constraint to the AccessorName
					/// </summary>
					/// <value>
					/// A relationship chain to constrain the criteria with
					/// </value>
					public DataManagerBase.JoinPathRelation AccessorName
					{
						get
						{							
							RelationList.Add(new DataManagerBase.Relation("Column","AccessorName","","", this.OrmAlias, this.OrmAlias));
							return this;
						}
					}

					/// <summary>
					/// Apply constraint to the Nullable
					/// </summary>
					/// <value>
					/// A relationship chain to constrain the criteria with
					/// </value>
					public DataManagerBase.JoinPathRelation Nullable
					{
						get
						{							
							RelationList.Add(new DataManagerBase.Relation("Column","Nullable","","", this.OrmAlias, this.OrmAlias));
							return this;
						}
					}

					/// <summary>
					/// Apply constraint to the IsIdentity
					/// </summary>
					/// <value>
					/// A relationship chain to constrain the criteria with
					/// </value>
					public DataManagerBase.JoinPathRelation IsIdentity
					{
						get
						{							
							RelationList.Add(new DataManagerBase.Relation("Column","IsIdentity","","", this.OrmAlias, this.OrmAlias));
							return this;
						}
					}

					/// <summary>
					/// Apply constraint to the IsReadOnly
					/// </summary>
					/// <value>
					/// A relationship chain to constrain the criteria with
					/// </value>
					public DataManagerBase.JoinPathRelation IsReadOnly
					{
						get
						{							
							RelationList.Add(new DataManagerBase.Relation("Column","IsReadOnly","","", this.OrmAlias, this.OrmAlias));
							return this;
						}
					}

					/// <summary>
					/// Apply constraint to the DeclaredType
					/// </summary>
					/// <value>
					/// A relationship chain to constrain the criteria with
					/// </value>
					public DataManagerBase.JoinPathRelation DeclaredType
					{
						get
						{							
							RelationList.Add(new DataManagerBase.Relation("Column","DeclaredType","","", this.OrmAlias, this.OrmAlias));
							return this;
						}
					}

					/// <summary>
					/// Apply constraint to the Precision
					/// </summary>
					/// <value>
					/// A relationship chain to constrain the criteria with
					/// </value>
					public DataManagerBase.JoinPathRelation Precision
					{
						get
						{							
							RelationList.Add(new DataManagerBase.Relation("Column","Precision","","", this.OrmAlias, this.OrmAlias));
							return this;
						}
					}


				}

				/// <summary>
				/// Internal class - do not instantiate directly. See <see cref="JoinPath"/>.
				/// </summary>
				public class DatabaseColumns : DataManagerBase.JoinPathRelation
				{
					/// <summary>
					/// Default Constructor.
					/// </summary>
					/// <remarks>
					/// Do not construct directly
					/// </remarks>
					internal DatabaseColumns(ArrayList relationList, string alias) { RelationList = relationList; OrmAlias = alias; }


					/// <summary>
					/// Apply constraint to the ID
					/// </summary>
					/// <value>
					/// A relationship chain to constrain the criteria with
					/// </value>
					public DataManagerBase.JoinPathRelation ID
					{
						get
						{							
							RelationList.Add(new DataManagerBase.Relation("Database","ID","","", this.OrmAlias, this.OrmAlias));
							return this;
						}
					}

					/// <summary>
					/// Apply constraint to the DatabaseName
					/// </summary>
					/// <value>
					/// A relationship chain to constrain the criteria with
					/// </value>
					public DataManagerBase.JoinPathRelation DatabaseName
					{
						get
						{							
							RelationList.Add(new DataManagerBase.Relation("Database","DatabaseName","","", this.OrmAlias, this.OrmAlias));
							return this;
						}
					}

					/// <summary>
					/// Apply constraint to the DatabaseToken
					/// </summary>
					/// <value>
					/// A relationship chain to constrain the criteria with
					/// </value>
					public DataManagerBase.JoinPathRelation DatabaseToken
					{
						get
						{							
							RelationList.Add(new DataManagerBase.Relation("Database","DatabaseToken","","", this.OrmAlias, this.OrmAlias));
							return this;
						}
					}


				}

				/// <summary>
				/// Internal class - do not instantiate directly. See <see cref="JoinPath"/>.
				/// </summary>
				public class DataTypeColumns : DataManagerBase.JoinPathRelation
				{
					/// <summary>
					/// Default Constructor.
					/// </summary>
					/// <remarks>
					/// Do not construct directly
					/// </remarks>
					internal DataTypeColumns(ArrayList relationList, string alias) { RelationList = relationList; OrmAlias = alias; }


					/// <summary>
					/// Apply constraint to the ID
					/// </summary>
					/// <value>
					/// A relationship chain to constrain the criteria with
					/// </value>
					public DataManagerBase.JoinPathRelation ID
					{
						get
						{							
							RelationList.Add(new DataManagerBase.Relation("DataType","ID","","", this.OrmAlias, this.OrmAlias));
							return this;
						}
					}

					/// <summary>
					/// Apply constraint to the SqlType
					/// </summary>
					/// <value>
					/// A relationship chain to constrain the criteria with
					/// </value>

⌨️ 快捷键说明

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