连接数据库字符串不正确, 返回

Sql论坛 沟通中
1 1346
该叫什么 xkz 发布于2025/4/21
悬赏:0 飞吻
System.Exception: UserEntity 创建失败,请认真检查 1、属性需要get set 2、特殊类型需要加Ignore 具体错误内容: 中文提示 :  连接数据库过程中发生错误,检查服务器是否正常连接字符串是否正确,错误信息:The ConnectionString property has not been initialized.DbType="PostgreSQL";ConfigId="".English Message : Connection open error . The ConnectionString property has not been initialized.DbType="PostgreSQL";ConfigId=""

 "PGsql" :"PORT=5432;DATABASE=CS1;HOST=localhost;PASSWORD=xxxx;USER ID=postgres;" //PGsql

热忱回答1

  • fate sta fate sta VIP0
    2025/4/21
    The ConnectionString property has not been initialized


    这个错是 ,你传ORM的字符串是null, 检查代码

    0 回复