Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "peterlee"

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&lt;ArticleUnit&gt; 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.

  1. Create Core - CategoryMaster.cs, CategoryUnit.cs file
  2. Aplication - CategoryUnitAppservies, ICategoryUnitAppservies And DTO
  3. Web - view files ...
  4. DBcontext Added. And Migration

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.

  1. Run Phonebook project downloaded from Github.

  2. Check Phonebook page is normal

  3. Exiting the PhoneBook project

  4. Run my project

  5. Phonebook page .... working .... LOL

  6. 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

It works fine in the sample project.

I am the user I purchased today.

I started the installation by referring to the documentation.

  1. Activate the project after downloading ASP.NET MVC 5.x & Angularjs 1.x

  2. Right click the .Web project and select "Set as StartUp project"

  3. 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

Showing 21 to 27 of 27 entries