In our project , Due to the report configuration management , You can go through a period of sql Quickly configure a report page . part sql Will be with abp Some system tables of the framework do associated queries , and abp The mapping class of does not have separate table and field names , Class name and property name are used by default , Case sensitive , Cause to write sql You need to put double quotation marks on these tables , Not very convenient . This article is a revision of abp.zero Entity mapping class for , Set upper case values for their table names and fields, respectively .

Because my project also uses Abp.Zero.1.5.1 edition , So download the source code and modify all its entity classes .

Look at a screenshot :

I have adjusted all the related tables and fields here , You can download the adjusted  Abp.Zero.dll (1.5.1)

adopt add-migration Generated tables The format is as follows :

These tables are in abp.dll Supported by , Not modified . Since it is not available at present, no adjustment has been made

Table field :

After the above adjustment , Replace the original Abp.Zero.dll , I'm writing about sql You don't need to add double quotation marks when you're writing .

abp modify abp.zero Entity mapping class for , Make the generated tables and fields capitalized

  1. Hibernate The state value of entity mapping class is automatically converted

    It is often encountered that some fields in the database are just a byte value , But after the data is taken out, it needs to be converted to the real state name . Take a chestnut : A library management system , Books have an attribute stat( Lending status ), You only need to save one in the library 0/1/2/3/4 ...

  2. EF Code First: Entity mapping , Data migration , restructure (1)

    One . Preface after EF Of < Chapter one >, We have basically set up the data access layer , But it's not about physical relationships . Entity relationship is very important for a database system , and EF The connection between the various entities of , Collaboration between entities , Joint query, etc ...

  3. EF Code First: Entity mapping , Data migration , restructure

    after EF Of < Chapter one >, We have basically set up the data access layer , But it's not about physical relationships . Entity relationship is very important for a database system , and EF The connection between the various entities of , Collaboration between entities , Joint queries and so on also depend on this ...

  4. ABP Translation of official documents 3.1 Entity

    Entity Entity class Aggregate root class Field events General interface Audit Soft delete Activate / Inactivated entities Entity change events IEntity Interface Entity is DDD( Domain-driven design ) One of the core concepts of .Eric Evans Describe it as "An o ...

  5. Mybatis Automatically generate entity classes and entity mapping tools

    Mybatis Mysql Generate entity classes Use of Lib package : mybatis-generator-core-1.3.2.jarmysql-connector-java-5.1.30.jar 1. Create a text ...

  6. About AutoMApping Entity mapping

    install AutoMapping package Mapping an order entity to an order DTO Entity .ReverseMap() With this method Customize below Mapping rule   The first is the source object The second is the target https://www.cnbl ...

  7. EntityFramework Entity mapping to database

    EntityFramework Entity mapping to database stay Entity Framework Code First And the mapping between data tables : 1.Fluent API mapping By rewriting DbContext Upper OnM ...

  8. Hibernate Entity mapping of mapping &lt; Reprint &gt;

    There is some kind of mapping relationship between entity class and database ,Hibernate According to this mapping relationship to complete the data access , So the mapping relationship is configured in Hibernate The most important thing is .Hibernate Support xml Configuration files and @ There are two ways to configure annotations .xm ...

  9. Backstage workers HangFire And ABP frame Abp.Hangfire And expansion

    HangFire And Quartz.NET The comparison is mainly HangFire The built-in of provides integrated console , Easy to check and monitor in the background , For all of you , It's more convenient . HangFire What is it? Hangfire It's an open source framework (.NET ...

Random recommendation

  1. C# The multithreading Task Information

    Blog Stephen Toub From MicroSoft Crop. Stephen Cleary Parallelism in .NET   article It's All About the Sync ...

  2. Java Custom exception of exception

    Oh dear , Mama ah , Something's wrong again ! It is said that :" The code abused me a thousand times , I treat code like first love ". Small Alan I've been busy working recently , I haven't written anything to deepen my understanding for a long time , Let's talk to you today Java abnormal .Java different ...

  3. Navigation effects css

    <!doctype html> <html> <head> <meta charset="utf-8" /> <style&g ...

  4. Android Commonly used libraries

    Link to the original text :http://www.jianshu.com/p/19368c2cdcaf System framework 1. Network request Android Async HTTP Android asynchronous HTTP library AndroidAsy ...

  5. Tomcat6 performance optimization

    1. Memory settings       Windows Modify in environment “%TOMCAT_HOME%\bin\catalina.bat” file , Add the following settings at the beginning of the file :set JAVA_OPTS=-Xms256m -Xmx51 ...

  6. WebStorm 8 Registration code

    UserName:William ===== LICENSE BEGIN ===== 45550-12042010 00001SzFN0n1bPII7FnAxnt0DDOPJA INauvJkeVJB ...

  7. ( turn )HTML5 How games make money ?2 Every experience makes you earn 3 Ten thousand knives

    Original author :Alexander Krug, It's the biggest in the world HTML5 Operators of game platforms SOFTGAMES Of CEO. Today's apple App Store The number of applications can be described as massive , The impact of the latest app on the rankings is also ...

  8. Web The front-end development :SQL Jsp Small projects ( Two )------ Add modification

    Along with the page that was sorted out yesterday , Today is the day to achieve list Changes in the page , User update frame The renderings needed : First look at the user query interface , modify id by 4 The user of : After modification, return to the user interface . 1 . First from list The interface starts , ...

  9. Jsp Chinese garbled , solve

    jsp The statement : The time on the server is 2016?2?7? ??10?45?32?. stay jsp in , use jsp Syntax addition utf-8 Character set , Can solve this problem <%@ ...

  10. GCD Download the pictures

    cell.myimage.layer.masksToBounds=YES;     cell.myimage.layer.cornerRadius=cell.myimage.frame.size.wi ...