title: WCF exposing generic type 'T'
body: <p>I write a WCF service for Insert and delete operation here we used generic method but it gives following error
  "System.Runtime.Serialization.InvalidDataContractException: Type 'T' cannot be exported as a schema type because it is an open generic type. You can only export a generic type if all its generic parameter types are actual types."</p>
  
  <p>here "EntityBase2" is base class for all entities</p>
  
  <pre><code>[ServiceContract]
  [ServiceKnownType(typeof(EntityBase2))]
  public interface IBackupUtility
  {
      [OperationContract]
      void Delete&lt;T&gt;(T entity) where T : EntityBase2;
  
      [OperationContract]
      void InsertORUpdate&lt;T&gt;(T entity) where T : EntityBase2;        
  }
  </code></pre>
  
  <p>Question is how i can expose generic type 'T'?</p>