Beispiel #1
0
        public static OptOutType Build(DataRow row)
        {
            OptOutType ooType = new OptOutType();

            ooType.ProtocolId   = int.Parse(row["ProtocolId"].ToString());
            ooType.ProtocolName = row["ProtocolName"].ToString();

            return(ooType);
        }
Beispiel #2
0
        public static OptOutType Build(ITypeReader reader)
        {
            OptOutType ooType = new OptOutType();

            ooType.ProtocolId   = reader.GetInt("ProtocolId");
            ooType.ProtocolName = reader.GetString("ProtocolName");

            return(ooType);
        }