Enterprise Library practically required in project? RRS feed

  • Question

  • User-186167190 posted


    Are you using enterprise library in your project.

    Does it really cut down development time?

    Could you explain me with some examples from your understanding.

    Note: I am not expecting website links.


    Tuesday, August 13, 2013 6:10 AM

All replies

  • User-37275327 posted

    Simply Yes,

    Ex: using DAAB, simpler and cleaner

    Database db = DatabaseFactory.CreateDatabase("Your Connection");
    DbCommand dbc = db.GetStoredProcCommand("SP Name);
    db.AddInParameter(dbc, "@papra1", DbType.Int32, Value1);
    db.AddInParameter(dbc, "@para2", DbType.String, Value2);
    return db.ExecuteDataSet(dbc);

    Friday, August 30, 2013 3:05 AM