public bool MakeDBEntityFiles(string folderPath, string yourName, string targetDomain, TableInfoTS tableInfo, MainOptionsTS options)
		{
			bool result = false;

			try
			{
				MakeDBEntityFile(folderPath, yourName, targetDomain, tableInfo);

				result = true;
			}
			catch (Exception ee)
			{
				result = false;
			}

			return result;
		}
Beispiel #2
0
		public bool MakeSPFiles(string folderPath, string yourName, string domain, TableInfoTS tableInfo, MainOptionsTS options)
		{
			bool result = false;

			try
			{
				MakeInsertSPFile(folderPath, yourName, domain, tableInfo, options.CheckDontOverwrite, options.CheckAlter);
				MakeSelectSPFile(folderPath, yourName, domain, tableInfo, options.CheckDontOverwrite, options.CheckAlter);

				result = true;
			}
			catch (Exception ee)
			{
				result = false;
			}

			return result;
		}
Beispiel #3
0
		public string GetSelectSP(string yourName, string domain, TableInfoTS tableInfo, MainOptionsTS options)
		{
			string result = string.Empty;
			string annoText = string.Empty;
			string mainText = string.Empty;
			string spName = string.Empty;

			// SP 명 만듬
			spName = "BoyzBe_" + domain + "_" + new StrConverter().ChangeSnakeToCamel(tableInfo.TableName) + "_Select";

			// SP text 만듬
			// 주석 텍스트
			annoText = MakeSelectAnnotationText(spName, yourName, tableInfo);
			// 메인 텍스트
			mainText = MakeSelectMainText(spName, tableInfo, options.CheckAlter);

			result = annoText + mainText;

			return result;
		}