# HG changeset patch # User adminsh@apollo # Date 1337440867 -3600 # Node ID 954f66bb8dbf0e8681029ae2ae564dbb3aec0a16 # Parent b9d5f934cb2141fbfcfffaaa8a5ebc9786ef7c54 Portable library added for DTO diff -r b9d5f934cb21 -r 954f66bb8dbf SSRS/SSRS.Services.DTO/Parameter.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SSRS/SSRS.Services.DTO/Parameter.cs Sat May 19 16:21:07 2012 +0100 @@ -0,0 +1,11 @@ +namespace SSRS.Services.DTO +{ + public class Parameter + { + public string[] DefaultValues { get; set; } + public string Name { get; set; } + public bool Nullable { get; set; } + public string ParameterType { get; set; } + public string Value { get; set; } + } +} diff -r b9d5f934cb21 -r 954f66bb8dbf SSRS/SSRS.Services.DTO/ReportExecutionRequest.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SSRS/SSRS.Services.DTO/ReportExecutionRequest.cs Sat May 19 16:21:07 2012 +0100 @@ -0,0 +1,9 @@ +namespace SSRS.Services.DTO +{ + public class ReportExecutionRequest + { + public string Name { get; set; } + public string Format { get; set; } + public Parameter[] Parameters { get; set; } + } +} diff -r b9d5f934cb21 -r 954f66bb8dbf SSRS/SSRS.Services.DTO/ReportExecutionResponse.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SSRS/SSRS.Services.DTO/ReportExecutionResponse.cs Sat May 19 16:21:07 2012 +0100 @@ -0,0 +1,7 @@ +namespace SSRS.Services.DTO +{ + public class ReportExecutionResponse + { + public byte[] Result { get; set; } + } +} \ No newline at end of file diff -r b9d5f934cb21 -r 954f66bb8dbf SSRS/SSRS.Services.DTO/ReportInfo.cs --- /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 Parameters { get; set; } + public string Path { get; set; } + + public ReportInfo() { } + + public static ReportInfo Create(string name, IList parameters, string path) + { + return new ReportInfo() + { + Name = name, + Parameters = parameters, + Path = path + }; + } + } +} diff -r b9d5f934cb21 -r 954f66bb8dbf SSRS/SSRS.Services.DTO/ReportsRequest.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SSRS/SSRS.Services.DTO/ReportsRequest.cs Sat May 19 16:21:07 2012 +0100 @@ -0,0 +1,7 @@ +namespace SSRS.Services.DTO +{ + public class ReportsRequest + { + public bool IncludeParameters { get; set; } + } +} diff -r b9d5f934cb21 -r 954f66bb8dbf SSRS/SSRS.Services.DTO/ReportsResponse.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SSRS/SSRS.Services.DTO/ReportsResponse.cs Sat May 19 16:21:07 2012 +0100 @@ -0,0 +1,9 @@ +using System.Collections.Generic; + +namespace SSRS.Services.DTO +{ + public class ReportsResponse + { + public List Result { get; set; } + } +} diff -r b9d5f934cb21 -r 954f66bb8dbf SSRS/SSRS.Services.DTO/SSRS.Services.DTO.csproj --- a/SSRS/SSRS.Services.DTO/SSRS.Services.DTO.csproj Sat May 19 16:09:07 2012 +0100 +++ b/SSRS/SSRS.Services.DTO/SSRS.Services.DTO.csproj Sat May 19 16:21:07 2012 +0100 @@ -5,7 +5,7 @@ 10.0 Debug AnyCPU - {42B88F74-5B24-4F7A-9409-F9FD30F99C7C} + {29663C66-DB7C-4704-8BF8-52B3BCFABC19} Library Properties SSRS.Services.DTO @@ -14,8 +14,6 @@ Profile3 512 {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - ..\ - true true @@ -35,23 +33,18 @@ 4 + + + + + - - - - - - - - - -