Base solution for your next web application

Activities of "faisalalam"

Generating class by rad tools , it show a error message like this : cannot implicity convert int? to string

My scenario is like this: if (output.myClassName.foreignClassId != null) { var foreignClass = await _foreignClassRepository.FirstOrDefaultAsync((int)output.MyClassName.ForeignClassId); output.ForeignClassTenantId = foreignClass.TenantId; }

another problem I faced when serviceproxy is created at that time nswag=>refresh.bat is refresh more than 5 times otherwise the error cannot be resolve in service-proxy.module.ts class I want to generate service-proxy by one clicked of refresh.bat.

<span style="color:#FF0000">using Test.LookUp.Country;</span>

using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Abp.Domain.Entities.Auditing; using Abp.Domain.Entities;

namespace Test.LookUp.State { [Table("States")] public class State : Entity , IMayHaveTenant { public int? TenantId { get; set; }

	[Required]
	[StringLength(StateConsts.MaxNameLength, MinimumLength = StateConsts.MinNameLength)]
	public virtual string Name { get; set; }
	
	[StringLength(StateConsts.MaxCodeNameLength, MinimumLength = StateConsts.MinCodeNameLength)]
	public virtual string CodeName { get; set; }
	

	public virtual int? CountryId { get; set; }
	&lt;span style=&quot;color:#FF0000&quot;&gt;public Country Country { get; set; }&lt;/span&gt;
	
}

}

[https://pbs.twimg.com/media/DYPTMOBU8AACXHS.png])

we created 2 classes - basic classes country and state. Please see the errors. Your support system does allow upload document or image. I have to upload twitter and share link.

[https://pbs.twimg.com/media/DYPTMOBVAAAB-iC.jpg])

[https://pbs.twimg.com/media/DYPVCK9VAAA8f2N.jpg])

[url]https://pbs.twimg.com/media/DYPTMOBU8AACXHS.png

Yap I will share.

<a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/AspNetZeroRadTool/FileTemplates/Server/EntityClass/PartialTemplates.txt">https://github.com/aspnetzero/aspnet-ze ... plates.txt</a>

"navigationPropertyTemplates":[ { "placeholder" : "{{Navigation_Property_Looped_Template_Here}}", "templates" : [ { "relation" : "single", "content" : " public virtual {{NP_Id_Type_Here}}{{NP_Nullable_Here}} {{NP_Name_Here}} { get; set; } <span style="color:#FF0000">public {{NP_Foreign_Entity_Name_Here}} {{NP_Object_Name_Here}} { get; set; }</span> " } ] },

We created a namespace "LookupData" and added two class LookupDataCategory.cs

Name LookupData.Cs Name FK.LookupDataCategoryID Under the same namespace lookup data, it does not work and can't recognize LookupData namespace or navigation property link seems bad.

{{Enum_Using_Looped_Template_Here}}

{{NP_Using_Looped_Template_Here}} using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Abp.Domain.Entities.Auditing; using Abp.Domain.Entities;

namespace {{Namespace_Here}}.{{Namespace_Relative_Full_Here}} { [Table("{{Table_Name_Here}}")] public class {{Entity_Name_Here}} : {{Base_Class_Here}}{{Primary_Key_Inside_Tag_Here}} {{May_Or_Must_Tenant_Here}} { {{Tenant_Id_Here}}

{{Property_Looped_Template_Here}} {{Navigation_Property_Looped_Template_Here}} } } Please review

Thnaks

Question

Guys,

Its been three weeks, waiting for the updated version of RAD tool. Alfer wrote its done. Just checked <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/tree/dev/aspnet-core">https://github.com/aspnetzero/aspnet-ze ... spnet-core</a> and last update on RAD tool was 20 days again.

Can I download the updated version today?

Showing 31 to 40 of 60 entries