Files
clue/Tables/用户/用户角色关系视图.json

53 lines
1.8 KiB
JSON

{
"Name": "用户角色关系视图",
"Columns": [
{
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, 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.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
"DatabaseColumnType": "System.String",
"MaxLength": -1,
"Name": "用户名",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, 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 s.[角色Id] AS [角色Id], s.[用户名] AS [用户名], s.[来自组织] AS [来自组织] FROM [FGC_UMV_RUR] s",
"ViewType": 6
},
"PrimaryKey": [
"角色Id",
"用户名"
],
"Relations": [
{
"PrimaryTable": "角色信息视图",
"PrimaryColumn": "角色Id",
"ForeignTable": "用户角色关系视图",
"ForeignColumn": "角色Id",
"IsDetailTableRelation": false
},
{
"PrimaryTable": "用户信息视图",
"PrimaryColumn": "用户名",
"ForeignTable": "用户角色关系视图",
"ForeignColumn": "用户名",
"IsDetailTableRelation": false
}
],
"Indexes": []
}