using System; using TierGenerator.DalFactory; using TierGenerator.Model.DataBase; using TierGenerator.BusinessLogic.Util; namespace TierGenerator.BusinessLogic.DataBase { public class TableInfoService : BaseService { private static readonly string dalName = "DataBase.TableInfoServiceDal"; public TableInfoService() { } public TableInfoService(Session session) : base(session) { } public TableInfoModel GetTableViewInfoById(int id) { using (Session session = OpenSession()) { object[] prm = new object[2]; prm[0] = session.Current; prm[1] = id; return (TableInfoModel) DalManager.ExecuteMethod(dalName, "GetTableViewInfoById", ref prm); } } } }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)