无类型 CRUD无法同步表结构
#1899
Replies: 1 comment
-
|
仔细对比一下,和文档 json schema 的区别。我抽不出时间帮你检查。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
以下是json:
[ { "Id": "PRODUCTBASE", "Schema": "", "Name": "PRODUCTBASE", "Comment": "", "Type": 0, "Columns": [ { "Name": "PRODUCTBASEID", "CsType": "System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", "DbType": 104, "DbTypeText": "CHAR", "DbTypeTextFull": "CHAR(16 BYTE)", "MaxLength": 16, "IsPrimary": true, "IsIdentity": false, "IsNullable": false, "Coment": "", "Comment": "", "DefaultValue": "", "Position": 5 }, { "Name": "CDOTYPEID", "CsType": "System.UInt32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", "DbType": 107, "DbTypeText": "NUMBER", "DbTypeTextFull": "NUMBER(10)", "MaxLength": 10, "IsPrimary": false, "IsIdentity": false, "IsNullable": true, "Coment": "", "Comment": "", "DefaultValue": "", "Position": 1 }, { "Name": "CHANGECOUNT", "CsType": "System.UInt32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", "DbType": 107, "DbTypeText": "NUMBER", "DbTypeTextFull": "NUMBER(10)", "MaxLength": 10, "IsPrimary": false, "IsIdentity": false, "IsNullable": true, "Coment": "", "Comment": "", "DefaultValue": "", "Position": 2 }, { "Name": "ICONID", "CsType": "System.UInt32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", "DbType": 107, "DbTypeText": "NUMBER", "DbTypeTextFull": "NUMBER(10)", "MaxLength": 10, "IsPrimary": false, "IsIdentity": false, "IsNullable": true, "Coment": "", "Comment": "", "DefaultValue": "", "Position": 3 }, { "Name": "OBJECTCATEGORY", "CsType": "System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", "DbType": 126, "DbTypeText": "VARCHAR2", "DbTypeTextFull": "VARCHAR2(40 BYTE)", "MaxLength": 40, "IsPrimary": false, "IsIdentity": false, "IsNullable": true, "Coment": "", "Comment": "", "DefaultValue": "", "Position": 4 } ], "Identitys": [], "Primarys": [ { "Name": "PRODUCTBASEID", "CsType": "System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", "DbType": 104, "DbTypeText": "CHAR", "DbTypeTextFull": "CHAR(16 BYTE)", "MaxLength": 16, "IsPrimary": true, "IsIdentity": false, "IsNullable": false, "Coment": "", "Comment": "", "DefaultValue": "", "Position": 5 } ], "UniquesDict": { "PRODUCTBASE1": { "Name": null, "Columns": [ { "Column": { "Name": "PRODUCTNAME", "CsType": "System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", "DbType": 126, "DbTypeText": "VARCHAR2", "DbTypeTextFull": "VARCHAR2(100 BYTE)", "MaxLength": 100, "IsPrimary": false, "IsIdentity": false, "IsNullable": true, "Coment": "", "Comment": "", "DefaultValue": "", "Position": 6 }, "IsDesc": false } ], "IsUnique": false } }, "IndexesDict": { "PRODUCTBASE1": { "Name": null, "Columns": [ { "Column": { "Name": "PRODUCTNAME", "CsType": "System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", "DbType": 126, "DbTypeText": "VARCHAR2", "DbTypeTextFull": "VARCHAR2(100 BYTE)", "MaxLength": 100, "IsPrimary": false, "IsIdentity": false, "IsNullable": true, "Coment": "", "Comment": "", "DefaultValue": "", "Position": 6 }, "IsDesc": false } ], "IsUnique": false } }, "ForeignsDict": {}, "Uniques": [ { "Name": null, "Columns": [ { "Column": { "Name": "PRODUCTNAME", "CsType": "System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", "DbType": 126, "DbTypeText": "VARCHAR2", "DbTypeTextFull": "VARCHAR2(100 BYTE)", "MaxLength": 100, "IsPrimary": false, "IsIdentity": false, "IsNullable": true, "Coment": "", "Comment": "", "DefaultValue": "", "Position": 6 }, "IsDesc": false } ], "IsUnique": false } ], "Indexes": [ { "Name": null, "Columns": [ { "Column": { "Name": "PRODUCTNAME", "CsType": "System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", "DbType": 126, "DbTypeText": "VARCHAR2", "DbTypeTextFull": "VARCHAR2(100 BYTE)", "MaxLength": 100, "IsPrimary": false, "IsIdentity": false, "IsNullable": true, "Coment": "", "Comment": "", "DefaultValue": "", "Position": 6 }, "IsDesc": false } ], "IsUnique": false } ], "Foreigns": [] } ]Beta Was this translation helpful? Give feedback.
All reactions