Base solution for your next web application
Open Closed

Power Tools not create filter properties such as FilterText #9739


User avatar
0
TOGIT created

Related version : ASP.NET CORE MVC & jQuery 9.2.1

When I use power tools 2.7.1 while creating a new entity, the following error appears:

'ProductVariantViewModel' does not contain a definition for 'FilterText' OHB2B.Web.Mvc D:\OH\ohb2b-test\src\OHB2B.Web.Mvc\Areas\App\Controllers\ProductVariantController.cs

public class ProductVariantViewModel : GetProductVariantForViewDto
{

}

After manual correction:

public class ProductVariantViewModel : GetProductVariantForViewDto
{
        public string FilterText { get; internal set; }
}

1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @TOGIT

    Could you share the entity you have createad ? I just tried this scenario today and it worked for me but maybe I have missed a point.

    Thanks,