本文整理汇总了C#中ObjectData.GetBoolean方法的典型用法代码示例。如果您正苦于以下问题:C# ObjectData.GetBoolean方法的具体用法?C# ObjectData.GetBoolean怎么用?C# ObjectData.GetBoolean使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ObjectData
的用法示例。
在下文中一共展示了ObjectData.GetBoolean方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: SqlTableColumn
private SqlTableColumn(ObjectData data)
{
ColumnName = data.GetString("ColumnName");
ColumnType = data.GetValue<SqlType>("ColumnType");
IsIdentity = data.GetBoolean("IsIdentity");
IsNotNull = data.GetBoolean("IsNotNull");
DefaultExpression = data.GetValue<SqlExpression>("Default");
}
示例2: ColumnInfo
private ColumnInfo(ObjectData data)
{
ColumnName = data.GetString("ColumnName");
ColumnType = data.GetValue<SqlType>("ColumnType");
IsNotNull = data.GetBoolean("IsNotNull");
DefaultExpression = data.GetValue<SqlExpression>("Default");
IndexType = data.GetString("IndexType");
}
示例3: GrantPrivilegesStatement
private GrantPrivilegesStatement(ObjectData data)
{
ObjectName = data.GetValue<ObjectName>("ObjectName");
Grantee = data.GetString("Grantee");
Privilege = (Privileges) data.GetInt32("Privilege");
Columns = data.GetValue<string[]>("Columns");
WithGrant = data.GetBoolean("WithGrant");
}
示例4: SqlQueryExpression
private SqlQueryExpression(ObjectData data)
{
if (data.HasValue("Columns"))
SelectColumns = data.GetValue<SelectColumn[]>("Columns");
Distinct = data.GetBoolean("Distinct");
FromClause = data.GetValue<FromClause>("From");
WhereExpression = data.GetValue<SqlExpression>("Where");
HavingExpression = data.GetValue<SqlExpression>("Having");
GroupBy = data.GetValue<SqlExpression[]>("GroupBy");
GroupMax = data.GetValue<ObjectName>("GroupMax");
NextComposite = data.GetValue<SqlQueryExpression>("NextComposite");
if (data.HasValue("CompositeFunction"))
CompositeFunction = (CompositeFunction) data.GetInt32("CompositeFunction");
IsCompositeAll = data.GetBoolean("CompositeAll");
}
示例5: Prepared
private Prepared(ObjectData data)
{
TableInfo = data.GetValue<TableInfo>("TableInfo");
Temporary = data.GetBoolean("Temporary");
IfNotExists = data.GetBoolean("IfNotExists");
}
示例6: SqlStatement
protected SqlStatement(ObjectData data)
{
SourceQuery = data.GetValue<SqlQuery>("SourceQuery");
IsFromQuery = data.GetBoolean("IsFromQuery");
}
示例7: Prepared
private Prepared(ObjectData data)
{
ViewName = data.GetValue<ObjectName>("ViewName");
IfExists = data.GetBoolean("IfExists");
}
示例8: Prepared
private Prepared(ObjectData data)
{
ViewName = data.GetValue<ObjectName>("Name");
QueryPlan = data.GetValue<IQueryPlanNode>("QueryPlan");
ReplaceIfExists = data.GetBoolean("ReplaceIfExists");
QueryExpression = data.GetValue<SqlQueryExpression>("QueryExpression");
}
示例9: Prepared
private Prepared(ObjectData data)
{
Grantee = data.GetString("Grantee");
Privileges = (Privileges) data.GetInt32("Privileges");
ObjectName = data.GetValue<ObjectName>("ObjectName");
GrantOption = data.GetBoolean("GrantOption");
}
示例10: Prepared
private Prepared(ObjectData data)
{
TypeName = data.GetValue<ObjectName>("TypeName");
Members = data.GetValue<UserTypeMember[]>("Members");
ReplaceIfExists = data.GetBoolean("Replace");
}
示例11: Prepared
private Prepared(ObjectData data)
{
IsForTable = data.GetBoolean("IsForTable");
QueryPlan = data.GetValue<IQueryPlanNode>("QueryPlan");
Table = data.GetValue<ObjectName>("Table");
VariableName = data.GetString("VariableName");
}