public void Insert(SCToDoJob job)
		{
			job.NullCheck("job");

			string sql = ORMapping.GetInsertSql(job, TSqlBuilder.Instance);

			DbHelper.RunSql(sql, this.GetConnectionName());
		}
        /// <summary>
        /// 构造一个生成FullPath的作业
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public static SCToDoJob CreateGenerateFullPathsJob(SchemaObjectBase obj)
        {
            obj.NullCheck("obj");

            SCToDoJob job = new SCToDoJob();

            job.Type = "GenerateFullPaths";

            if (obj != null)
            {
                job.SourceID    = obj.ID;
                job.Description = string.Format("Generate full paths from '{0}'", obj.ID);
                job.Data        = obj.ToString();
            }

            return(job);
        }
		/// <summary>
		/// 构造一个生成FullPath的作业
		/// </summary>
		/// <param name="obj"></param>
		/// <returns></returns>
		public static SCToDoJob CreateGenerateFullPathsJob(SchemaObjectBase obj)
		{
			obj.NullCheck("obj");

			SCToDoJob job = new SCToDoJob();

			job.Type = "GenerateFullPaths";

			if (obj != null)
			{
				job.SourceID = obj.ID;
				job.Description = string.Format("Generate full paths from '{0}'", obj.ID);
				job.Data = obj.ToString();
			}

			return job;
		}