Returning a new object from within an open DataReader - OK or not?

后端 未结 0 477
清酒与你
清酒与你 2021-01-01 14:00

I saw this code:

public static ConsTypeCategory GetConsCategory(int providerId, int categoryId) {
    const string select =
        @"SELECT CategoryId,          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题