public virtual void CopyTo(SoftFluent.Samples.AspNetIdentity1.ExternalLoginCollection collection, bool deep) { if ((typeof(System.ICloneable).IsAssignableFrom(typeof(SoftFluent.Samples.AspNetIdentity1.ExternalLogin)) == false)) { deep = false; } System.Collections.Generic.IEnumerator <SoftFluent.Samples.AspNetIdentity1.ExternalLogin> enumerator = this.GetEnumerator(); bool b; for (b = enumerator.MoveNext(); b; b = enumerator.MoveNext()) { if ((deep == true)) { collection.Add(((SoftFluent.Samples.AspNetIdentity1.ExternalLogin)(((System.ICloneable)(enumerator.Current)).Clone()))); } else { collection.Add(enumerator.Current); } } }
public static SoftFluent.Samples.AspNetIdentity1.ExternalLoginCollection PageLoadByUser(int pageIndex, int pageSize, CodeFluent.Runtime.PageOptions pageOptions, SoftFluent.Samples.AspNetIdentity1.User user) { if ((pageIndex < 0)) { pageIndex = 0; } if ((pageSize < 0)) { if ((pageOptions != null)) { pageSize = pageOptions.DefaultPageSize; } else { pageSize = int.MaxValue; } } SoftFluent.Samples.AspNetIdentity1.ExternalLoginCollection ret = new SoftFluent.Samples.AspNetIdentity1.ExternalLoginCollection(); System.Data.IDataReader reader = null; try { reader = SoftFluent.Samples.AspNetIdentity1.ExternalLoginCollection.PageDataLoadByUser(pageOptions, user); if ((reader == null)) { return(ret); } ret.LoadByUser(pageIndex, pageSize, pageOptions, reader, user); } finally { if ((reader != null)) { reader.Dispose(); } CodeFluent.Runtime.CodeFluentPersistence.CompleteCommand(SoftFluent.Samples.AspNetIdentity1.Constants.SoftFluent_Samples_AspNetIdentity1StoreName); } return(ret); }
public static SoftFluent.Samples.AspNetIdentity1.ExternalLoginCollection LoadByUser(SoftFluent.Samples.AspNetIdentity1.User user) { SoftFluent.Samples.AspNetIdentity1.ExternalLoginCollection ret = SoftFluent.Samples.AspNetIdentity1.ExternalLoginCollection.PageLoadByUser(int.MinValue, int.MaxValue, null, user); return(ret); }
public static SoftFluent.Samples.AspNetIdentity1.ExternalLoginCollection LoadAll() { SoftFluent.Samples.AspNetIdentity1.ExternalLoginCollection ret = SoftFluent.Samples.AspNetIdentity1.ExternalLoginCollection.PageLoadAll(int.MinValue, int.MaxValue, null); return(ret); }
public virtual SoftFluent.Samples.AspNetIdentity1.ExternalLoginCollection Clone(bool deep) { SoftFluent.Samples.AspNetIdentity1.ExternalLoginCollection ret = new SoftFluent.Samples.AspNetIdentity1.ExternalLoginCollection(); this.CopyTo(ret, deep); return(ret); }