Esempio n. 1
0
        public override string GetCode()
        {
            return($@"
using System;
using System.Collections.Generic;
using {Setting.GetNamespaceDto(NameTable)};
using {Setting.Format_Basic.Namespace_Entity};

namespace {Setting.GetNamespaceDal(NameTable)}
{'{'}
    public class {Setting.GetClassDal(NameTable)}
    {'{'}
        {Get_GetAll()}
        {Get_GetBy()}
        {Get_Insert()}
        {Get_Delete()}
        {Get_Update()}
    {'}'}
{'}'}
");
        }
Esempio n. 2
0
 public Bus(string nameTable, SqlConnection connection, Setting setting) : base(nameTable, connection, setting)
 {
     cDto = Setting.GetClassDto(NameTable);
     cDal = Setting.GetClassDal(NameTable);
 }
Esempio n. 3
0
 public override string GetNameClass()
 {
     return(Setting.GetClassDal(NameTable));
 }