Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- abstract class Rapor
- {
- public int RaporId { get; set; }
- public string RaporAdi { get; set; }
- /// <summary>
- /// Method to generate report
- /// </summary>
- /// <param name="em"></param>
- public abstract void RaporOlustur(Employee em);
- // Override edilecek olan metodumuzdur. Bu metod farklı tipte raporlamalar için kullanılacaktır.
- }
- class CrystalReportOlustur : Rapor
- {
- public override void RaporOlustur(Employee em)
- {
- // Crystal Report ile rapor oluştur
- }
- }
- class PDFRaporOlustur : Rapor
- {
- public override void RaporOlustur(Employee em)
- {
- // PDF ile rapor oluştur
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement