Mercurial > silverbladetech
annotate SSRS/SSRS.Services.DTOs/ReportInfo.cs @ 113:954f66bb8dbf
Portable library added for DTO
author | adminsh@apollo |
---|---|
date | Sat, 19 May 2012 16:21:07 +0100 |
parents | b9d5f934cb21 |
children |
rev | line source |
---|---|
112 | 1 using System.Collections.Generic; |
2 | |
3 namespace SSRS.Services.DTOs | |
4 { | |
5 public class ReportInfo | |
6 { | |
7 public string Name { get; set; } | |
8 public IList<Parameter> Parameters { get; set; } | |
9 public string Path { get; set; } | |
10 | |
11 public ReportInfo() { } | |
12 | |
13 public static ReportInfo Create(string name, IList<Parameter> parameters, string path) | |
14 { | |
15 return new ReportInfo() | |
16 { | |
17 Name = name, | |
18 Parameters = parameters, | |
19 Path = path | |
20 }; | |
21 } | |
22 } | |
23 } |