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()} {'}'} {'}'} "); }
public Bus(string nameTable, SqlConnection connection, Setting setting) : base(nameTable, connection, setting) { cDto = Setting.GetClassDto(NameTable); cDal = Setting.GetClassDal(NameTable); }
public override string GetNameClass() { return(Setting.GetClassDal(NameTable)); }