Git Product home page Git Product logo

Comments (5)

Ahoo-Wang avatar Ahoo-Wang commented on July 28, 2024

新增 Insert / Update / Select / Delete 强语义化标签

from smartsql.

XiaoHeitu avatar XiaoHeitu commented on July 28, 2024

能否增加像 EF 的 CodeFirst 一样的管理数据库的方式。根据Model智能生成或更新数据库结构。

from smartsql.

Ahoo-Wang avatar Ahoo-Wang commented on July 28, 2024

@ywj6792341 SmartSql 的设计宗旨并不是 CodeFirst ,而是希望开发人员更多的了解Sql,对Sql拥有绝对的控制权,以获得灵活性与性能。所以该建议不能采纳,不过还是感谢你的参与,让SmartSql可以变得更好。

from smartsql.

ElderJames avatar ElderJames commented on July 28, 2024

类似ibatis的TypeHandlder实现,用来对特定类型的字段进行读写前后的转换。如json、xml。
建议自带几个常用的序列化器,再提供接口给使用者自己实现,并通过key来注册到smartsql中。而模板中使用字段上的属性type=“key”来标识,如赋值 Images= [@images,Type="json"],读取SELECT [Images,Type="json"] FROM... 可以把这个特性的名称改成vue、angular里的“指令”。

from smartsql.

ElderJames avatar ElderJames commented on July 28, 2024

增加对包含o私有无参构造方法或公有有参构造方法支持和私有setter属性的实体的反序列化支持。实体示例如下:

public class Sample
{
    public string Name {get;private set;}

    private Sample(){}

    public Sample(string name)
    {
        Name=name;
    }
}

from smartsql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.