Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
If you're creating a bug/problem report, please include followings:
public City(Guid id, string ci_city = null)
{
Id = id;
Check.Length(ci_city, nameof(ci_city), CityConsts.ci_cityMaxLength, 0);
ci_city = ci_city; // THIS SHOULD BE this.ci_city=city;
}
** working code
// recommendation: USE "this" to disambiguate between local variables and parameters and member variables that happen to have the same identifier name
public City(Guid id, string ci_city = null)
{
Id = id;
Check.Length(ci_city, nameof(ci_city), CityConsts.ci_cityMaxLength, 0);
this.ci_city = ci_city; // THIS SHOULD BE this.ci_city=city;
}
**** recommendation: USE "this" to disambiguate between local variables and parameters and member variables that happen to have the same identifier name.****