示例#1
0
        internal static int Update(Rel_AppConfig_ComponentConfig info)
        {
            string sql = "update Rel_AppConfig_ComponentConfig set Id=@Id,AppConfigId=@AppConfigId,AppConfigVersion=@AppConfigVersion,SolutionID=@SolutionID,ComponentConfigId=@ComponentConfigId,ComponentConfigVersion=@ComponentConfigVersion where Rel_AppConfig_ComponentConfigId=@Rel_AppConfig_ComponentConfigId";

            return(Update <Rel_AppConfig_ComponentConfig>(con, sql, info));
        }
示例#2
0
        internal static int Add(Rel_AppConfig_ComponentConfig info)
        {
            string sql = "insert into Rel_AppConfig_ComponentConfig(Id,AppConfigId,AppConfigVersion,SolutionID,ComponentConfigId,ComponentConfigVersion) values(@Id,@AppConfigId,@AppConfigVersion,@SolutionID,@ComponentConfigId,@ComponentConfigVersion)";

            return(Insert <Rel_AppConfig_ComponentConfig>(con, sql, info));
        }