PageRenderTime 45ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/Songhay.Data.GenericWeb/Procedures/List/List.SegmentsInnerXml.cs

http://GenericWeb.codeplex.com
C# | 28 lines | 16 code | 3 blank | 9 comment | 0 complexity | ebdf3918279e58e107dc5a651659bf54 MD5 | raw file
  1. using System.Collections.Generic;
  2. using System.Data.Common;
  3. namespace Songhay.Data.GenericWeb.Procedures
  4. {
  5. using Songhay.Data.GenericWeb.Properties;
  6. /// <summary>
  7. /// List procedures into the DBMS.
  8. /// </summary>
  9. public static partial class List
  10. {
  11. /// <summary>
  12. /// Lists all Segment data in the DBMS catalogue
  13. /// without a root element.
  14. /// </summary>
  15. /// <param name="commonConnection">The Common connection.</param>
  16. /// <returns>Returns an “inner” XML <see cref="System.String"/>.</returns>
  17. public static string SegmentsInnerXml(DbConnection commonConnection)
  18. {
  19. Dictionary<string, object> param = new Dictionary<string, object>(1);
  20. param.Add("@GlobalDateFormat", CommandHandler.GlobalDateFormat);
  21. string s = Common.CommonScalar.GetString(commonConnection, Resources.ListSegmentsInnerXml, param);
  22. return s;
  23. }
  24. }
  25. }