Article From:https://www.cnblogs.com/XYYCKL/p/9967377.html

In Service, this. BaseRepository“ThreeYearFighting”).Insert(entity);

The yellow part must fill in the database corresponding to the form name. Otherwise, the default database on the server may be BaseDB and so on.

Leave a Reply

Your email address will not be published. Required fields are marked *