/Songhay.Data.GenericWeb/Procedures/List/List.SegmentsInnerXml.cs
C# | 28 lines | 16 code | 3 blank | 9 comment | 0 complexity | ebdf3918279e58e107dc5a651659bf54 MD5 | raw file
- using System.Collections.Generic;
- using System.Data.Common;
-
- namespace Songhay.Data.GenericWeb.Procedures
- {
- using Songhay.Data.GenericWeb.Properties;
-
- /// <summary>
- /// List procedures into the DBMS.
- /// </summary>
- public static partial class List
- {
- /// <summary>
- /// Lists all Segment data in the DBMS catalogue
- /// without a root element.
- /// </summary>
- /// <param name="commonConnection">The Common connection.</param>
- /// <returns>Returns an “inner” XML <see cref="System.String"/>.</returns>
- public static string SegmentsInnerXml(DbConnection commonConnection)
- {
- Dictionary<string, object> param = new Dictionary<string, object>(1);
- param.Add("@GlobalDateFormat", CommandHandler.GlobalDateFormat);
- string s = Common.CommonScalar.GetString(commonConnection, Resources.ListSegmentsInnerXml, param);
-
- return s;
- }
- }
- }