Exemplo n.º 1
0
 public object Clone()
 {
     SqlFindObjectCommand cmd = (SqlFindObjectCommand)this.MemberwiseClone();
     this.m_command = (SqlObjectAccessCommand)m_command.Clone();
     return cmd;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new SqlFindObject Command.
 /// </summary>
 /// <param name="dynamicObjectType">The type of object to populate dynamically.</param>
 public SqlFindObjectCommand(SqlDataStore dataStore, Type dynamicType, string cmdText, bool polymorphic, System.Data.CommandType commandType)
 {
     this.dataStore = dataStore;
     this.m_command = new SqlObjectAccessCommand(dataStore, dynamicType, cmdText, polymorphic, commandType);
 }