{ "Name": "用户角色关系视图", "Columns": [ { "$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon", "DatabaseColumnType": "System.Int64", "MaxLength": -1, "Name": "角色Id", "ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" }, { "$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon", "DatabaseColumnType": "System.String", "MaxLength": -1, "Name": "用户名", "ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" }, { "$type": "Forguncy.Model.Tables.BindingColumn, ServerDesignerCommon", "DatabaseColumnType": "System.Int64", "MaxLength": -1, "Name": "来自组织", "ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" } ], "BuiltInViewInfo": { "ViewName": "用户角色关系视图", "SourceTableName": "FGC_UMV_RUR", "CreateViewSql": "SELECT [角色Id] AS [角色Id], [用户名] AS [用户名], [来自组织] AS [来自组织] FROM [FGC_UMV_RUR]", "ViewType": 6 }, "PrimaryKey": [ "角色Id", "用户名" ], "Indexes": [], "Relations": [ { "PrimarySchema": null, "PrimaryTable": "角色信息视图", "PrimaryColumn": "角色Id", "ForeignSchema": null, "ForeignTable": "用户角色关系视图", "ForeignColumn": "角色Id", "RelationTypeOnDelete": 0, "RelationTypeOnUpdate": 0, "IsDetailTableRelation": false }, { "PrimarySchema": null, "PrimaryTable": "用户信息视图", "PrimaryColumn": "用户名", "ForeignSchema": null, "ForeignTable": "用户角色关系视图", "ForeignColumn": "用户名", "RelationTypeOnDelete": 0, "RelationTypeOnUpdate": 0, "IsDetailTableRelation": false } ] }