本文整理汇总了C#中TableRef类的典型用法代码示例。如果您正苦于以下问题:C# TableRef类的具体用法?C# TableRef怎么用?C# TableRef使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
TableRef类属于命名空间,在下文中一共展示了TableRef类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: OutputStream
public OutputStream(TableRef tbl, ISchemaProvider provider)
{
if (tbl == null) throw new ArgumentNullException("tbl");
if (provider == null) throw new ArgumentNullException("provider");
this._provider = provider;
this._tbl = tbl;
}
示例2: CreateTable
public void CreateTable(TableRef tblName, bool idAsIdentityColumn)
{
Log.DebugFormat("CreateTable [{0}] {1} and a primary key",
tblName,
idAsIdentityColumn ? "with identity" : "without identity");
_provider.CreateTable(tblName, idAsIdentityColumn);
}
示例3: AlterColumn
public void AlterColumn(TableRef tblName, string colName, DbType type, int size, int scale, bool isNullable, params DatabaseConstraint[] constraints)
{
_provider.AlterColumn(tblName, colName, type, size, scale, isNullable, constraints);
}
示例4: WriteTableData
public void WriteTableData(TableRef destTbl, IDataReader source, IEnumerable<string> colNames)
{
_provider.WriteTableData(destTbl, source, colNames);
}
示例5: RepairPositionColumn
public bool RepairPositionColumn(TableRef tblName, string positionColumnName)
{
return _provider.RepairPositionColumn(tblName, positionColumnName);
}
示例6: RenameFKConstraint
public void RenameFKConstraint(TableRef tblName, string oldConstraintName, TableRef refTblName, string colName, string newConstraintName, bool onDeleteCascade)
{
_provider.RenameFKConstraint(tblName, oldConstraintName, refTblName, colName, newConstraintName, onDeleteCascade);
}
示例7: ReadTableData
public IDataReader ReadTableData(TableRef tblName, IEnumerable<string> colNames)
{
return _provider.ReadTableData(tblName, colNames);
}
示例8: MigrateFKs
public void MigrateFKs(TableRef srcTblName, string srcColName, TableRef tblName, string colName)
{
_provider.MigrateFKs(srcTblName, srcColName, tblName, colName);
}
示例9: DropTable
public void DropTable(TableRef tblName)
{
Log.DebugFormat("Dropping table [{0}]", tblName);
_provider.DropTable(tblName);
}
示例10: DropIndex
public void DropIndex(TableRef tblName, string idxName)
{
_provider.DropIndex(tblName, idxName);
}
示例11: DropFKConstraint
public void DropFKConstraint(TableRef tblName, string constraintName)
{
Log.DebugFormat("Dropping foreign key constraint [{0}].[{1}]", tblName, constraintName);
_provider.DropFKConstraint(tblName, constraintName);
}
示例12: DropColumn
public void DropColumn(TableRef tblName, string colName)
{
Log.DebugFormat("Dropping column [{0}].[{1}]", tblName, colName);
_provider.DropColumn(tblName, colName);
}
示例13: DblinkConnect
public void DblinkConnect(TableRef tblName)
{
_provider.DblinkConnect(tblName);
}
示例14: CreateUpdateRightsTrigger
public void CreateUpdateRightsTrigger(string triggerName, TableRef tblName, List<RightsTrigger> tblList, List<string> dependingCols)
{
_provider.CreateUpdateRightsTrigger(triggerName, tblName, tblList, dependingCols);
}
示例15: GetViewDefinition
public string GetViewDefinition(TableRef view)
{
return _provider.GetViewDefinition(view);
}