コード例 #1
0
        /// <summary>
        /// Сохранить скрипт в указаном файле
        /// </summary>
        /// <param name="rs"></param>
        /// <param name="namefile"></param>
        public void SaveScript(ResultScript rs, string namefile)
        {
            StringBuilder sb = new StringBuilder();

            sb.Append(rs.ScriptDeclare);
            sb.Append(rs.ScriptOperation);
            SaveScript(sb, namefile);
        }
コード例 #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="owner"></param>
        /// <param name="idStop"></param>
        /// <param name="idrenumbering"></param>
        /// <returns></returns>
        public ResultScript CreateIUScriptInOwner(int owner, int[] idStop, int?idrenumbering)
        {
            ResultScript          rs   = new ResultScript();
            List <ResultIDScript> lrid = rs.ListResultID;

            rs.ScriptDeclare = Declare();
            rs.ScriptOperation.Append(RootScriptOwner(owner, ref lrid, idStop, ref idrenumbering));
            return(rs);
        }
コード例 #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="Parentid"></param>
 /// <param name="idStop"></param>
 /// <param name="idrenumbering"></param>
 public void GetIUScriptInOwner(int owner, int[] idStop, int?idrenumbering)
 {
     this.resultscript.Clear();
     this.resultscript = CreateIUScriptInOwner(owner, idStop, idrenumbering);
 }
コード例 #4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="Parentid"></param>
 /// <param name="idStop"></param>
 /// <param name="idrenumbering"></param>
 public void GetIUScriptInParentID(int?Parentid, int[] idStop, int?idrenumbering)
 {
     this.resultscript.Clear();
     this.resultscript = CreateIUScriptInParentID(Parentid, idStop, idrenumbering);
 }
コード例 #5
0
 public BackupTable()
     : base()
 {
     this.resultscript = new ResultScript();
     DeclareTable();
 }