diff SSRS/SSRS.Services.DTO/ReportInfo.cs @ 113:954f66bb8dbf

Portable library added for DTO
author adminsh@apollo
date Sat, 19 May 2012 16:21:07 +0100
parents
children 4de4e7829319
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SSRS/SSRS.Services.DTO/ReportInfo.cs	Sat May 19 16:21:07 2012 +0100
@@ -0,0 +1,23 @@
+using System.Collections.Generic;
+
+namespace SSRS.Services.DTO
+{
+    public class ReportInfo
+    {
+        public string Name { get; set; }
+        public IList<Parameter> Parameters { get; set; }
+        public string Path { get; set; }
+
+        public ReportInfo() { }
+
+        public static ReportInfo Create(string name, IList<Parameter> parameters, string path)
+        {
+            return new ReportInfo()
+                {
+                    Name = name, 
+                    Parameters = parameters, 
+                    Path = path
+                };
+        }
+    }
+}