Bold - abstact, extern or partial.... Error
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Abp.Domain.Entities; using Abp.Domain.Entities.Auditing;
namespace PeterNet.SpoManage.ArticleUnit { [Table("PbArticleUnit")] public class ArticleUnit : FullAuditedEntity<long>, IMayHaveTenant { public const int CodeUnitLength = 5; public const int MaxCodeLength = 95; public const int MaxDisplayNameLength = 128;
public**ArticleUnit**();
public**ArticleUnit**(int? tenantId, string displayName, long? parentId = default(long?));
//
// 요약:
// Children of this OU.
public virtual ICollection<ArticleUnit> Children { get; set; }
[Required]
[StringLength(95)]
public virtual string Code { get; set; }
[Required]
[StringLength(128)]
public virtual string DisplayName { get; set; }
[ForeignKey("ParentId")]
public virtual ArticleUnit Parent { get; set; }
public virtual long? ParentId { get; set; }
public virtual int? TenantId { get; set; }
**public static string AppendCode(string parentCode, string childCode);
public static string CalculateNextCode(string code);
public static string CreateCode(params int[] numbers);
public static string GetLastUnitCode(string code);
public static string GetParentCode(string code);
public static string GetRelativeCode(string code, string parentCode);**
}
}
Hi.
I sample the organization (tree) code,
I want to create a (Category - Products) page.
So I did the following.
But it was blocked from the first.
CategoryMaster, CategoryUnit "You must declare the body, because it is not marked extern or partial."
The message was confirmed.
Which other file should be declared?
It's perfect.
Thank you.
okay.
I have sent an email to info account.
I hope my mistake is found.
please.
And thank you.
I found a funny situation.
Run Phonebook project downloaded from Github.
Check Phonebook page is normal
Exiting the PhoneBook project
Run my project
Phonebook page .... working .... LOL
But if you refresh Shift + f5 many times ....
Not working ... LOL * 9999999
What's the problem?
My Com's Problem?
Note that...
Visual studio 2015 .net 4.6.1 Typescript installs linked to document
I am downloading my project and doing my best.
I followed the phonebook step by step. - for a week :(
However, I was in trouble.
The phonebook sample works fine.
However, the projects that I have progressed step by step appear as shown in the figure.
I can not find the answer even if I look at every single problem.
Note that the database (PbPerson and phone) is normal
I am the user I purchased today.
I started the installation by referring to the documentation.
Activate the project after downloading ASP.NET MVC 5.x & Angularjs 1.x
Right click the .Web project and select "Set as StartUp project"
Build Error
-> declare var event: Event; Event identifier duplicate error (lib.d.ts)
-> interface IAbpSession {
Readonly userId ?: number;
Readonly tenantId ?: number;
Readonly impersonatorUserId ?: number;
Readonly impersonatorTenantId ?: number;
ReadOnly multiTenancySide: multiTenancy.sides;
}
Error signing required (requires TS1131 TypeScript attribute or signature)
This partial error prevents the database installation from proceeding.
First use mvc 5 model.
We want to develop into a great solution. Detailed map