DbProcedureDeployer (SQL Server Management Objects – SMO)

Hi everyone , i am going to talk about a console application that i coded , in this post.You can do deploy stored procedures between database of the development environments.You can also searching and replaced stored procedures’ contents.I came up with the solution using SQL Server Management Objects (SMO) That is great enterprise tool 😀 You can …

Continue reading ‘DbProcedureDeployer (SQL Server Management Objects – SMO)’ »

Observer Design Pattern in C#

The observer pattern is a Gang of Four design pattern and one of the most interesting patterns in design pattern. this pattern listed under Behavioral Patterns. Definition Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.This pattern suitable push-based notifications. you can watch youtube video related observer …

Continue reading ‘Observer Design Pattern in C#’ »

Strategy Design Pattern (example for payment types)

Hi everyone, We continue to studies about design patterns.I want to illustrate strategy design patern in this post.I implemented a sample scenario related accounting and tranfer operations of payment types for this and coded.Also ı coded  classcic sample scenario(SalaryCalc for different Staffs,PermitDayCalc for different Staff and department) of strategy pattern.you can see this sample via my …

Continue reading ‘Strategy Design Pattern (example for payment types)’ »