示例#1
0
        /// <summary>
        /// 转换成业务逻辑层的对象
        /// </summary>
        /// <param name="projectsn">集团内项目信息(模型层)</param>
        /// <returns>(业务逻辑层)对象</returns>
        IProjectsTeamB ConvertToProjectsTeam_B(ProjectsTeamM projectsteamm)
        {
            IProjectsTeamB result = null;

            if (projectsteamm != null)
            {
                result = new ProjectsTeamB(projectsteamm, this._connectionb);
            }
            return(result);
        }
示例#2
0
 /// <summary>
 /// 实例化对象
 /// </summary>
 /// <param name="strNameSpace">命名空间</param>
 /// <param name="strInstance">实例名</param>
 void InstanceObject(string strNameSpace, string strInstance)
 {
     this._projectsteamb = PublicMethods.Methods.InstanceObject(strNameSpace, strInstance, new object[] { this._connectionfactory.ConnectionB }) as IProjectsTeamB;
 }