public static BaseReport FromFriendlyName(string friendlyName) { byte[] data = null; //get data //field Select * From ReportStore Where friendlyName = friendlyName //read data into data return(BaseReport.Deserialize(data)); }
public static BaseReport FromBinary(byte[] data) { return(BaseReport.Deserialize(data)); }