Skip to Content
0

Place the Namespaces in the Use area

Dec 07, 2017 at 04:34 PM

21

avatar image
Former Member

How to place namespaces in generated code at the top in "use" area, but not before the type name?

Now

using System;

namespace Models
{
   public class BookLoader : Interfaces.ILoader
   {
      public Interfaces.IBook Load(int bookId)
      {
         throw new NotImplementedException();
      }
   }
}

Need to

using System;
using Interfaces;

namespace Models
{
   public class BookLoader : ILoader
   {
      public IBook Load(int bookId)
      {
         throw new NotImplementedException();
      }
   }
}
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

George McGeachie Dec 07, 2017 at 10:52 PM
0

Please provide more context - what are you generating, and what from? Is this really a PowerBuilder question, not PowerDesigner?

Share
10 |10000 characters needed characters left characters exceeded